Rename item-subsystem methods (refactor step 5, items)

getItem→promptPackItem now returns (obj, ok) instead of a nil-signaling
pointer; invName→inventoryName; doPot→applyPotionFuse. C breadcrumbs
kept. Behavior unchanged; suite green.
This commit is contained in:
2026-07-07 02:31:38 +02:00
parent 0554f5d4f1
commit 6d798c56ed
14 changed files with 57 additions and 56 deletions

View File

@@ -290,7 +290,7 @@ func (g *RogueGame) attack(mp *Monster) int {
removed = true
g.leavePack(steal, false, false)
g.msg("she stole %s!", g.invName(steal, true))
g.msg("she stole %s!", g.inventoryName(steal, true))
}
}
}