From 4e2ea2466ec6e91c3f5af8f44b8dec4821c6c615 Mon Sep 17 00:00:00 2001 From: joesinghaus Date: Wed, 21 Feb 2018 09:53:23 +0100 Subject: [PATCH] Scum & Villainy: Revert item_0 changes --- Scum - Villainy/scum.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Scum - Villainy/scum.html b/Scum - Villainy/scum.html index d03a95131f..adb4490f27 100644 --- a/Scum - Villainy/scum.html +++ b/Scum - Villainy/scum.html @@ -111,7 +111,7 @@ Number of stress boxes
Show an extra trauma box
Show an extra xp condition
-
Show special item with optional second box
+
Show special item with optional second box
Show another special armor checkbox
Resistance bonus: @@ -430,14 +430,14 @@
- +
- +
- - + +
- +
@@ -1834,9 +1834,9 @@ ability0_name: 'Serendipitous', ability0_description: 'Your crew starts with +1 gambit when the pool resets.', friend_adjective: '"Friends"', - item0_name: 'Fine Sidearm (or Pair)', + item_0_name: 'Fine Sidearm (or Pair)', playbook_description: 'scrappy survivor\nwith more luck \nthan brains', - setting_showitem0: '1', + setting_showitem_0: '1', skulk: '1', sway: '2', xp_condition: 'You addressed a tough challenge with charm or audacity.' @@ -2256,7 +2256,7 @@ 'repeating_upgrade:name', 'ability0_name', 'ability0_description', - 'item0_name', + 'item_0_name', 'heritage', 'background', 'vice_purveyor', @@ -2389,7 +2389,7 @@ }); }); /* Left-filling checkboxes */ - ['repeating_playbookitem:check', 'repeating_item:check', 'item0_check', 'upgrade_5_check', + ['repeating_playbookitem:check', 'repeating_item:check', 'item_0_check', 'upgrade_5_check', 'item_3_check', 'item_7_check', 'item_12_check', 'item_13_check'].forEach(name => handleBoxesFill(name)); handleBoxesFill('repeating_upgrade:check', true); /* Resistance query */ @@ -2470,12 +2470,12 @@ // Fix defective old attribute names if (v.sys1_mod_3check === 'on') setting.sys1_mod_3_check = '1'; if (v.sys3_mod_3check === 'on') setting.sys3_mod_3_check = '1'; - // Manage old item3, new item0 + // Manage old item3, new item_0 if (v[`item_3_desc`]) { - setting.item0_name = v[`item_3_desc`]; - setting.showitem0 = '1'; - if (v[`item_3_check`] === 'on') setting.item0_check1 = '1'; - if (v[`item_3_check_b`] === 'on') setting.item0_check2 = '1'; + setting.item_0_name = v[`item_3_desc`]; + setting.showitem_0 = '1'; + if (v[`item_3_check`] === 'on') setting.item_0_check1 = '1'; + if (v[`item_3_check_b`] === 'on') setting.item_0_check2 = '1'; } // put old data into repeating sections const playbookitemData = [1,2, ...[...Array(14).keys()].map(x => x+4)].reduce((m, num) => {