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_burn.go | |
| parent | eb37418b933d7bd996658209e867ea3f3e3806ec (diff) | |
| download | thehouseoficarus-b6fdde0aa6fcefd735e7c550aaa7fca879023f1c.tar.gz | |
feat: unicode option, fixed up options and tables
Diffstat (limited to 'internal/game/action_burn.go')
| -rw-r--r-- | internal/game/action_burn.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/action_burn.go b/internal/game/action_burn.go index 917a6fe..b16ba42 100644 --- a/internal/game/action_burn.go +++ b/internal/game/action_burn.go @@ -225,7 +225,7 @@ func (g *Game) advanceBurn(sess *net.Session, p *player.Player) { g.CancelAction(p) msg := fmt.Sprintf("You manage to get a fire going!") - if xp > 0 && p.OptionBool("xpdrops") { + if xp > 0 && p.OptionBool("xp_drops") { msg += fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.Firemaking]) } sess.WriteLine(msg) @@ -282,7 +282,7 @@ func (g *Game) advanceStoke(sess *net.Session, p *player.Player) { g.AccountStore.SaveCharacter(p) msg := fmt.Sprintf("You throw %s onto the fire.", name) - if xp > 0 && p.OptionBool("xpdrops") { + if xp > 0 && p.OptionBool("xp_drops") { msg += fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.Firemaking]) } sess.WriteLine(msg) |
