Skip to content

Commit

Permalink
Welding kit appliance (#60449)
Browse files Browse the repository at this point in the history
* Adds welding kit appliance

* Update appliances.json

* Update workshop.json

* Update appliances.json

* Add vehicle rig

* Update rigs.json

* Update appliances.json

* Update appliances.json

* Update construction_group.json
  • Loading branch information
Drew4484 authored Aug 29, 2022
1 parent 7b20abc commit b5e0cb5
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
11 changes: 11 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -3337,6 +3337,17 @@
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_welding_kit",
"group": "place_weldkit",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "welding_kit", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_water_purifier",
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 @@ -1179,6 +1179,11 @@
"id": "place_weldrig",
"name": "Place Welding Rig"
},
{
"type": "construction_group",
"id": "place_weldkit",
"name": "Place Welding Kit"
},
{
"type": "construction_group",
"id": "place_arcade_machine",
Expand Down
9 changes: 9 additions & 0 deletions data/json/furniture_and_terrain/appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,15 @@
"flags": [ "CARGO", "OBSTACLE", "APPLIANCE" ],
"copy-from": "welding_rig"
},
{
"type": "vehicle_part",
"id": "ap_weldkit",
"name": { "str": "welding kit rig" },
"description": "A welding rig combined with a fireproof insulating blanket allows for advanced welds and repairs to tempered steels that draws power from the vehicle's batteries. You still need glare protection. 'e'xamine the tile with the rig to use it to repair items in your inventory. If you attempt to craft an item or perform a repair that requires a welder, you will be given the option of using the welding rig.",
"item": "welding_kit",
"flags": [ "CARGO", "OBSTACLE", "APPLIANCE" ],
"copy-from": "welding_rig"
},
{
"type": "vehicle_part",
"id": "ap_kiln",
Expand Down
8 changes: 2 additions & 6 deletions data/json/items/tool/workshop.json
Original file line number Diff line number Diff line change
Expand Up @@ -1263,12 +1263,10 @@
"mc_steel",
"hc_steel",
"ch_steel",
"qt_steel",
"lc_steel_chain",
"mc_steel_chain",
"hc_steel_chain",
"ch_steel_chain",
"qt_steel_chain",
"aluminum",
"copper",
"bronze",
Expand Down Expand Up @@ -1395,12 +1393,10 @@
"mc_steel",
"hc_steel",
"ch_steel",
"qt_steel",
"lc_steel_chain",
"mc_steel_chain",
"hc_steel_chain",
"ch_steel_chain",
"qt_steel_chain"
"ch_steel_chain"
],
"skill": "fabrication",
"tool_quality": 5,
Expand All @@ -1422,7 +1418,7 @@
"id": "welding_kit",
"type": "TOOL",
"name": { "str": "welding kit" },
"description": "An welder combined with a fireproof insulating blanket allows for advanced welds and repairs to tempered steels.",
"description": "A welder combined with a fireproof insulating blanket allows for advanced welds and repairs to tempered steels.",
"weight": "10500 g",
"volume": "12500 ml",
"price": 9000,
Expand Down
7 changes: 7 additions & 0 deletions data/json/items/vehicle/rigs.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,12 @@
"type": "GENERIC",
"name": { "str": "vehicle welding rig" },
"description": "A welding rig made to run off a vehicle's storage battery. It has a soldering iron attachment for delicate work, and a compartment to store your extra tools in."
},
{
"id": "weldkit",
"copy-from": "vehicle_rig",
"type": "GENERIC",
"name": { "str": "vehicle welding kit" },
"description": "A welder combined with a fireproof insulating blanket allows for advanced welds and repairs to tempered steels."
}
]

0 comments on commit b5e0cb5

Please sign in to comment.