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

Two houses at the end of a lonely road #54022

Merged
merged 42 commits into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dafb0db
clothes, zones, npcs
bombasticSlacks Jan 3, 2022
93e0a30
turrets added, some basic item lists built
bombasticSlacks Jan 4, 2022
cf6f183
Apply suggestions from code review
bombasticSlacks Jan 4, 2022
e70f0a1
Cody initial trade list
bombasticSlacks Jan 4, 2022
0ffb79a
modified jays house and added spawns
bombasticSlacks Jan 4, 2022
752a84d
lights, decorations, bank set up
bombasticSlacks Jan 4, 2022
3594c09
moved to separate palette, added id reader
bombasticSlacks Jan 4, 2022
2aa6fb0
started on basement
bombasticSlacks Jan 5, 2022
0cd43bc
some progress on moving to 1 floor again
bombasticSlacks Jan 7, 2022
7d4fd6a
Cody first dialogue pass
bombasticSlacks Jan 8, 2022
09356bc
Cody Done
bombasticSlacks Jan 8, 2022
256634c
typo fix
bombasticSlacks Jan 8, 2022
668ada2
gun show complete
bombasticSlacks Jan 8, 2022
eccf3d5
Linting
bombasticSlacks Jan 8, 2022
541ff87
mission definitions complete
bombasticSlacks Jan 9, 2022
bc679fc
Cody has a bigger forge
bombasticSlacks Jan 9, 2022
9026c57
moved the forge
bombasticSlacks Jan 9, 2022
bf2189b
renamed something
bombasticSlacks Jan 9, 2022
c4f0f66
Copy changeup
bombasticSlacks Jan 9, 2022
13167b1
Fixes and linting
bombasticSlacks Jan 9, 2022
6acc041
more lintin
bombasticSlacks Jan 9, 2022
1c642d1
why won't it tell me everything that needs linted
bombasticSlacks Jan 9, 2022
a3e3f53
Update specials.json
bombasticSlacks Jan 9, 2022
5dea5b0
generic guns stuff
bombasticSlacks Jan 9, 2022
62190b1
swapped rifle to KORD fixed some single spaces
bombasticSlacks Jan 9, 2022
9f2ed20
fix secubots sometimes spawning outside, added teamster mission
bombasticSlacks Jan 9, 2022
3069c95
turret deconstruct rules
bombasticSlacks Jan 9, 2022
cfdb9be
replaced references to AK12 in Cody's dialogue
bombasticSlacks Jan 9, 2022
0197118
Apply most suggestions from code review
bombasticSlacks Jan 10, 2022
41641fd
Update data/json/items/gun/545x39.json
bombasticSlacks Jan 10, 2022
da361cb
Apply suggestions from code review
bombasticSlacks Jan 10, 2022
bcfead3
Final suggestions
bombasticSlacks Jan 10, 2022
8d6805a
Update factions.json
bombasticSlacks Jan 10, 2022
4314934
missed an issue with suggestions
bombasticSlacks Jan 10, 2022
d6f240c
Merge branch 'master' of https://github.com/CleverRaven/Cataclysm-DDA…
bombasticSlacks Jan 10, 2022
0f99678
Merge branch 'master' of https://github.com/CleverRaven/Cataclysm-DDA…
bombasticSlacks Jan 11, 2022
4dc3fce
Merge branch 'master' of https://github.com/CleverRaven/Cataclysm-DDA…
bombasticSlacks Jan 11, 2022
f9f6b94
thought name was description
bombasticSlacks Jan 13, 2022
03da419
buggin out
bombasticSlacks Jan 13, 2022
21372de
Single caps since I think gun brands / designations are capitalized
bombasticSlacks Jan 13, 2022
5b760d7
linting
bombasticSlacks Jan 13, 2022
885077b
clean up pointless plural
bombasticSlacks Jan 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions data/json/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@
"type": "json_flag",
"info": "You could probably use this to get into a secure industrial facility."
},
{
"id": "COOP_CARD",
"type": "json_flag",
"info": "Gives you access to the artisans workshop."
},
{
"id": "SKINNED",
"type": "json_flag"
Expand Down
46 changes: 46 additions & 0 deletions data/json/furniture_and_terrain/furniture-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,52 @@
"items": [ { "item": "char_forge", "count": 1 } ]
}
},
{
"type": "furniture",
"id": "f_forge_artisan_0",
"name": "Cody's forge",
"looks_like": "f_fireplace",
"description": "Metalworking station typically used in combination with an anvil. You can see pipes running into the walls.",
"symbol": "^",
"color": "light_red",
"move_cost_mod": -1,
"coverage": 40,
"required_str": -1,
"crafting_pseudo_item": "fake_forge",
"flags": [ "TRANSPARENT", "SEALED", "CONTAINER", "NOITEM", "EASY_DECONSTRUCT" ],
"deconstruct": { "items": [ { "item": "char_forge", "count": 1 } ] },
"examine_action": "reload_furniture",
"bash": {
"str_min": 4,
"str_max": 8,
"sound": "crunch!",
"sound_fail": "whump.",
"items": [ { "item": "char_forge", "count": 1 } ]
}
},
{
"type": "furniture",
"id": "f_forge_artisan_1",
"name": "Cody's forge",
"looks_like": "f_fireplace",
"description": "Metalworking station typically used in combination with an anvil. You can see pipes running into the walls.",
"symbol": "^",
"color": "light_red",
"move_cost_mod": -1,
"coverage": 40,
"required_str": -1,
"crafting_pseudo_item": "fake_forge",
"flags": [ "TRANSPARENT", "SEALED", "CONTAINER", "NOITEM", "EASY_DECONSTRUCT" ],
"deconstruct": { "items": [ { "item": "char_forge", "count": 1 } ] },
"examine_action": "reload_furniture",
"bash": {
"str_min": 4,
"str_max": 8,
"sound": "crunch!",
"sound_fail": "whump.",
"items": [ { "item": "char_forge", "count": 1 } ]
}
},
{
"type": "furniture",
"id": "f_anvil",
Expand Down
27 changes: 27 additions & 0 deletions data/json/furniture_and_terrain/terrain-mechanisms.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,33 @@
"redundant_msg": "The door is already open."
}
},
{
"type": "terrain",
"id": "t_card_artisans",
"name": "card reader",
"description": "This is a smartcard reader. Text written on a post note above reads 'CO-OP MEMBERS ONLY'.",
"//": "for the isolated artisans faction",
"symbol": "6",
"color": "pink",
"move_cost": 0,
"flags": [ "NOITEM", "CONNECT_TO_WALL" ],
"examine_action": {
"type": "cardreader",
"flags": [ "COOP_CARD" ],
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
"query_msg": "Swipe your ID card?",
"success_msg": "You insert your ID card.\n<color_light_green>The nearby doors unlock.</color>",
"redundant_msg": "The nearby doors are already opened."
},
"bash": {
"str_min": 18,
"str_max": 180,
"sound": "crunch!",
"sound_fail": "whack!",
"ter_set": "t_card_reader_broken",
"items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
}
},
{
"type": "terrain",
"id": "t_card_science_maintenance_green",
Expand Down
8 changes: 8 additions & 0 deletions data/json/itemgroups/military.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
"subtype": "collection",
"entries": [ { "item": "esapi_plate", "prob": 50 }, { "item": "esapi_plate", "prob": 50 } ]
},
{
"id": "military_ballistic_vest_light_pristine",
"type": "item_group",
"//": "light ballistic vest plus plates",
"container-item": "ballistic_vest_light",
"subtype": "collection",
"entries": [ { "item": "esapi_plate" }, { "item": "esapi_plate" } ]
},
{
"id": "military_ballistic_vest_heavy",
"type": "item_group",
Expand Down
26 changes: 26 additions & 0 deletions data/json/items/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,20 @@
"to_hit": -3,
"flags": [ "MC_USED" ]
},
{
"type": "TOOL",
"id": "usb_drive_nano",
"symbol": ",",
"color": "white",
"name": { "str": "secured USB drive" },
"description": "A USB thumb drive. Useful for holding software. This one seems like it could get ran over by a truck and be fine.",
"price": 10000,
"price_postapoc": 10,
"material": [ "steel", "plastic" ],
"weight": "55 g",
"volume": "5 ml",
"to_hit": -3
},
{
"type": "GENERIC",
"id": "data_card",
Expand Down Expand Up @@ -3098,6 +3112,18 @@
"weight": "100 kg",
"copy-from": "broken_turret"
},
{
"type": "GENERIC",
"id": "broken_turret_artisans",
"symbol": ",",
"color": "green",
"name": {
"str": "broken M249 autonomous CROWS II. The additional spot welded plating looks warped and destroyed.",
"str_pl": "broken M249 autonomous CROWS II turrets. The additional spot welded plating looks warped and destroyed."
bombasticSlacks marked this conversation as resolved.
Show resolved Hide resolved
},
"weight": "75 kg",
"copy-from": "broken_turret"
},
{
"type": "GENERIC",
"id": "broken_secubot",
Expand Down
43 changes: 42 additions & 1 deletion data/json/items/gun/545x39.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,47 @@
],
"flags": [ "NEVER_JAMS" ],
"weapon_category": [ "AUTOMATIC_RIFLES" ],
"pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "ak74mag", "rpk74mag" ] } ]
"pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "ak74mag", "rpk74mag", "casket74mag" ] } ]
},
{
"id": "kord",
"copy-from": "rifle_auto",
"looks_like": "ar15",
"type": "GUN",
"name": { "str": "KORD 6P67" },
bombasticSlacks marked this conversation as resolved.
Show resolved Hide resolved
"//": "An exceptionally new AK style gun found illicitly as part of a quest.",
"description": "Special forces Russian rifle chambered in 5.45. This version uses standard Picatinny rails, has modern lightweight furniture and a unique complex recoil balance system for high fire rate with minimal recoil. It combines the reliability of the AK series with the high-velocity, lightweight 5.45x39mm cartridge and accepts standard AK-74M magazines.",
"weight": "3250 g",
"volume": "2418 ml",
"longest_side": "96 cm",
"price": 390000,
"price_postapoc": 4000,
"to_hit": -1,
"bashing": 11,
"material": [ "steel", "plastic" ],
"color": "brown",
"ammo": [ "545x39" ],
"dispersion": 120,
"durability": 8,
"min_cycle_recoil": 1260,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "burst", 2 ], [ "AUTO", "auto", 4 ] ],
"barrel_volume": "250 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
[ "bore", 1 ],
[ "brass catcher", 1 ],
[ "grip", 1 ],
[ "mechanism", 4 ],
[ "muzzle", 1 ],
[ "rail", 1 ],
[ "sights", 1 ],
[ "sling", 1 ],
[ "stock", 1 ],
[ "underbarrel", 1 ]
],
"flags": [ "NEVER_JAMS" ],
"weapon_category": [ "AUTOMATIC_RIFLES" ],
"pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "ak74mag", "rpk74mag", "casket74mag" ] } ]
}
]
23 changes: 23 additions & 0 deletions data/json/items/gun/monster_gun.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,29 @@
"dispersion": 150,
"durability": 8
},
{
"id": "firework_cannon",
"type": "GUN",
"symbol": "%",
"color": "red",
"name": { "str": "fireworks cannon" },
"description": "An autoloading fireworks launcher.",
"material": [ "steel" ],
"flags": [ "PRIMITIVE_RANGED_WEAPON", "NEVER_JAMS", "NONCONDUCTIVE", "NO_REPAIR", "WATERPROOF_GUN", "NO_SALVAGE", "NO_UNLOAD" ],
"skill": "launcher",
"ammo_effects": [ "SMOKE", "FLASHBANG" ],
"ranged_damage": { "damage_type": "bash", "amount": 1 },
"weight": "540 g",
"volume": "750 ml",
"longest_side": "25 cm",
"bashing": 2,
"to_hit": 1,
"reload_noise_volume": 2,
"loudness": 50,
"range": 12,
"dispersion": 400,
"durability": 8
},
{
"id": "feral_human_thrown_rock",
"type": "GUN",
Expand Down
20 changes: 20 additions & 0 deletions data/json/items/gunmod/mechanism.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@
"min_skills": [ [ "mechanics", 2 ], [ "rifle", 3 ] ],
"flags": [ "INSTALL_DIFFICULT", "CONSUMABLE" ]
},
{
"id": "bars",
"type": "GUNMOD",
"name": { "str": "balanced recoil system" },
"description": "This is a complex set of parts designed to minimize recoil using a reciprocating counterweight.",
"weight": "60 g",
"volume": "250 ml",
"integral_volume": "0 ml",
"price": 24000,
"price_postapoc": 500,
"material": [ "steel" ],
"symbol": ":",
"color": "red",
"location": "mechanism",
"mod_targets": [ "kord" ],
"install_time": "15 m",
"handling_modifier": 15,
"min_skills": [ [ "mechanics", 2 ], [ "rifle", 3 ] ],
"flags": [ "INSTALL_DIFFICULT", "CONSUMABLE" ]
},
{
"id": "waterproof_gunmod",
"type": "GUNMOD",
Expand Down
17 changes: 17 additions & 0 deletions data/json/items/id_cards.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@
"category": "keys",
"to_hit": -3
},
{
"type": "GENERIC",
"id": "id_artisan_member",
"looks_like": "id_science",
"symbol": ",",
"color": "green",
"name": { "str": "co-op badge" },
"description": "A manually encoded badge giving you access to the artisans workshop. It even has your name written on the back.",
"price": 120000,
"flags": [ "COOP_CARD" ],
"price_postapoc": 100,
"material": [ "plastic" ],
"weight": "6 g",
"volume": "5 ml",
"category": "keys",
"to_hit": -3
},
{
"type": "GENERIC",
"id": "id_science_visitor_1",
Expand Down
18 changes: 18 additions & 0 deletions data/json/items/magazine/545x39.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,23 @@
"reload_time": 130,
"flags": [ "MAG_BULKY" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "545x39": 45 } } ]
},
{
"id": "casket74mag",
"looks_like": "stanag30",
"type": "MAGAZINE",
"name": { "str": "AK-74M 60-round magazine" },
"description": "A 60-round magazine compatible with the AK-74M rifle.",
"weight": "400 g",
"volume": "750 ml",
"price": 8500,
"price_postapoc": 250,
"material": [ "plastic" ],
"symbol": "#",
"color": "light_gray",
"ammo_type": [ "545x39" ],
"reload_time": 130,
"flags": [ "MAG_COMPACT" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "545x39": 60 } } ]
}
]
Loading