-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blazemod Mini-PR: Modernise glowie and blob lights (#39681)
* regenerate glowie Rather than just add the new one, I've placed the old glowie here for future context as I missed it during the refactor. * update glowie New version of glowie which is no longer a battery, as this translates poorly into other car parts such as lights with vehicle code in its current iteration. Plans to make different battery item/part for blob later. * modernised and rename `gel_lamp` Gives blob vehicles access to blob versions of each different kind of vehicle light, while also using modern json conventions to reduce the amount of bloat and make additions and reading easier.
- Loading branch information
1 parent
ddc8a96
commit 7c4f966
Showing
2 changed files
with
85 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"id": "glowie", | ||
"type": "GENERIC", | ||
"category": "veh_parts", | ||
"name": "gelectrode", | ||
"//": "No Snake, eating it will not refill your batteries.", | ||
"description": "A strange biological anomaly, this blob seems capable of emitting light when electricity is provided to it, from small lamps up to headlights. Unfortunately there is no place to insert a battery, so you'll have to hook it up to a vehicle's power grid. It seems pliable enough to pull apart…", | ||
"weight": "5132 g", | ||
"volume": "5 L", | ||
"price": 500, | ||
"to_hit": -3, | ||
"bashing": 9, | ||
"material": [ "flesh" ], | ||
"symbol": "]", | ||
"color": "cyan" | ||
} | ||
] |
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 |
---|---|---|
@@ -1,28 +1,80 @@ | ||
[ | ||
{ | ||
"id": "gel_lamp", | ||
"abstract": "blob_light", | ||
"type": "vehicle_part", | ||
"name": "gel lamp", | ||
"symbol": "*", | ||
"broken_symbol": "*", | ||
"item": "glowie", | ||
"fuel_type": "battery", | ||
"symbol": "#", | ||
"broken_symbol": "x", | ||
"color": "cyan", | ||
"broken_color": "cyan", | ||
"broken_color": "blue", | ||
"durability": 200, | ||
"epower": 0, | ||
"bonus": 200, | ||
"damage_modifier": 10, | ||
"folded_volume": 1, | ||
"folded_volume": "1000 ml", | ||
"breaks_into": [ { "item": "glowiegrow" } ], | ||
"description": "A living, glowing blob. It produces a bright light that illuminates a narrow cone outside the vehicle when turned on. During installation, you can choose what direction to point the light, so multiple gel lamps can illuminate the sides or rear, as well as the front.", | ||
"requirements": { "repair": { "time": "5 m", "using": [ [ "blobrep", 1 ] ] } }, | ||
"flags": [ "CONE_LIGHT", "FOLDABLE" ] | ||
"description": "A living, glowing blob. Having been filled with electrical power, can release it as light of varying strength.", | ||
"requirements": { | ||
"install": { "skills": [ [ "mechanics", 1 ] ], "time": "20 m" }, | ||
"removal": { "skills": [ [ "mechanics", 1 ] ], "time": "10 m" }, | ||
"repair": { "skills": [ [ "mechanics", 1 ] ], "time": "5 m", "using": [ [ "blobrep", 1 ] ] } | ||
}, | ||
"flags": [ "ENABLED_DRAINS_EPOWER", "FOLDABLE" ] | ||
}, | ||
{ | ||
"id": "blob_aisle_lights", | ||
"type": "vehicle_part", | ||
"copy-from": "blob_light", | ||
"name": "gel aisle lights", | ||
"location": "on_ceiling", | ||
"//": "essentially an 800lm 10W LED flashlight", | ||
"epower": -10, | ||
"bonus": 30, | ||
"folded_volume": 2, | ||
"extend": { "flags": [ "AISLE_LIGHT" ] } | ||
}, | ||
{ | ||
"id": "blob_floodlight", | ||
"type": "vehicle_part", | ||
"copy-from": "blob_light", | ||
"name": "gel floodlight", | ||
"location": "on_roof", | ||
"description": "A very bright, circular light that illuminates the area outside the vehicle when turned on.", | ||
"epower": -200, | ||
"bonus": 8000, | ||
"folded_volume": 8, | ||
"extend": { "flags": [ "CIRCLE_LIGHT" ] } | ||
}, | ||
{ | ||
"id": "blob_directed_floodlight", | ||
"type": "vehicle_part", | ||
"name": "gel directed floodlight", | ||
"copy-from": "blob_floodlight", | ||
"looks_like": "blob_floodlight", | ||
"description": "A very bright, directed light that illuminates a half-circular area outside the vehicle when turned on. During installation, you can choose what direction to point the light.", | ||
"//": "8000lm 100W LED floodlight", | ||
"epower": -100, | ||
"extend": { "flags": [ "HALF_CIRCLE_LIGHT" ] }, | ||
"delete": { "flags": [ "CIRCLE_LIGHT" ] } | ||
}, | ||
{ | ||
"id": "blob_headlight", | ||
"type": "vehicle_part", | ||
"copy-from": "blob_light", | ||
"name": "gel headlight", | ||
"description": "A bright light that illuminates a narrow cone outside the vehicle when turned on. During installation, you can choose what direction to point the light, so multiple headlights can illuminate the sides or rear, as well as the front.", | ||
"epower": -100, | ||
"bonus": 8000, | ||
"folded_volume": 1, | ||
"extend": { "flags": [ "CONE_LIGHT" ] } | ||
}, | ||
{ | ||
"id": "gel_lamp_d", | ||
"id": "blob_wide_headlight", | ||
"type": "vehicle_part", | ||
"copy-from": "gel_lamp", | ||
"name": "directed gel lamp" | ||
"copy-from": "blob_headlight", | ||
"name": "gel wide angle headlight", | ||
"looks_like": "blob_headlight", | ||
"description": "A bright light that illuminates a wide cone outside the vehicle when turned on. During installation, you can choose what direction to point the light, so multiple headlights can illuminate the sides or rear, as well as the front.", | ||
"epower": -150, | ||
"extend": { "flags": [ "WIDE_CONE_LIGHT" ] }, | ||
"delete": { "flags": [ "CONE_LIGHT" ] } | ||
} | ||
] |