Skip to content

Commit

Permalink
[CR] Create Wall wiring (#60671)
Browse files Browse the repository at this point in the history
* Create Wall wiring

* Removes walls that shouldn't be prewired

Update construction.json
  • Loading branch information
Maleclypse authored Sep 5, 2022
1 parent f8c7ab6 commit 8873158
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
15 changes: 15 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -3808,6 +3808,21 @@
"post_special": "done_wiring",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_wall_wiring_homemade",
"group": "place_wall_wiring",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "20 m",
"qualities": [ { "id": "CUT", "level": 2 } ],
"tools": [ [ [ "pliers", -1 ], [ "multitool", -1 ] ] ],
"components": [ [ [ "cable", 19 ] ], [ [ "duct_tape", 20 ] ] ],
"pre_flags": "WALL",
"pre_special": "check_no_wiring",
"post_special": "done_wiring",
"activity_level": "MODERATE_EXERCISE"
},
{
"type": "construction",
"id": "app_asrg_containment",
Expand Down
5 changes: 5 additions & 0 deletions data/json/construction_group.json
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,11 @@
"id": "reveal_wall_wiring",
"name": "Reveal Wall Wirings"
},
{
"type": "construction_group",
"id": "place_wall_wiring",
"name": "Place Wall Wirings"
},
{
"type": "construction_group",
"id": "place_anvil",
Expand Down
16 changes: 8 additions & 8 deletions data/json/furniture_and_terrain/terrain-walls.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_brick_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"connects_to": "WALL",
"bash": {
"str_min": 60,
Expand All @@ -378,7 +378,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_rock_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"connects_to": "WALL",
"bash": {
"str_min": 80,
Expand Down Expand Up @@ -487,7 +487,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_concrete_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"bash": {
"str_min": 70,
"str_max": 300,
Expand Down Expand Up @@ -529,7 +529,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_metal_flat_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"oxytorch": {
"result": "t_scrap_wall_halfway",
"duration": "14 seconds",
Expand Down Expand Up @@ -581,7 +581,7 @@
"coverage": 100,
"looks_like": "t_wall_metal",
"roof": "t_metal_flat_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"bash": {
"str_min": 200,
"str_max": 600,
Expand All @@ -606,7 +606,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_concrete_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"connects_to": "WALL",
"bash": {
"str_min": 90,
Expand Down Expand Up @@ -649,7 +649,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_concrete_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
"connects_to": "WALL",
"bash": {
"str_min": 120,
Expand Down Expand Up @@ -764,7 +764,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_wood_roof",
"flags": [ "FLAMMABLE", "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "BLOCK_WIND", "WIRED_WALL" ],
"flags": [ "FLAMMABLE", "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "BLOCK_WIND" ],
"connects_to": "WALL",
"bash": {
"str_min": 12,
Expand Down

0 comments on commit 8873158

Please sign in to comment.