Skip to content

Commit 0eddb56

Browse files
Guy Fawkes mask audit (#81000)
* initial commit * Update data/json/itemgroups/Clothing_Gear/clothing.json * Update data/json/itemgroups/Clothing_Gear/clothing.json --------- Co-authored-by: Maleclypse <[email protected]>
1 parent 6bf86bb commit 0eddb56

File tree

10 files changed

+22
-32
lines changed

10 files changed

+22
-32
lines changed

data/json/itemgroups/Clothing_Gear/clothing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3822,7 +3822,7 @@
38223822
"items": [
38233823
{ "item": "bondage_mask", "prob": 5 },
38243824
{ "item": "mask_dust", "prob": 15 },
3825-
{ "item": "mask_guy_fawkes", "prob": 1 },
3825+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 1 },
38263826
{ "item": "mask_hockey", "prob": 10 },
38273827
{ "item": "mouthpiece", "prob": 5 },
38283828
{ "item": "mask_filter", "prob": 5, "charges": [ 0, 100 ] },

data/json/itemgroups/Clothing_Gear/costumes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
"subtype": "distribution",
260260
"entries": [
261261
{ "item": "santa_beard", "prob": 20 },
262-
{ "item": "mask_guy_fawkes", "prob": 10 },
262+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 10 },
263263
{ "item": "mask_hockey", "prob": 20 },
264264
{ "item": "bondage_mask", "prob": 5 },
265265
{ "item": "blindfold", "prob": 5 },

data/json/itemgroups/Clothing_Gear/gear_civilian.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
[ "textbook_computer", 8 ],
278278
[ "textbook_anarch", 4 ],
279279
[ "computer_science", 7 ],
280-
[ "mask_guy_fawkes", 5 ],
280+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 5 },
281281
[ "solar_cell", 5 ],
282282
[ "SICP", 3 ],
283283
[ "recipe_serum", 2 ],

data/json/itemgroups/Locations_MapExtras/locations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,7 @@
18601860
{ "prob": 1, "group": "heroin_bag_zipper_1_4" },
18611861
[ "sneakers", 40 ],
18621862
[ "mask_hockey", 5 ],
1863-
[ "mask_guy_fawkes", 5 ],
1863+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 5 },
18641864
[ "scarf_long", 15 ],
18651865
[ "jersey", 20 ],
18661866
[ "coat_lab", 40 ],
@@ -2017,7 +2017,7 @@
20172017
[ "hackerman_computer", 10 ],
20182018
[ "webbasics_computer", 10 ],
20192019
[ "cookbook", 35 ],
2020-
[ "mask_guy_fawkes", 5 ],
2020+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 5 },
20212021
[ "cookbook_italian", 25 ],
20222022
[ "cookbook_mexican", 14 ],
20232023
[ "manual_electronics", 20 ],

data/json/itemgroups/Locations_MapExtras/locations_commercial.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
[ "hat_chef", 5 ],
343343
[ "jacket_chef", 5 ],
344344
{ "item": "smart_lamp", "prob": 5, "charges": [ 0, 100 ] },
345-
[ "mask_guy_fawkes", 5 ],
345+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 5 },
346346
{ "item": "camera", "prob": 10, "charges": [ 0, 150 ] },
347347
{ "item": "geiger_off", "prob": 8, "charges": [ 0, 100 ] },
348348
{ "item": "rad_monitor", "prob": 1, "charges": [ 0, 50 ] },

data/json/itemgroups/Locations_MapExtras/mansion.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@
10721072
[ "heels", 20 ],
10731073
[ "cotton_patchwork", 20 ],
10741074
{ "group": "tinware", "prob": 20 },
1075-
[ "mask_guy_fawkes", 10 ],
1075+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 10 },
10761076
[ "gold_ear", 10 ],
10771077
[ "bone_tainted", 5 ],
10781078
[ "silver_ear", 5 ],

