Changs chinese food vending machine (#7754)

* new chinese food items from paradise

* made soy sauce salty

* new snacks based on the new assets

* chang assets 1

* chang vending machine

* rsi animation and fix

* rsi path fix

* misc changes

* fortune cookie snacks complete with fortunes

* Update Resources/Prototypes/Entities/Objects/Consumable/Food/snacks.yml

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Objects/Consumable/Food/snacks.yml

darn Americans

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
Peptide90
2022-05-11 08:17:24 +01:00
committed by GitHub
parent e8331b6659
commit 3b54566e5b
18 changed files with 216 additions and 1 deletions

View File

@@ -189,6 +189,73 @@
color: white
- type: Food
trash: FoodPacketSyndiTrash
- type: entity
name: chow mein
parent: FoodSnackBase
id: FoodSnackChowMein
description: A salty fried noodle snack. Looks like they forgot the vegetables.
components:
- type: Sprite
state: chinese1
- type: Item
color: red
- type: SolutionContainerManager
solutions:
food:
maxVol: 30 # Room for extra condiments
reagents:
- ReagentId: Nutriment
Quantity: 10
- ReagentId: Soysauce
Quantity: 2
- type: Food
trash: FoodPacketChowMeinTrash
- type: entity
name: dan dan noodles
parent: FoodSnackBase
id: FoodSnackDanDanNoodles
description: A spicy Sichuan noodle snack. The chili oil slick pools on top.
components:
- type: Sprite
state: chinese2
- type: Item
- type: SolutionContainerManager
solutions:
food:
maxVol: 30 # Room for extra condiments
reagents:
- ReagentId: Nutriment
Quantity: 10
- ReagentId: CapsaicinOil
Quantity: 2
- ReagentId: Soysauce
Quantity: 2
- type: Food
trash: FoodPacketDanDanTrash
- type: entity
name: fortune cookie
parent: FoodSnackBase
id: FoodSnackCookieFortune
description: A boring cardboard tasting snack with a fortune inside. Surprise! You're boring too.
components:
- type: Sprite
state: cookie_fortune
- type: SolutionContainerManager
solutions:
food:
maxVol: 1
reagents:
- ReagentId: Nutriment
Quantity: 1
- type: Item
sprite: Objects/Consumable/Food/snacks.rsi
HeldPrefix: packet
size: 1
- type: Food
trash: FoodCookieFortune
- type: entity
name: nutribrick
@@ -399,6 +466,40 @@
- type: Item
color: white
- type: entity
noSpawn: true
parent: FoodPacketTrash
id: FoodPacketChowMeinTrash
name: empty chow mein box
components:
- type: Sprite
state: chinese1
- type: Item
color: red
- type: entity
noSpawn: true
parent: FoodPacketTrash
id: FoodPacketDanDanTrash
name: empty dan dan box
components:
- type: Sprite
state: chinese2
- type: Item
color: white
- type: entity
noSpawn: true
parent: FoodPacketTrash
id: FoodCookieFortune
name: cookie fortune
description: "The fortune reads: The end is near...and it's all your fault."
components:
- type: Sprite
state: fortune
- type: Item
color: white
- type: entity
noSpawn: true
parent: FoodPacketTrash

View File

@@ -806,6 +806,40 @@
energy: 1.6
color: "#326e3f"
- type: entity
parent: VendingMachine
id: VendingMachineChang
name: Mr. Chang
description: A self-serving Chinese food machine, for all your Chinese food needs.
components:
- type: VendingMachine
pack: ChangInventory
- type: Advertise
pack: ChangAds
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/changs.rsi
layers:
- state: "off"
map: ["enum.VendingMachineVisualLayers.Unlit"]
- state: "off"
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
shader: unshaded
- texture: Structures/Machines/VendingMachines/maintenance_panel.png
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Appearance
visuals:
- type: VendingMachineVisualizer
normalUnshaded: true
broken: true
- type: WiresVisualizer
- type: PointLight
radius: 1.5
energy: 1.6
color: "#ffe599"
# job clothing
- type: entity
parent: VendingMachine
id: VendingMachineHydrobe