Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Janitor Locker #583

Merged
merged 22 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Fills/Lockers/service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: entity
id: LockerJanitorFilled
suffix: Filled
parent: LockerJanitor
components:
- type: StorageFill
contents:
- id: ClothingBeltJanitorFilled
- id: ClothingHeadsetService
- id: MopItem
- id: BoxMousetrap
- id: BoxTrashbag
- id: BoxLightMixed
- id: Plunger
32 changes: 28 additions & 4 deletions Resources/Prototypes/_NF/Entities/Clothing/Shoes/magboots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
parent: ClothingShoesBootsMag
id: ClothingShoesBootsMagCombat
name: combat magboots
description: combat magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
description: Combat magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
components:
- type: Sprite
sprite: _NF/Clothing/Shoes/Boots/magboots-combat.rsi
Expand Down Expand Up @@ -42,7 +42,7 @@
parent: ClothingShoesBootsMagCombat
id: ClothingShoesBootsMagMercenary
name: mercenary magboots
description: mercenary magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
description: Mercenary magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
components:
- type: Sprite
sprite: _NF/Clothing/Shoes/Boots/magboots-mercenary.rsi
Expand All @@ -56,7 +56,7 @@
parent: ClothingShoesBootsMagCombat
id: ClothingShoesBootsMagPirate
name: pirate magboots
description: pirate magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
description: Pirate magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
components:
- type: Sprite
sprite: _NF/Clothing/Shoes/Boots/magboots-pirate.rsi
Expand All @@ -66,6 +66,21 @@
- type: Magboots
toggleAction: ActionToggleMagbootsPirate

- type: entity
parent: ClothingShoesBootsMag
id: ClothingShoesBootsMagGaloshes
name: galoshes magboots
description: Galoshes magnetic boots, often used during cleaning activity to ensure the user remains safely attached to the floor.
components:
- type: Sprite
sprite: _NF/Clothing/Shoes/Boots/magboots-galoshes.rsi
state: icon
- type: Clothing
sprite: _NF/Clothing/Shoes/Boots/magboots-galoshes.rsi
- type: Magboots
toggleAction: ActionToggleMagbootsGaloshes
- type: NoSlip

- type: entity
id: ActionToggleMagbootsCombat
parent: ActionBaseToggleMagboots
Expand All @@ -91,4 +106,13 @@
components:
- type: InstantAction
icon: { sprite: _NF/Clothing/Shoes/Boots/magboots-pirate.rsi, state: icon }
iconOn: _NF/Clothing/Shoes/Boots/magboots-pirate.rsi/icon-on.png
iconOn: _NF/Clothing/Shoes/Boots/magboots-pirate.rsi/icon-on.png

- type: entity
id: ActionToggleMagbootsGaloshes
parent: ActionBaseToggleMagboots
noSpawn: true
components:
- type: InstantAction
icon: { sprite: _NF/Clothing/Shoes/Boots/magboots-galoshes.rsi, state: icon }
iconOn: _NF/Clothing/Shoes/Boots/magboots-galoshes.rsi/icon-on.png
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,29 @@
map: ["enum.WeldableLayers.BaseWelded"]
- type: AccessReader
access: [["Captain"], ["Mercenary"]]

# Janitor
- type: entity
id: LockerJanitor
parent: LockerBaseSecure
name: janitor locker
components:
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: janitor
stateDoorOpen: janitor_open
stateDoorClosed: janitor_door
- type: Sprite
sprite: _NF/Structures/Storage/closet.rsi
noRot: true
layers:
- state: generic
map: ["enum.StorageVisualLayers.Base"]
- state: generic_door
map: ["enum.StorageVisualLayers.Door"]
- state: locked
map: ["enum.StorageVisualLayers.Lock"]
shader: unshaded
- state: welded
visible: false
map: ["enum.WeldableLayers.BaseWelded"]
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/7e4e9d432d88981fb9bb463970c5b98ce85c0abe Based and edited by Dvir001 (GitHub)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "equipped-FEET",
"directions": 4
},
{
"name": "on-equipped-FEET",
"directions": 4
},
{
"name": "icon"
},
{
"name": "icon-on"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]
}
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.
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.
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.
14 changes: 13 additions & 1 deletion Resources/Textures/_NF/Structures/Storage/closet.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@
"x": 32,
"y": 32
},
"copyright": "Taken from tgstation, mercenary locker is a resprited armory locker by erhardsteinhauer (discord)",
"copyright": "Taken from tgstation, mercenary locker is a resprited armory locker by erhardsteinhauer (discord), janitor is by SungYandy",
"license": "CC-BY-SA-3.0",
"states": [
{
"name": "janitor"
},
{
"name": "janitor_door"
},
{
"name": "janitor_open"
},
{
"name": "generic"
},
Expand All @@ -30,6 +39,9 @@
},
{
"name": "welded"
},
{
"name": "sparking"
}
]
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading