Add food carts (#19177)
Co-authored-by: Jeff <velcroboy333@hotmail.com>
This commit is contained in:
@@ -116,4 +116,24 @@
|
||||
product: CrateJanitorBiosuit
|
||||
cost: 800
|
||||
category: Service
|
||||
group: market
|
||||
|
||||
- type: cargoProduct
|
||||
id: ServiceFoodCartHot
|
||||
icon:
|
||||
sprite: Objects/Specific/Kitchen/food_carts.rsi
|
||||
state: icon-hot
|
||||
product: FoodCartHot
|
||||
cost: 2000
|
||||
category: Service
|
||||
group: market
|
||||
|
||||
- type: cargoProduct
|
||||
id: ServiceFoodCartCold
|
||||
icon:
|
||||
sprite: Objects/Specific/Kitchen/food_carts.rsi
|
||||
state: icon-cold
|
||||
product: FoodCartCold
|
||||
cost: 2000
|
||||
category: Service
|
||||
group: market
|
||||
|
||||
@@ -417,6 +417,9 @@
|
||||
visible: true
|
||||
- type: Icon
|
||||
state: bottle-coldsauce
|
||||
- type: Tag
|
||||
tags:
|
||||
- Coldsauce
|
||||
|
||||
- type: entity
|
||||
parent: BaseFoodCondimentBottle
|
||||
@@ -483,6 +486,9 @@
|
||||
visible: true
|
||||
- type: Icon
|
||||
state: bottle-hotsauce
|
||||
- type: Tag
|
||||
tags:
|
||||
- Hotsauce
|
||||
|
||||
- type: entity
|
||||
parent: BaseFoodCondimentBottle
|
||||
@@ -505,6 +511,9 @@
|
||||
visible: true
|
||||
- type: Icon
|
||||
state: bottle-ketchup
|
||||
- type: Tag
|
||||
tags:
|
||||
- Ketchup
|
||||
|
||||
- type: entity
|
||||
parent: BaseFoodCondimentBottle
|
||||
@@ -528,6 +537,9 @@
|
||||
# So there's no error.
|
||||
- type: Icon
|
||||
state: bottle-ketchup
|
||||
- type: Tag
|
||||
tags:
|
||||
- BBQsauce
|
||||
|
||||
# Shakers
|
||||
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
- type: entity
|
||||
name: Food Cart
|
||||
id: FoodCartBase
|
||||
abstract: true
|
||||
parent: BaseStructureDynamic
|
||||
description: A cart for food.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
- type: Rotatable
|
||||
- type: InteractionOutline
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.3
|
||||
density: 125
|
||||
layer:
|
||||
- MobLayer
|
||||
mask:
|
||||
- MobMask
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 400
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 200
|
||||
behaviors:
|
||||
- !type:EmptyAllContainersBehaviour
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- type: Appearance
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.StorageUiKey.Key
|
||||
type: StorageBoundUserInterface
|
||||
- type: Storage
|
||||
popup: false
|
||||
capacity: 30
|
||||
- type: TileFrictionModifier
|
||||
modifier: 0.4 # makes it slide
|
||||
|
||||
# Add this if freezing/heating container/objects thermodynamics becomes a thing
|
||||
|
||||
#- type: PowerCellSlot
|
||||
# cellSlotId: cell_slot
|
||||
#- type: ContainerContainer
|
||||
# containers:
|
||||
# cell_slot: !type:ContainerSlot
|
||||
#- type: ItemSlots
|
||||
# slots:
|
||||
# cell_slot:
|
||||
# name: power-cell-slot-component-slot-name-default
|
||||
# startingItem: PowerCellMedium
|
||||
|
||||
- type: entity
|
||||
name: Hot Food Cart
|
||||
id: FoodCartHot
|
||||
parent: FoodCartBase
|
||||
description: Get out there and slang some dogs.
|
||||
components:
|
||||
- type: Sprite
|
||||
netSync: false
|
||||
noRot: true
|
||||
sprite: Objects/Specific/Kitchen/food_carts.rsi
|
||||
layers:
|
||||
- state: stand-food
|
||||
- type: Storage
|
||||
blacklist:
|
||||
tags:
|
||||
- Coldsauce
|
||||
- Hotsauce
|
||||
- BBQsauce
|
||||
- Ketchup
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
coldsauce_slot:
|
||||
name: Cold Sauce
|
||||
insertSound: /Audio/Items/bottle_clunk.ogg
|
||||
ejectSound: /Audio/Items/bottle_clunk_2.ogg
|
||||
whitelist:
|
||||
tags:
|
||||
- Coldsauce
|
||||
priority: 6
|
||||
hotsauce_slot:
|
||||
name: Hot Sauce
|
||||
insertSound: /Audio/Items/bottle_clunk.ogg
|
||||
ejectSound: /Audio/Items/bottle_clunk_2.ogg
|
||||
whitelist:
|
||||
tags:
|
||||
- Hotsauce
|
||||
priority: 5
|
||||
bbqsauce_slot:
|
||||
name: BBQ Sauce
|
||||
insertSound: /Audio/Items/bottle_clunk.ogg
|
||||
ejectSound: /Audio/Items/bottle_clunk_2.ogg
|
||||
whitelist:
|
||||
tags:
|
||||
- BBQsauce
|
||||
priority: 4
|
||||
ketchup_slot:
|
||||
name: Ketchup
|
||||
insertSound: /Audio/Items/bottle_clunk.ogg
|
||||
ejectSound: /Audio/Items/bottle_clunk_2.ogg
|
||||
whitelist:
|
||||
tags:
|
||||
- Ketchup
|
||||
priority: 3
|
||||
- type: ItemMapper
|
||||
mapLayers:
|
||||
cart_hotsauce:
|
||||
whitelist:
|
||||
tags:
|
||||
- Hotsauce
|
||||
cart_coldsauce:
|
||||
whitelist:
|
||||
tags:
|
||||
- Coldsauce
|
||||
cart_bbqsauce:
|
||||
whitelist:
|
||||
tags:
|
||||
- BBQsauce
|
||||
cart_ketchup:
|
||||
whitelist:
|
||||
tags:
|
||||
- Ketchup
|
||||
sprite: Objects/Specific/Kitchen/food_carts.rsi
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
storagebase: !type:Container
|
||||
ents: []
|
||||
coldsauce_slot: !type:ContainerSlot {}
|
||||
hotsauce_slot: !type:ContainerSlot {}
|
||||
bbqsauce_slot: !type:ContainerSlot {}
|
||||
ketchup_slot: !type:ContainerSlot {}
|
||||
|
||||
- type: entity
|
||||
name: Cold Food Cart
|
||||
id: FoodCartCold
|
||||
parent: FoodCartBase
|
||||
description: It's the Ice Cream Man! It's the Ice Cream Man!
|
||||
components:
|
||||
- type: Sprite
|
||||
netSync: false
|
||||
noRot: true
|
||||
sprite: Objects/Specific/Kitchen/food_carts.rsi
|
||||
layers:
|
||||
- state: stand-ice
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
storagebase: !type:Container
|
||||
@@ -26,7 +26,10 @@
|
||||
id: Balloon
|
||||
|
||||
- type: Tag
|
||||
id: BaseballBat
|
||||
id: BaseballBat
|
||||
|
||||
- type: Tag
|
||||
id: BBQsauce
|
||||
|
||||
- type: Tag
|
||||
id: Bee
|
||||
@@ -303,7 +306,10 @@
|
||||
id: CluwneHorn
|
||||
|
||||
- type: Tag #Ohioans die happy
|
||||
id: Corn
|
||||
id: Corn
|
||||
|
||||
- type: Tag
|
||||
id: Coldsauce
|
||||
|
||||
- type: Tag
|
||||
id: Cow
|
||||
@@ -574,6 +580,9 @@
|
||||
- type: Tag
|
||||
id: HonkerRArm
|
||||
|
||||
- type: Tag
|
||||
id: Hotsauce
|
||||
|
||||
- type: Tag #Drop this innate tool instead of deleting it.
|
||||
id: InnateDontDelete
|
||||
|
||||
@@ -598,6 +607,8 @@
|
||||
- type: Tag
|
||||
id: Kangaroo
|
||||
|
||||
- type: Tag
|
||||
id: Ketchup
|
||||
|
||||
- type: Tag
|
||||
id: KeyedInstrument
|
||||
|
||||
Reference in New Issue
Block a user