Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Militia Community #73053

Merged
merged 10 commits into from
May 19, 2024
291 changes: 291 additions & 0 deletions data/json/mapgen/militia/GM_LODGE.json

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions data/json/mapgen/militia/GM_LODGE_PALETTE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
[
{
"type": "palette",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"id": "GMLODGEPALETTE",
"terrain": {
"_": "t_region_groundcover_barren",
"%": "t_fence_barbed",
".": "t_floor",
"+": "t_door_c",
"-": "t_wall_w",
";": "t_dirtfloor",
"B": "t_floor",
"C": [
"t_region_groundcover",
[ "t_grass_long", 1 ],
[ "t_grass_tall", 1 ],
[ "t_region_groundcover", 30 ],
[ "t_region_tree", 1 ]
],
",": [ "t_region_groundcover", [ "t_grass_long", 1 ], [ "t_grass_tall", 1 ], [ "t_region_groundcover", 30 ] ],
"D": "t_floor",
"E": "t_floor",
"G": "t_palisade_gate",
"H": "t_splitrail_fence_h",
"L": "t_floor",
"O": "t_floor",
"S": "t_floor",
"T": "t_tree",
"V": "t_splitrail_fence_v",
"W": "t_wall_wood",
"X": "t_region_groundcover",
"Y": "t_floor",
"Z": "t_floor",
"b": "t_region_groundcover_barren",
"c": "t_floor",
"d": "t_floor",
"f": "t_floor",
"h": "t_floor",
"k": "t_floor",
"n": "t_floor",
"o": "t_carpet_red",
"r": "t_floor",
"s": "t_sidewalk",
"t": "t_floor",
"v": "t_window_domestic",
"w": "t_window_boarded",
"x": "t_region_groundcover",
"y": "t_palisade",
"z": "t_floor",
"|": "t_wall_w",
"~": "t_water_sh",
"Δ": "t_floor",
"@": "t_floor",
"#": "t_floor",
"Ŧ": "t_floor",
"*": "t_floor",
"`": "t_floor",
"1": "t_floor",
"2": "t_floor",
"3": "t_floor",
"4": "t_floor",
"5": "t_floor",
"6": "t_floor",
"7": "t_floor",
"<": "t_wood_stairs_up",
">": "t_wood_stairs_down",
"F": "t_region_groundcover",
"M": "t_region_groundcover",
"?": "t_region_groundcover_barren",
"!": "t_floor",
"(": "t_region_groundcover",
")": "t_region_groundcover"
},
"furniture": {
"B": "f_bathtub",
"D": "f_trashcan",
"E": "f_bookcase",
"L": "f_locker",
"O": "f_oven",
"S": "f_sink",
"Y": "f_sofa",
"Z": "f_crate_o",
"c": "f_counter",
"d": "f_dresser",
"f": "f_fridge",
"h": "f_chair",
"k": "f_desk",
"n": "f_table",
"r": "f_rack",
"t": "f_toilet",
"z": "f_crate_c",
"1": "f_bigmirror",
"2": "f_floor_lamp",
"3": "f_arcade_machine",
"4": "f_piano",
"5": "f_entertainment_center",
"6": "f_displaycase",
"7": "f_stool",
"8": "f_canvas_wall",
"9": "f_center_groundsheet",
"F": "f_firering",
"M": "f_butcher_rack",
"?": "f_camp_chair",
"`": "f_indoor_plant",
"@": "f_bed",
"‡": "f_woodstove",
"Ŧ": "f_sink",
"#": "f_cupboard",
"Δ": "f_armchair",
"Ʌ": "f_wardrobe",
"^": "f_dryer",
"&": "f_washer",
"*": "f_dishwasher",
"(": "f_rotary_clothesline",
")": "f_sandbag_half",
"!": "f_pool_table"
},
"items": {
"d": [
{ "item": "SUS_dresser_mens", "chance": 50, "repeat": [ 1, 2 ] },
{ "item": "SUS_dresser_womens", "chance": 50, "repeat": [ 1, 2 ] }
],
"!": { "item": "pool_table", "chance": 30, "repeat": [ 1, 2 ] },
"#": [
{ "item": "dishes_dining", "chance": 30 },
{ "item": "tea_dishes", "chance": 10, "repeat": [ 1, 2 ] },
{ "item": "baked_goods", "chance": 5 },
{ "item": "groce_condiment", "chance": 10, "repeat": [ 1, 2 ] },
{ "item": "dining", "chance": 10 }
],
"5": [
{ "item": "consumer_electronics", "chance": 10, "repeat": [ 1, 3 ] },
{ "item": "livingroom", "chance": 10, "repeat": [ 1, 3 ] }
],
"f": { "item": "SUS_fridge", "chance": 100 },
"r": [
{ "item": "tools_home", "chance": 40 },
{ "item": "cleaning", "chance": 30, "repeat": [ 1, 2 ] },
{ "item": "mechanics", "chance": 1, "repeat": [ 1, 2 ] },
{ "item": "camping", "chance": 10 },
{ "item": "tools_survival", "chance": 5, "repeat": [ 1, 2 ] }
],
"6": { "item": "home_display_case", "chance": 100 },
"L": [
{ "item": "tools_common", "chance": 20, "repeat": [ 1, 2 ] },
{ "item": "hardware", "chance": 30, "repeat": [ 1, 2 ] },
{ "item": "cleaning", "chance": 10, "repeat": [ 1, 2 ] }
],
"E": [ { "item": "homebooks", "chance": 40, "repeat": [ 1, 4 ] }, { "item": "games", "chance": 20, "repeat": [ 1, 2 ] } ],
"@": { "item": "bed", "chance": 50 },
"Z": [ { "item": "SUS_pantry", "chance": 55 }, { "item": "cannedfood", "chance": 80, "repeat": [ 3, 5 ] } ]
}
}
]
19 changes: 19 additions & 0 deletions data/json/npcs/factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -989,5 +989,24 @@
{ "power_min": 150, "id": "epilogue_faction_the_great_library_150" }
],
"description": "A group of academics and other survivors that stand together to preserve and spread knowledge of the world."
},
{
"type": "faction",
"id": "GM_militia_faction",
"name": "Grey Moose Militia Community",
"likes_u": 0,
"respects_u": 0,
"known_by_u": false,
"size": 3,
"power": 3,
"fac_food_supply": { "calories": 115200, "vitamins": { } },
"wealth": 20000,
"relations": {
"free_merchants": { "knows your voice": true },
"old_guard": { "knows your voice": true },
"your_followers": { "knows your voice": true },
"no_faction": { "knows your voice": true }
},
"description": "A small community of survivors who retreated to a remote lodge."
}
]
60 changes: 60 additions & 0 deletions data/json/npcs/militia/GM_Militia_Guard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"type": "npc",
"id": "MILITIA_GUARD1",
"//": "A member of the Gray Moose Lodge, trying to safe in their isolated location",
"class": "MILITIA_GUARD1",
"attitude": 7,
"name_suffix": "Militia Guard",
"mission": 8,
"chat": "TALK_MILITIA_Guard1",
"faction": "GM_militia_faction"
},
{
"type": "npc_class",
"id": "MILITIA_GUARD1",
"name": { "str": "Guard" },
"job_description": "I'm a local guard.",
"traits": [ { "group": "NPC_starting_traits" }, { "group": "Appearance_demographics" } ],
"common": false,
"bonus_int": { "one_in": 4 },
"bonus_per": { "one_in": 4 },
"skills": [
{
"skill": "ALL",
"level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "constant": -2 }, { "one_in": 4 } ] } ] }
},
{ "skill": "mechanics", "bonus": { "one_in": 2 } },
{ "skill": "electronics", "bonus": { "rng": [ 0, 2 ] } },
{ "skill": "speech", "bonus": { "rng": [ 3, 5 ] } }
]
},
{
"type": "talk_topic",
"id": "TALK_MILITIA_Guard1",
"dynamic_line": {
"u_has_var": "talked_to_LODGEMAIN",
"type": "dialogue",
"context": "first_meeting",
"value": "yes",
"yes": "Hello again.",
"no": "I'm busy on watch duty. Talk to the Boss inside."
},
"responses": [
{ "text": "What are you doing?", "topic": "TALK_MILITIA_GUARD1_Introduction" },
{ "text": "Well I've got to go.", "topic": "TALK_MILITIA_GUARD1_BYE" }
]
},
{
"type": "talk_topic",
"id": "TALK_MILITIA_GUARD1_Introduction",
"dynamic_line": "I'm on watch duty. Talk to the Boss. He's inside.",
"responses": [ { "text": "…", "topic": "TALK_NONE" } ]
},
{
"type": "talk_topic",
"id": "TALK_MILITIA_GUARD1_BYE",
"dynamic_line": "Stay safe out there. Hate to have to kill you after you've already died.",
"responses": [ { "text": "…", "topic": "TALK_DONE" } ]
}
]
Loading
Loading