From c705ae942573984784ef501bf8198f61f5206ddd Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 9 Jul 2026 05:27:10 -0400 Subject: refactor: simplify yaml, remove support for old scalar fields --- internal/game/sys_triggers.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/game/sys_triggers.go') diff --git a/internal/game/sys_triggers.go b/internal/game/sys_triggers.go index 2e8b877..6a1e224 100644 --- a/internal/game/sys_triggers.go +++ b/internal/game/sys_triggers.go @@ -8,7 +8,6 @@ import ( "thehouseoficarus/internal/engine" "thehouseoficarus/internal/net" "thehouseoficarus/internal/player" - "thehouseoficarus/internal/world" ) func (g *Game) TriggerSeqTick() { @@ -150,7 +149,7 @@ func (g *Game) executeGlobalTriggerStep(step *behavior.StepAction, roomID int, f g.applyStepAction(nil, nil, step, roomID, scopeGlobal, flagValue) } -func (g *Game) spawnTriggerMob(sess *net.Session, p *player.Player, cfg *world.SpawnMobConfig, roomID int) { +func (g *Game) spawnTriggerMob(sess *net.Session, p *player.Player, cfg *behavior.SpawnMobConfig, roomID int) { if cfg.ID == "" { return } @@ -166,7 +165,7 @@ func (g *Game) spawnTriggerMob(sess *net.Session, p *player.Player, cfg *world.S sess.WriteLine(g.colorize(sess, "broadcast", mobDisplayName(inst, true)+" appears!")) } -func (g *Game) spawnWorldTriggerMob(cfg *world.SpawnMobConfig, roomID int) { +func (g *Game) spawnWorldTriggerMob(cfg *behavior.SpawnMobConfig, roomID int) { if cfg.ID == "" { return } -- cgit v1.2.3