aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_burn.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-15 00:03:55 -0400
committerhistoria <[not public]>2026-06-15 00:03:55 -0400
commitb6fdde0aa6fcefd735e7c550aaa7fca879023f1c (patch)
tree924be72a906522d60512213cdbaba1f55e694bd3 /internal/game/action_burn.go
parenteb37418b933d7bd996658209e867ea3f3e3806ec (diff)
downloadthehouseoficarus-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.go4
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)