forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds janitorial service lights (space-wizards#22732)
* Adds service light visuals and meta.json * Added the rest of the needed service light sprites * Adds service light and service light bulb entity prototypes * Changes entity descriptions * Removes sprites temporarily * Adds back the sprites and modifies rotation sprites
- Loading branch information
1 parent
b2feca8
commit d7afa33
Showing
8 changed files
with
87 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
Resources/Prototypes/Entities/Structures/Wallmounts/service_light.yml
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,25 @@ | ||
- type: entity | ||
parent: Poweredlight | ||
id: JanitorServiceLight | ||
name: janitorial service light | ||
description: A wall-mounted janitorial sign. If the light is blinking, a janitor's service is required. | ||
components: | ||
- type: Sprite | ||
sprite: Structures/Wallmounts/service_light.rsi | ||
drawdepth: WallMountedItems | ||
layers: | ||
- state: off | ||
map: ["enum.PoweredLightLayers.Base"] | ||
state: off | ||
- type: PointLight | ||
radius: 1 | ||
energy: 1 | ||
softness: 1 | ||
enabled: false | ||
- type: PoweredLight | ||
bulb: Bulb | ||
on: false | ||
hasLampOnSpawn: ServiceLightBulb | ||
damage: | ||
types: | ||
Heat: 5 |
Binary file added
BIN
+783 Bytes
Resources/Textures/Structures/Wallmounts/service_light.rsi/broken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+794 Bytes
Resources/Textures/Structures/Wallmounts/service_light.rsi/burned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+701 Bytes
Resources/Textures/Structures/Wallmounts/service_light.rsi/empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
Resources/Textures/Structures/Wallmounts/service_light.rsi/meta.json
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,49 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "On, off, broken, burned, empty sprites by RiceMar1244", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "broken", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "burned", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "empty", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "off", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "on", | ||
"directions": 4, | ||
"delays": [ | ||
[ | ||
0.1, | ||
0.5 | ||
], | ||
[ | ||
0.1, | ||
0.5 | ||
], | ||
[ | ||
0.1, | ||
0.5 | ||
], | ||
[ | ||
0.1, | ||
0.5 | ||
] | ||
] | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.