Skip to content

Commit

Permalink
keggers
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhardSteinhauer committed Dec 25, 2023
1 parent ea82fa7 commit e3c8932
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
- type: entity
parent: BaseItem
id: DrinkKegWood
id: DrinkKegSteel
name: keg
suffix: Wood
suffix: Steel
description: I don't have a drinking problem - the keg solved it.
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Drinks/keg_wood.rsi
layers:
- state: icon
sprite: _NF/Objects/Consumable/Drinks/keg_steel.rsi
state: icon
- type: Item
sprite: _NF/Objects/Consumable/Drinks/keg_wood.rsi
size: 100
- type: Clothing
sprite: _NF/Objects/Consumable/Drinks/keg_steel.rsi
quickEquip: false
slots:
- Back
- type: StaticPrice
price: 30
- type: SolutionContainerManager
Expand All @@ -26,32 +29,64 @@
- type: DrainableSolution
solution: drink
- type: SolutionTransfer
transferAmount: 50
maxTransferAmount: 100
minTransferAmount: 10
canChangeTransferAmount: true
- type: Spillable
solution: drink
# - type: Spillable
# solution: drink
- type: UserInterface
interfaces:
- key: enum.TransferAmountUiKey.Key
type: TransferAmountBoundUserInterface
- type: PhysicalComposition
materialComposition:
Wood: 50

Steel: 50
- type: ItemSlots
slots:
label_slot:
insertVerbText: Attach Label
ejectVerbText: Remove Label
name: Keg Label
startingItem: null
whitelist:
tags:
- Document
insertOnInteract: true
priority: 5
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
label_slot: !type:ContainerSlot {}
- type: Appearance
- type: ItemMapper
mapLayers:
label:
whitelist:
tags:
- Document
sprite: _NF/Objects/Consumable/Drinks/keg_steel.rsi

- type: entity
parent: DrinkKegWood
id: DrinkKegSteel
parent: DrinkKegSteel
id: DrinkKegWood
name: keg
suffix: Steel
description: I don't have a drinking problem - the keg solved it.
suffix: Wood
components:
- type: Sprite
sprite: _NF/Objects/Consumable/Drinks/keg_steel.rsi
sprite: _NF/Objects/Consumable/Drinks/keg_wood.rsi
state: icon
- type: Clothing
sprite: _NF/Objects/Consumable/Drinks/keg_wood.rsi
- type: PhysicalComposition
materialComposition:
Steel: 50
- type: Clothing
Wood: 50
- type: Appearance
- type: ItemMapper
mapLayers:
label:
whitelist:
tags:
- Document
sprite: _NF/Objects/Consumable/Drinks/keg_wood.rsi
quickEquip: false
slots:
- Back
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
Expand Up @@ -6,24 +6,27 @@
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "label",
}
]
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "label"
}
]
}
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
Expand Up @@ -6,24 +6,27 @@
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "label",
}
]
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "label"
}
]
}

0 comments on commit e3c8932

Please sign in to comment.