diff options
| author | historia <[not public]> | 2026-06-15 00:03:55 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-15 00:03:55 -0400 |
| commit | b6fdde0aa6fcefd735e7c550aaa7fca879023f1c (patch) | |
| tree | 924be72a906522d60512213cdbaba1f55e694bd3 /internal/game/action_use.go | |
| parent | eb37418b933d7bd996658209e867ea3f3e3806ec (diff) | |
| download | thehouseoficarus-b6fdde0aa6fcefd735e7c550aaa7fca879023f1c.tar.gz | |
feat: unicode option, fixed up options and tables
Diffstat (limited to 'internal/game/action_use.go')
| -rw-r--r-- | internal/game/action_use.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/action_use.go b/internal/game/action_use.go index 8987ee0..ec63723 100644 --- a/internal/game/action_use.go +++ b/internal/game/action_use.go @@ -108,7 +108,7 @@ func (g *Game) advanceUse(sess *net.Session, p *player.Player) { itemName = def.Name } line := fmt.Sprintf("You make a %s.", itemName) - if cfg.XP > 0 && p.OptionBool("xpdrops") { + if cfg.XP > 0 && p.OptionBool("xp_drops") { line += fmt.Sprintf(" (+%dxp %s)", cfg.XP, player.SkillAbbr[player.SkillName(cfg.Skill)]) } sess.WriteLine(line) |
