Jerry Cans (#1759)

* Welding fuel jerry cans

* Move jerry can inhand-left sprites up a pixel

* increase jerry can drink delays

* Yes

* cove.yml: sub console out until doubloon contrabnd

---------

Co-authored-by: Dvir <39403717+dvir001@users.noreply.github.com>
Co-authored-by: Dvir <dvirf01@gmail.com>
This commit is contained in:
Whatstone 2024-08-01 15:34:21 -04:00 committed by Vanessa
parent cc39ded995
commit c07219f92c
20 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,83 @@
- type: entity
name: jerry can
parent: BaseItem
id: JerryCan
description: A plastic jerry can with a spill-proof nozzle.
components:
- type: SolutionContainerManager
solutions:
beaker:
maxVol: 200
- type: Sprite
sprite: _NF/Objects/Specific/Chemistry/jerrycan.rsi
layers:
- state: jerrycan
- state: jerrycan1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- type: Item
size: Normal
sprite: _NF/Objects/Specific/Chemistry/jerrycan.rsi
- type: MixableSolution
solution: beaker
- type: RefillableSolution
solution: beaker
- type: DrainableSolution
solution: beaker
- type: ExaminableSolution
solution: beaker
- type: DrawableSolution
solution: beaker
- type: InjectableSolution
solution: beaker
- type: SolutionTransfer
canChangeTransferAmount: true
- type: SolutionItemStatus
solution: beaker
- type: UserInterface
interfaces:
enum.TransferAmountUiKey.Key:
type: TransferAmountBoundUserInterface
- type: Drink
solution: beaker
delay: 1.5
forceFeedDelay: 5
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 5
fillBaseName: jerrycan
inHandsMaxFillLevels: 5
inHandsFillBaseName: -fill-
- type: StaticPrice
price: 10
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
params:
volume: -4
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
SheetPlastic1:
min: 0
max: 1
transferForensics: true
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Label
- type: TrashOnSolutionEmpty
solution: beaker

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

View File

@ -0,0 +1,77 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by HoofedEar, modified by Whatstone (Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "jerrycan"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-left-fill-1",
"directions": 4
},
{
"name": "inhand-left-fill-2",
"directions": 4
},
{
"name": "inhand-left-fill-3",
"directions": 4
},
{
"name": "inhand-left-fill-4",
"directions": 4
},
{
"name": "inhand-left-fill-5",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-right-fill-1",
"directions": 4
},
{
"name": "inhand-right-fill-2",
"directions": 4
},
{
"name": "inhand-right-fill-3",
"directions": 4
},
{
"name": "inhand-right-fill-4",
"directions": 4
},
{
"name": "inhand-right-fill-5",
"directions": 4
},
{
"name": "jerrycan1"
},
{
"name": "jerrycan2"
},
{
"name": "jerrycan3"
},
{
"name": "jerrycan4"
},
{
"name": "jerrycan5"
}
]
}