diff options
-rw-r--r-- | rules.js | 9 | ||||
-rw-r--r-- | rules.ts | 9 |
2 files changed, 12 insertions, 6 deletions
@@ -1487,10 +1487,13 @@ states.move_track = { }, skip() { const node = get_active_node(); - if (node.a.v >= 0) - logi(`${get_track_name(node.a.t)} cannot move +${node.a.v}`); + const track = node.a.t; + if (track === data_1.GOVERNMENT) + logi(`Government +0`); + else if (track === data_1.LIBERTY_OR_COLLECTIVIZATION) + logi("Liberty or Collectivization +0"); else - logi(`${get_track_name(node.a.t)} cannot move ${node.a.v}`); + logi(`${get_track_name(track)} +0`); resolve_active_and_proceed(); }, }; @@ -1802,10 +1802,13 @@ states.move_track = { }, skip() { const node = get_active_node(); - if (node.a.v >= 0) - logi(`${get_track_name(node.a.t)} cannot move +${node.a.v}`); + const track = node.a.t + if (track === GOVERNMENT) + logi(`Government +0`) + else if (track === LIBERTY_OR_COLLECTIVIZATION) + logi("Liberty or Collectivization +0") else - logi(`${get_track_name(node.a.t)} cannot move ${node.a.v}`); + logi(`${get_track_name(track)} +0`) resolve_active_and_proceed(); }, }; |