data/json/itemgroups/collections_domestic.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
{ "item": "seed_poppy_bud", "prob": 5 },
482482
{ "item": "rolling_paper", "prob": 5 },
483483
{ "item": "mask_hockey", "prob": 5 },
484-
{ "item": "mask_guy_fawkes", "prob": 5 },
484+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 5 },
485485
{ "item": "hockey_stick", "prob": 10 },
486486
{ "item": "throat_guard_nylon", "prob": 3 },
487487
{ "item": "throat_guard_canvas", "prob": 3 },
@@ -1053,7 +1053,7 @@
10531053
{ "item": "leathersandals", "prob": 25 },
10541054
{ "item": "espadrilles", "prob": 15 },
10551055
{ "item": "survnote", "prob": 2 },
1056-
{ "item": "mask_guy_fawkes", "prob": 5 },
1056+
{ "item": "mask_skull", "variant": "guy_fawkes", "prob": 5 },
10571057
{ "item": "magnifying_glass", "prob": 2 },
10581058
{ "item": "holy_symbol", "prob": 5 },
10591059
{ "item": "pet_carrier", "prob": 3 },

data/json/items/armor/masks.json

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -281,27 +281,6 @@
281281
}
282282
]
283283
},
284-
{
285-
"id": "mask_guy_fawkes",
286-
"type": "ITEM",
287-
"subtypes": [ "ARMOR" ],
288-
"category": "armor",
289-
"name": { "str": "Guy Fawkes mask" },
290-
"description": "Remember, remember, the fifth of November.",
291-
"weight": "45 g",
292-
"volume": "750 ml",
293-
"price": "40 USD",
294-
"price_postapoc": "10 cent",
295-
"material": [ "plastic" ],
296-
"symbol": "[",
297-
"looks_like": "mask_hockey",
298-
"color": "white",
299-
"warmth": 5,
300-
"material_thickness": 0.2,
301-
"environmental_protection": 1,
302-
"flags": [ "WATER_FRIENDLY" ],
303-
"armor": [ { "encumbrance": 10, "coverage": 95, "covers": [ "eyes", "mouth" ] } ]
304-
},
305284
{
306285
"id": "mask_hockey",
307286
"type": "ITEM",
@@ -414,6 +393,11 @@
414393
"description": "It's a plastic mask of a lonely spirit.",
415394
"weight": 15,
416395
"append": true
396+
},
397+
{
398+
"id": "guy_fawkes",
399+
"name": { "str": "Guy Fawkes mask" },
400+
"description": "Remember, remember, the fifth of November."
417401
}
418402
]
419403
},

data/json/obsoletion_and_migration_0.I/migration_items.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,12 @@
25562556
"replace": "balclava",
25572557
"variant": "skull"
25582558
},
2559+
{
2560+
"type": "MIGRATION",
2561+
"id": "mask_guy_fawkes",
2562+
"replace": "mask_skull",
2563+
"variant": "guy_fawkes"
2564+
},
25592565
{
25602566
"type": "MIGRATION",
25612567
"id": "robofac_head_rig_ir",

tests/ranged_balance_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static const itype_id itype_gloves_wraps_fur( "gloves_wraps_fur" );
7171
static const itype_id itype_hk_mp5( "hk_mp5" );
7272
static const itype_id itype_holo_sight( "holo_sight" );
7373
static const itype_id itype_m14ebr( "m14ebr" );
74-
static const itype_id itype_mask_guy_fawkes( "mask_guy_fawkes" );
74+
static const itype_id itype_mask_skull( "mask_skull" );
7575
static const itype_id itype_mossberg_590( "mossberg_590" );
7676
static const itype_id itype_mossberg_930( "mossberg_930" );
7777
static const itype_id itype_mp40semi( "mp40semi" );
@@ -294,7 +294,7 @@ TEST_CASE( "unskilled_shooter_accuracy", "[ranged] [balance] [slow]" )
294294
standard_npc shooter( "Shooter", shooter_pos, {}, 0, 8, 8, 8, 7 );
295295
shooter.set_body();
296296
shooter.worn.wear_item( shooter, item( itype_backpack ), false, false );
297-
equip_shooter( shooter, { itype_bastsandals, itype_armguard_hard, itype_armguard_soft, itype_test_armor_chitin, itype_beekeeping_gloves, itype_mask_guy_fawkes, itype_cowboy_hat } );
297+
equip_shooter( shooter, { itype_bastsandals, itype_armguard_hard, itype_armguard_soft, itype_test_armor_chitin, itype_beekeeping_gloves, itype_mask_skull, itype_cowboy_hat } );
298298
assert_encumbrance( shooter, 10 );
299299

300300
SECTION( "an unskilled shooter with a common pistol" ) {

0 commit comments

Comments
 (0)