Skip to content

Commit

Permalink
Added wind turbine appliances (CleverRaven#58370)
Browse files Browse the repository at this point in the history
* Added wind turbine appliances

* trigger tests

* trigger tests

* Update data/json/construction.json

Co-authored-by: Fris0uman <[email protected]>

* Update data/json/construction.json

Co-authored-by: Fris0uman <[email protected]>

* Update data/json/construction.json

Co-authored-by: anothersimulacrum <[email protected]>

* Update data/json/construction.json

Co-authored-by: anothersimulacrum <[email protected]>

Co-authored-by: Fris0uman <[email protected]>
Co-authored-by: anothersimulacrum <[email protected]>
  • Loading branch information
3 people authored and alef committed Aug 5, 2022
1 parent 777f8dd commit 7f28b92
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
26 changes: 26 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -3544,6 +3544,32 @@
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_wind_turbine",
"group": "place_wind_turbine",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 1 ] ],
"time": "30 m",
"qualities": [ [ { "id": "WRENCH", "level": 2 } ] ],
"components": [ [ [ "wind_turbine", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "MODERATE_EXERCISE"
},
{
"type": "construction",
"id": "app_xl_wind_turbine",
"group": "place_xl_wind_turbine",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 1 ] ],
"time": "30 m",
"qualities": [ [ { "id": "WRENCH", "level": 2 } ] ],
"components": [ [ [ "xl_wind_turbine", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "MODERATE_EXERCISE"
},
{
"type": "construction",
"id": "app_heater_large",
Expand Down
10 changes: 10 additions & 0 deletions data/json/construction_group.json
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,16 @@
"id": "place_reinforced_solar_panel_v2",
"name": "Place Upgraded Reinforced Solar Panel"
},
{
"type": "construction_group",
"id": "place_wind_turbine",
"name": "Place Wind Turbine"
},
{
"type": "construction_group",
"id": "place_xl_wind_turbine",
"name": "Place Large Wind Turbine"
},
{
"type": "construction_group",
"id": "place_small_battery",
Expand Down
24 changes: 24 additions & 0 deletions data/json/furniture_and_terrain/appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,30 @@
"copy-from": "reinforced_solar_panel_v2",
"requirements": { "removal": { "time": "3 m", "using": [ [ "vehicle_wrench_2", 1 ] ] } }
},
{
"type": "vehicle_part",
"id": "ap_wind_turbine",
"name": { "str": "wind turbine" },
"symbol": "T",
"location": "structure",
"color": "yellow",
"flags": [ "WIND_TURBINE", "OBSTACLE", "APPLIANCE" ],
"description": "A mounted wind turbine, ready to power other appliances.",
"copy-from": "wind_turbine",
"requirements": { "removal": { "time": "15 m", "using": [ [ "vehicle_wrench_2", 1 ] ] } }
},
{
"type": "vehicle_part",
"id": "ap_xl_wind_turbine",
"name": { "str": "large wind turbine" },
"symbol": "Y",
"location": "structure",
"color": "yellow",
"flags": [ "WIND_TURBINE", "OBSTACLE", "APPLIANCE" ],
"description": "A mounted large wind turbine, ready to power other appliances.",
"copy-from": "xl_wind_turbine",
"requirements": { "removal": { "time": "15 m", "using": [ [ "vehicle_wrench_2", 1 ] ] } }
},
{
"type": "vehicle_part",
"id": "ap_battery_small",
Expand Down

0 comments on commit 7f28b92

Please sign in to comment.