- type: Tag
tags:
- WhitelistChameleon
+ - SecurityHelmet
- type: HideLayerClothing
slots:
- HeadTop
sprite: Clothing/Head/Helmets/podwars_helmet.rsi
- type: Clothing
sprite: Clothing/Head/Helmets/podwars_helmet.rsi
+
+#Justice Helmet
+- type: entity
+ parent: ClothingHeadHelmetBasic
+ id: ClothingHeadHelmetJustice
+ name: justice helm
+ description: Advanced security gear. Protects the station from ne'er-do-wells.
+ components:
+ - type: Sprite
+ sprite: Clothing/Head/Helmets/justice.rsi
+ layers:
+ - state: icon
+ - state: icon-light
+ visible: false
+ shader: unshaded
+ map: [ "light" ]
+ - type: Appearance
+ - type: Clothing
+ sprite: Clothing/Head/Helmets/justice.rsi
+ equippedPrefix: off
+ - type: ItemToggle
+ predictable: false # issues between ToggleCellDraw and ItemToggleActiveSound
+ onUse: false
+ soundActivate:
+ path: /Audio/Items/flashlight_on.ogg
+ soundDeactivate:
+ path: /Audio/Items/flashlight_off.ogg
+ - type: ItemToggleActiveSound
+ activeSound:
+ path: /Audio/Effects/Vehicle/policesiren.ogg
+ params:
+ volume: -4
+ - type: UseDelay
+ delay: 1.0
+ - type: ToggleClothing
+ action: ActionToggleJusticeHelm
+ - type: ItemTogglePointLight
+ - type: ToggleableLightVisuals
+ clothingVisuals:
+ head:
+ - state: on-equipped-HELMET
+ shader: unshaded
+ - type: PointLight
+ enabled: false
+ radius: 1.4
+ energy: 1.4
+ color: red
+ netsync: false
+ mask: /Textures/Effects/LightMasks/double_cone.png
+ - type: RotatingLight
+ speed: 360
+ - type: PowerCellSlot
+ cellSlotId: cell_slot
+ - type: ContainerContainer
+ containers:
+ cell_slot: !type:ContainerSlot
+ - type: ItemSlots
+ slots:
+ cell_slot:
+ name: power-cell-slot-component-slot-name-default
+ startingItem: PowerCellSmall
+ - type: PowerCellDraw
+ drawRate: 2
+ - type: ToggleCellDraw
+ - type: Construction
+ graph: HelmetJustice
+ node: helmet
+
+- type: entity
+ parent: ClothingHeadHelmetJustice
+ id: ClothingHeadHelmetJusticeEmpty
+ suffix: Empty
+ components:
+ - type: ItemSlots
+ slots:
+ cell_slot:
+ name: power-cell-slot-component-slot-name-default
+
+- type: entity
+ id: ActionToggleJusticeHelm
+ name: Toggle Justice Helm
+ description: Toggles the justice helm on and off.
+ components:
+ - type: InstantAction
+ useDelay: 1
+ itemIconStyle: BigItem
+ event: !type:ToggleActionEvent
\ No newline at end of file
description: Can hold up to 15 arrows, and fits snug around your waist.
icon: { sprite: Clothing/Belt/quiver.rsi, state: icon }
objectType: Item
+
+- type: construction
+ name: justice helm
+ id: ClothingHeadHelmetJustice
+ graph: HelmetJustice
+ startNode: start
+ targetNode: helmet
+ category: construction-category-clothing
+ description: Advanced security gear. Protects the station from ne'er-do-wells.
+ icon: { sprite: Clothing/Head/Helmets/justice.rsi, state: icon }
+ objectType: Item
\ No newline at end of file
--- /dev/null
+{
+ "version": 1,
+ "license": "CC-BY-SA-3.0",
+ "copyright": "Base sprite by DieselMohawk for use in SS14, combined with justice2 from tgstation at b8c63da48c8445fcec96491970b9316d0f8684b8",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "states": [
+ {
+ "name": "icon"
+ },
+ {
+ "name": "icon-light",
+ "delays": [
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ]
+ ]
+ },
+ {
+ "name": "off-equipped-HELMET",
+ "directions": 4
+ },
+ {
+ "name": "on-equipped-HELMET",
+ "directions": 4,
+ "delays": [
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ],
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ],
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ],
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ]
+ ]
+ },
+ {
+ "name": "off-equipped-HELMET-vox",
+ "directions": 4
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
+ }
+ ]
+}