Spray Nozzle & Backpack Water Tank (#16133)
This commit is contained in:
@@ -43,6 +43,20 @@
|
||||
- AdvMopItem
|
||||
- MegaSprayBottle
|
||||
|
||||
- type: technology
|
||||
id: AdvancedSprayTechnology
|
||||
name: technologies-advanced-spray-technology
|
||||
description: technologies-advanced-spray-technology-description
|
||||
icon:
|
||||
sprite: Objects/Weapons/Guns/Basic/spraynozzle.rsi
|
||||
state: icon
|
||||
requiredPoints: 7500
|
||||
requiredTechnologies:
|
||||
- AdvancedCleaningTechnology
|
||||
unlockedRecipes:
|
||||
- WeaponSprayNozzle
|
||||
- ClothingBackpackWaterTank
|
||||
|
||||
# Food/Bev Service Technology Tree
|
||||
|
||||
- type: technology
|
||||
|
||||
@@ -21,3 +21,45 @@
|
||||
type: StorageBoundUserInterface
|
||||
- key: enum.ChameleonUiKey.Key
|
||||
type: ChameleonBoundUserInterface
|
||||
|
||||
- type: entity
|
||||
parent: Clothing
|
||||
id: ClothingBackpackWaterTank
|
||||
name: backpack water tank
|
||||
description: Holds a large amount of fluids. Supplies to spray nozzles in your hands.
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- NozzleBackTank
|
||||
- type: Sprite
|
||||
sprite: Clothing/Back/Backpacks/waterbackpack.rsi
|
||||
state: icon
|
||||
- type: Item
|
||||
size: 200
|
||||
- type: Clothing
|
||||
slots: BACK
|
||||
sprite: Clothing/Back/Backpacks/waterbackpack.rsi
|
||||
- type: SolutionAmmoProvider
|
||||
solutionId: tank
|
||||
proto: BulletWaterShot
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
tank:
|
||||
maxVol: 1000 #much water
|
||||
- type: SolutionTransfer
|
||||
transferAmount: 50
|
||||
maxTransferAmount: 100
|
||||
minTransferAmount: 10
|
||||
canChangeTransferAmount: true
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.TransferAmountUiKey.Key
|
||||
type: TransferAmountBoundUserInterface
|
||||
- type: DrawableSolution
|
||||
solution: tank
|
||||
- type: RefillableSolution
|
||||
solution: tank
|
||||
- type: DrainableSolution
|
||||
solution: tank
|
||||
- type: ExaminableSolution
|
||||
solution: tank
|
||||
@@ -0,0 +1,26 @@
|
||||
- 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: Sprite
|
||||
sprite: Objects/Weapons/Guns/Basic/spraynozzle.rsi
|
||||
state: icon
|
||||
- type: Item
|
||||
sprite: Objects/Weapons/Guns/Basic/spraynozzle.rsi
|
||||
size: 30
|
||||
- type: Gun
|
||||
cameraRecoilScalar: 0 #no recoil
|
||||
fireRate: 4
|
||||
selectedMode: FullAuto
|
||||
availableModes:
|
||||
- FullAuto
|
||||
soundGunshot:
|
||||
path: /Audio/Weapons/Guns/Gunshots/water_spray.ogg
|
||||
- type: Appearance
|
||||
- type: ClothingSlotAmmoProvider
|
||||
targetSlot: BACK
|
||||
providerWhitelist:
|
||||
tags:
|
||||
- NozzleBackTank
|
||||
@@ -566,6 +566,47 @@
|
||||
- type: Ammo
|
||||
muzzleFlash: null
|
||||
|
||||
- type: entity
|
||||
id: BulletWaterShot
|
||||
name: water
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
linearDamping: 0
|
||||
angularDamping: 0
|
||||
- type: TimedDespawn
|
||||
lifetime: 10
|
||||
- type: Projectile
|
||||
damage:
|
||||
types:
|
||||
Blunt: 0 #it's just water, bro
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Guns/Projectiles/water_shot.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: ["enum.VaporVisualLayers.Base"]
|
||||
- type: Ammo
|
||||
muzzleFlash: null
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
vapor:
|
||||
maxVol: 50
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.25,-0.25,0.25,0.25"
|
||||
hard: false
|
||||
mask:
|
||||
- FullTileMask
|
||||
- Opaque
|
||||
- type: Vapor
|
||||
active: true
|
||||
- type: Appearance
|
||||
- type: VaporVisuals
|
||||
|
||||
- type: entity
|
||||
id: BulletCannonBall
|
||||
name: cannonball
|
||||
|
||||
@@ -215,6 +215,8 @@
|
||||
- Bucket
|
||||
- MopItem
|
||||
- AdvMopItem
|
||||
- WeaponSprayNozzle
|
||||
- ClothingBackpackWaterTank
|
||||
- SprayBottle
|
||||
- MegaSprayBottle
|
||||
- FireExtinguisher
|
||||
|
||||
@@ -64,3 +64,19 @@
|
||||
Plastic: 400
|
||||
Steel: 100
|
||||
Glass: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: WeaponSprayNozzle
|
||||
result: WeaponSprayNozzle
|
||||
completetime: 5
|
||||
materials:
|
||||
Steel: 1500
|
||||
Glass: 500
|
||||
|
||||
- type: latheRecipe
|
||||
id: ClothingBackpackWaterTank
|
||||
result: ClothingBackpackWaterTank
|
||||
completetime: 4
|
||||
materials:
|
||||
Steel: 250
|
||||
Glass: 1000
|
||||
|
||||
@@ -504,6 +504,9 @@
|
||||
- type: Tag
|
||||
id: NoBlockAnchoring
|
||||
|
||||
- type: Tag
|
||||
id: NozzleBackTank
|
||||
|
||||
- type: Tag
|
||||
id: NukeOpsUplink
|
||||
|
||||
|
||||
Reference in New Issue
Block a user