Skip to content

Commit ff07260

Browse files
XenoamorJoshua Booth
andauthored
Add standing floodlight appliance (#55047)
* Add standing floodlight appliance * Change standing_floodlight to use copy-from * Fix typo in standing floodlight description * Make standing floodlight appliance non-foldable Co-authored-by: Joshua Booth <[email protected]>
1 parent 9dc9a34 commit ff07260

File tree

5 files changed

+66
-0
lines changed

5 files changed

+66
-0
lines changed

data/json/construction.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,6 +3094,17 @@
30943094
"pre_special": "check_empty",
30953095
"post_special": "done_appliance"
30963096
},
3097+
{
3098+
"type": "construction",
3099+
"id": "app_standing_floodlight",
3100+
"group": "place_standing_floodlight",
3101+
"category": "APPLIANCE",
3102+
"required_skills": [ [ "fabrication", 0 ] ],
3103+
"time": "5 s",
3104+
"components": [ [ [ "standing_floodlight", 1 ] ] ],
3105+
"pre_special": "check_empty",
3106+
"post_special": "done_appliance"
3107+
},
30973108
{
30983109
"type": "construction",
30993110
"id": "app_wall_wiring",

data/json/construction_group.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,11 @@
11091109
"id": "place_standing_lamp",
11101110
"name": "Place Standing Lamp"
11111111
},
1112+
{
1113+
"type": "construction_group",
1114+
"id": "place_standing_floodlight",
1115+
"name": "Place Standing Floodlight"
1116+
},
11121117
{
11131118
"type": "construction_group",
11141119
"id": "reveal_wall_wiring",

data/json/furniture_and_terrain/appliances.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,17 @@
106106
],
107107
"flags": [ "CIRCLE_LIGHT", "APPLIANCE", "ENABLED_DRAINS_EPOWER", "CTRL_ELECTRONIC" ]
108108
},
109+
{
110+
"id": "ap_standing_floodlight",
111+
"type": "vehicle_part",
112+
"name": { "str": "standing floodlight" },
113+
"item": "standing_floodlight",
114+
"location": "structure",
115+
"description": "A very bright, circular light that illuminates the area around it when switched on.",
116+
"flags": [ "CIRCLE_LIGHT", "ENABLED_DRAINS_EPOWER", "APPLIANCE", "CTRL_ELECTRONIC" ],
117+
"folded_volume": "0 L",
118+
"copy-from": "floodlight"
119+
},
109120
{
110121
"id": "ap_wall_wiring",
111122
"type": "vehicle_part",

data/json/items/appliances.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@
7272
"symbol": "L",
7373
"color": "white"
7474
},
75+
{
76+
"type": "GENERIC",
77+
"id": "standing_floodlight",
78+
"name": { "str": "standing floodlight" },
79+
"description": "A large and heavy light designed to illuminate wide areas once plugged into a power outlet.",
80+
"weight": "2750 g",
81+
"to_hit": -1,
82+
"material": [ "plastic", "steel" ],
83+
"volume": "2 L",
84+
"longest_side": "170 cm",
85+
"bashing": 5,
86+
"price": 90000,
87+
"price_postapoc": 500,
88+
"symbol": "F",
89+
"color": "white"
90+
},
7591
{
7692
"type": "GENERIC",
7793
"id": "wall_wiring",

data/json/recipes/recipe_appliance.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,28 @@
4747
[ [ "pipe_fittings", 1 ] ],
4848
[ [ "pipe", 2 ] ]
4949
]
50+
},
51+
{
52+
"result": "standing_floodlight",
53+
"type": "recipe",
54+
"activity_level": "LIGHT_EXERCISE",
55+
"reversible": true,
56+
"skill_used": "electronics",
57+
"difficulty": 1,
58+
"time": "10 m",
59+
"autolearn": [ [ "electronics", 1 ] ],
60+
"category": "CC_APPLIANCE",
61+
"subcategory": "CSC_APPLIANCE_LIGHTING",
62+
"skills_required": [ [ "fabrication", 1 ] ],
63+
"using": [ [ "soldering_standard", 5 ] ],
64+
"qualities": [ { "id": "SCREW", "level": 1 } ],
65+
"components": [
66+
[ [ "cable", 2 ] ],
67+
[ [ "amplifier", 1 ] ],
68+
[ [ "floodlight", 1 ] ],
69+
[ [ "steel_lump", 1 ] ],
70+
[ [ "pipe_fittings", 1 ] ],
71+
[ [ "pipe", 2 ] ]
72+
]
5073
}
5174
]

0 commit comments

Comments
 (0)