forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Aftershock] Add Habitat Block 1 to Exoplanet. Also adds Reinforced G…
…lass Display cases and Electronic Lock doors. (CleverRaven#74174) * Begin implementation. Add Reinforced Display Cases. Add Domestic Robot Itemgroup. Start to Add Habblock palette and mapgen * Fix Robotics Shops spawning broken lab defense bot. Hab Block 1 now spawns in Exoplanet. Complete Core implementation of Hab block 1. Adjust Hacking difficulty on Reinforced Glass Case. Lint Json. * Add more variety to library books * Implement hackable metal doors. Add Hackable to doors Pharmacy, Robotics, and Gunstore mapgen. The Life Support room is now locked by a hackable door. * Implement Slot 1 to Hab Block 1. The resident meal service can now be either a cafe or a dinner. * Add Inactive Linoleum overhead light. Add Lights to Habbitat Block 1 and nested map gen. * Manually linting every file I edited so the tests don't yell at me. Probably * Correct habbitat spelling to habitat * Missed one * I have no excuse only shame. Corrects one more spelling mistake * Fix Gun store not spawning correct shelf * Quick fix to community garden so water tank doesn't go past wall * Correct PIN Pad spelling to appease the spellchecker. * Fix last instance of spelling mistake Co-authored-by: John Candlebury <[email protected]> --------- Co-authored-by: John Candlebury <[email protected]>
- Loading branch information
1 parent
bf2da9d
commit 162c43b
Showing
10 changed files
with
1,262 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
data/mods/Aftershock/maps/furniture_and_terrain/terrain_habitat_doors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"type": "terrain", | ||
"id": "t_afs_door_metal_elocked", | ||
"name": "closed metal door", | ||
"description": "A galvanized steel door, forged to withstand punishment and impede anyone or anything. This one is secured with an electronic lock.", | ||
"symbol": "+", | ||
"looks_like": "t_door_metal_c", | ||
"color": "cyan", | ||
"move_cost": 0, | ||
"coverage": 95, | ||
"roof": "t_metal_roof", | ||
"connect_groups": "WALL", | ||
"connects_to": "WALL", | ||
"flags": [ "NOITEM", "REDUCE_SCENT", "LOCKED", "BLOCK_WIND", "SUPPORTS_ROOF" ], | ||
"oxytorch": { | ||
"result": "t_mdoor_frame", | ||
"duration": "14 seconds", | ||
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ] | ||
}, | ||
"examine_action": { | ||
"type": "effect_on_condition", | ||
"effect_on_conditions": [ | ||
{ | ||
"id": "EOC_unlock_afs_metal_door", | ||
"effect": [ | ||
{ "math": [ "_t_delay", "=", "time('20 m')" ] }, | ||
{ | ||
"run_eoc_with": "EOC_start_lock_hack", | ||
"variables": { "furn_pos": { "context_val": "pos" }, "t_delay": { "context_val": "t_delay" }, "difficulty": "9" }, | ||
"alpha_talker": "avatar" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"bash": { | ||
"str_min": 80, | ||
"str_max": 250, | ||
"sound": "metal screeching!", | ||
"sound_fail": "clang!", | ||
"ter_set": "t_mdoor_frame", | ||
"items": [ | ||
{ "item": "scrap", "count": [ 12, 24 ] }, | ||
{ "item": "steel_plate", "prob": 75 }, | ||
{ "item": "hinge", "count": [ 1, 3 ] } | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.