diff options
| author | historia <[not public]> | 2026-06-20 03:51:23 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-20 03:51:23 -0400 |
| commit | dde563e6810124a73de5ef12e92774c540f9d62e (patch) | |
| tree | 68505a06c194d9b01b00e9d9672064b9b4b75156 /internal/game/action_talk.go | |
| parent | e4400c5f1e84c18d2126f2cb502ae10685977cbb (diff) | |
| download | thehouseoficarus-dde563e6810124a73de5ef12e92774c540f9d62e.tar.gz | |
feat: aps system implemented
Diffstat (limited to 'internal/game/action_talk.go')
| -rw-r--r-- | internal/game/action_talk.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/action_talk.go b/internal/game/action_talk.go index 2f463c7..787ce3e 100644 --- a/internal/game/action_talk.go +++ b/internal/game/action_talk.go @@ -2,6 +2,7 @@ package game import ( "fmt" + "strconv" "strings" "thehouseoficarus/internal/action" @@ -268,4 +269,7 @@ func (g *Game) applyNodeAction(sess *net.Session, na *action.NodeAction) { if na.Sawmill { g.processSawmill(sess, p) } + if na.ApsNode { + setPlayerFlag(p, "aps_node_"+strconv.Itoa(p.RoomID), true) + } } |
