Make Advanced Spray more tolerable to use (#34209)

* initial commit

* Fixed the eject order

* FINALLY got a new sprite, its ready to merge!

* I FORGOT THE ATTRIBUTIONS DAMMIT

* Remove extra whitespace

* Sprite update!
This commit is contained in:
Terraspark4941
2025-02-12 00:05:34 +05:00
committed by GitHub
parent 78c951c790
commit 2c728dcca9
6 changed files with 28 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
parent: ClothingBackpack
id: ClothingBackpackChameleon
name: backpack
@@ -20,10 +20,10 @@
type: ChameleonBoundUserInterface
- type: entity
parent: Clothing
parent: [Clothing, ClothingSlotBase]
id: ClothingBackpackWaterTank
name: backpack water tank
description: Holds a large amount of fluids. Supplies to spray nozzles in your hands.
description: Holds a large amount of fluids. Supplies to spray nozzles in your hands, and has a slot on the side for said spray nozzles.
components:
- type: Tag
tags:
@@ -37,6 +37,20 @@
- type: Clothing
slots: BACK
sprite: Clothing/Back/Backpacks/waterbackpack.rsi
- type: ItemSlots
slots:
item:
priority: 2
whitelist:
tags:
- SprayNozzle
- type: ItemMapper
mapLayers:
icon-filled:
whitelist:
tags:
- SprayNozzle
- type: Appearance
- type: SolutionAmmoProvider
solutionId: tank
proto: BulletWaterShot

View File

@@ -1,9 +1,12 @@
- type: entity
- type: entity
id: WeaponSprayNozzle
parent: BaseItem
name: spray nozzle
description: A high-powered spray nozzle used in conjunction with a backpack-mounted water tank.
components:
- type: Tag
tags:
- SprayNozzle
- type: Sprite
sprite: Objects/Weapons/Guns/Basic/spraynozzle.rsi
state: icon

View File

@@ -1195,6 +1195,9 @@
- type: Tag
id: Spray
- type: Tag
id: SprayNozzle
- type: Tag
id: SpreaderIgnore

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 828 B

After

Width:  |  Height:  |  Size: 829 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/f7337f1aa9efdcc1403ca4771d638e0634074537",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/f7337f1aa9efdcc1403ca4771d638e0634074537, icon-filled by PS3MOIRA",
"size": {
"x": 32,
"y": 32
@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon-filled"
},
{
"name": "equipped-BACKPACK",
"directions": 4