Skip to content

Commit d0a960c

Browse files
Evac flyer (#82445)
* evac flyer * Update books.json * Update trash.json * Update mail.json * Update stashes.json * Update furniture-signs.json
1 parent 4ba83d8 commit d0a960c

File tree

6 files changed

+56
-3
lines changed

6 files changed

+56
-3
lines changed

data/json/furniture_and_terrain/furniture-signs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
{ "item": "2x4", "count": [ 0, 3 ] },
9898
{ "item": "nail", "charges": [ 4, 6 ] },
9999
{ "item": "splinter", "count": [ 1, 4 ] },
100-
{ "item": "paper", "count": [ 1, 4 ] }
100+
{ "item": "flyer_evac", "count": [ 1, 4 ] }
101101
],
102102
"hit_field": [ "fd_dust", 2 ],
103103
"destroyed_field": [ "fd_splinters", 1 ]

data/json/itemgroups/SUS/trash.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
{ "//": "Lore items" },
6565
{ "group": "SUS_book_nonf_zine_news", "prob": 5 },
6666
{ "item": "flyer", "prob": 5 },
67+
{ "item": "flyer_evac", "prob": 10 },
6768
{ "item": "survnote", "prob": 1 }
6869
]
6970
},
@@ -126,7 +127,8 @@
126127
{ "item": "cig_butt", "prob": 20, "count": [ 3, 6 ] },
127128
{ "//": "Lore items" },
128129
{ "group": "SUS_book_nonf_zine_news", "prob": 20 },
129-
{ "item": "flyer", "prob": 20, "count": [ 1, 3 ] }
130+
{ "item": "flyer", "prob": 20, "count": [ 1, 3 ] },
131+
{ "item": "flyer_evac", "prob": 20, "count": [ 1, 3 ] }
130132
]
131133
},
132134
{

data/json/itemgroups/books.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,7 @@
11321132
"entries": [
11331133
{ "group": "missing_poster_all", "prob": 30 },
11341134
{ "item": "flyer", "prob": 70, "count": [ 1, 2 ] },
1135+
{ "item": "flyer_evac", "prob": 70, "count": [ 1, 2 ] },
11351136
{ "item": "buylocalpamphlet", "prob": 15 }
11361137
]
11371138
},

data/json/itemgroups/mail.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
{ "group": "brochures", "prob": 15 },
1313
{ "group": "pamphlets", "prob": 5 },
1414
{ "item": "flyer", "prob": 30, "count": [ 0, 2 ] },
15+
{ "item": "flyer_evac", "prob": 40 },
1516
{ "item": "survnote", "prob": 3 }
1617
]
1718
},

data/json/itemgroups/stashes.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@
401401
{ "group": "jewelry_front", "count": [ 1, 4 ], "prob": 40 },
402402
{ "group": "jewelry_safe", "count": [ 4, 12 ], "prob": 10 },
403403
{ "group": "tampon_box_full", "prob": 20 },
404-
{ "group": "menstrual_pad_box_full", "prob": 20 }
404+
{ "group": "menstrual_pad_box_full", "prob": 20 },
405+
{ "item": "flyer_evac", "prob": 40 }
405406
]
406407
},
407408
{

data/json/items/book/maps.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,5 +518,53 @@
518518
],
519519
"message": "You add roads and local electronic and hardware stores as well as arcades and internet cafes to your map."
520520
}
521+
},
522+
{
523+
"type": "ITEM",
524+
"id": "flyer_evac",
525+
"name": "FEMA evacuation flyer",
526+
"category": "maps",
527+
"symbol": ",",
528+
"color": "white",
529+
"description": "A FEMA-issued flyer as to potential evacuations that'll occur and what to do when it starts. Activate to look for the address of the nearest Refugee Center.",
530+
"price": "0 cent",
531+
"price_postapoc": "0 cent",
532+
"material": [ "paper" ],
533+
"flags": [ "PAPER_SHAPED" ],
534+
"weight": "3 g",
535+
"volume": "5 ml",
536+
"use_action": {
537+
"type": "effect_on_conditions",
538+
"menu_text": "Study the flyer",
539+
"description": "Activate to look for the address of the nearest Refugee Center",
540+
"effect_on_conditions": [
541+
{
542+
"id": "EOC_EVAC_FLYER",
543+
"condition": {
544+
"and": [
545+
"u_can_see",
546+
{
547+
"or": [ { "u_has_flag": "READ_IN_DARKNESS" }, { "math": [ "u_val('fine_detail_vision_mod') <= 4" ] } ]
548+
}
549+
]
550+
},
551+
"effect": {
552+
"if": { "u_has_mission": "MISSION_REACH_REFUGEE_CENTER" },
553+
"then": {
554+
"u_message": "You study the flyer. It shows a similar set of directions to the ones you already have. You cross-reference them and don't learn anything new.",
555+
"popup": true
556+
},
557+
"else": [
558+
{
559+
"u_message": "You study the flyer. One part of the flyer has a map and address for a nearby refugee center alongside minutia you no longer need trouble yourself with now that society has collapsed, like 'operating hours' and 'acceptable forms of ID'. You take careful note of the map and address on the flyer and mark down the coordinates.",
560+
"popup": true
561+
},
562+
{ "assign_mission": "MISSION_REACH_REFUGEE_CENTER" }
563+
]
564+
},
565+
"false_effect": { "u_message": "It's too dark to read." }
566+
}
567+
]
568+
}
521569
}
522570
]

0 commit comments

Comments
 (0)