diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-03-22 17:29:44 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-23 00:13:22 +0100 |
commit | 954c9c0690a64a8ed172a5b10cb8a4b5a32293fe (patch) | |
tree | 4c23e436b7c7277db9d4661cbeaa9022e62be6e9 /rules.ts | |
parent | 3207789c844dd48f4647e8fa7693d35d6559927e (diff) | |
download | land-and-freedom-954c9c0690a64a8ed172a5b10cb8a4b5a32293fe.tar.gz |
Log claimed medallions with magic strings.
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -105,7 +105,7 @@ const bonus_names: string[] = ['Morale Bonus', 'Teamwork Bonus']; const { cards, - medallions, + // medallions, // fronts, tracks, } = data; @@ -1399,10 +1399,10 @@ function setup_momentum() { } states.choose_medallion = { - inactive: 'earn a medallion', + inactive: 'claim a medallion', prompt() { gen_spend_hero_points(); - view.prompt = 'Earn a Medallion.'; + view.prompt = 'Claim a Medallion.'; for (let m of game.medallions[POOL_ID]) { if (m !== null) gen_action_medallion(m); @@ -1416,9 +1416,8 @@ states.choose_medallion = { }, medallion(m: number) { const faction = get_active_faction(); - const medallion = medallions[m]; - logp(`earned ${medallion.name}`); + logp("claimed M" + m) const index = game.medallions[POOL_ID].indexOf(m); |