From 954c9c0690a64a8ed172a5b10cb8a4b5a32293fe Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 22 Mar 2025 17:29:44 +0100 Subject: Log claimed medallions with magic strings. --- rules.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'rules.ts') diff --git a/rules.ts b/rules.ts index e5fa8bd..840a412 100644 --- a/rules.ts +++ b/rules.ts @@ -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); -- cgit v1.2.3