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>
4
Resources/Locale/en-US/advertisements/vending/chang.ftl
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
advertisement-chang-1 = Taste 5000 years of culture!
|
||||||
|
advertisement-chang-2 = Mr. Chang, approved for safe consumption in over 10 sectors!
|
||||||
|
advertisement-chang-3 = Chinese food is great for a date night, or a lonely night!
|
||||||
|
advertisement-chang-4 = You can't go wrong with Mr. Chang's authentic Chinese food!
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
- type: advertisementsPack
|
||||||
|
id: ChangAds
|
||||||
|
advertisements:
|
||||||
|
- advertisement-chang-1
|
||||||
|
- advertisement-chang-2
|
||||||
|
- advertisement-chang-3
|
||||||
|
- advertisement-chang-4
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
- type: vendingMachineInventory
|
||||||
|
id: ChangInventory
|
||||||
|
name: Mr. Chang
|
||||||
|
animationDuration: 2.1
|
||||||
|
spriteName: cigs
|
||||||
|
startingInventory:
|
||||||
|
FoodCondimentPacketSoy: 5
|
||||||
|
FoodSnackCookieFortune: 5
|
||||||
|
DrinkRamen: 3
|
||||||
|
DrinkHellRamen: 3
|
||||||
|
FoodSnackChowMein: 3
|
||||||
|
FoodSnackDanDanNoodles: 3
|
||||||
|
# rice?
|
||||||
@@ -189,6 +189,73 @@
|
|||||||
color: white
|
color: white
|
||||||
- type: Food
|
- type: Food
|
||||||
trash: FoodPacketSyndiTrash
|
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
|
- type: entity
|
||||||
name: nutribrick
|
name: nutribrick
|
||||||
@@ -399,6 +466,40 @@
|
|||||||
- type: Item
|
- type: Item
|
||||||
color: white
|
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
|
- type: entity
|
||||||
noSpawn: true
|
noSpawn: true
|
||||||
parent: FoodPacketTrash
|
parent: FoodPacketTrash
|
||||||
|
|||||||
@@ -806,6 +806,40 @@
|
|||||||
energy: 1.6
|
energy: 1.6
|
||||||
color: "#326e3f"
|
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
|
- type: entity
|
||||||
parent: VendingMachine
|
parent: VendingMachine
|
||||||
id: VendingMachineHydrobe
|
id: VendingMachineHydrobe
|
||||||
|
|||||||
@@ -61,6 +61,13 @@
|
|||||||
desc: A salty soy-based flavoring.
|
desc: A salty soy-based flavoring.
|
||||||
physicalDesc: salty
|
physicalDesc: salty
|
||||||
color: saddlebrown
|
color: saddlebrown
|
||||||
|
metabolisms:
|
||||||
|
Food:
|
||||||
|
effects:
|
||||||
|
- !type:SatiateHunger
|
||||||
|
factor: 0.5
|
||||||
|
- !type:SatiateThirst
|
||||||
|
factor: -0.5 # high salt content
|
||||||
|
|
||||||
- type: reagent
|
- type: reagent
|
||||||
id: TableSalt
|
id: TableSalt
|
||||||
|
|||||||
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 351 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 298 B |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
|
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24, chinese from paradise, ticket by peptide",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
@@ -28,6 +28,18 @@
|
|||||||
{
|
{
|
||||||
"name": "cheesiehonkers-trash"
|
"name": "cheesiehonkers-trash"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "chinese1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "chinese2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "chinese3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "chinese4"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "chips"
|
"name": "chips"
|
||||||
},
|
},
|
||||||
@@ -51,6 +63,9 @@
|
|||||||
"name": "chocolatebar-inhand-left",
|
"name": "chocolatebar-inhand-left",
|
||||||
"directions": 4
|
"directions": 4
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "cookie_fortune"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "energybar"
|
"name": "energybar"
|
||||||
},
|
},
|
||||||
@@ -141,6 +156,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tatortot"
|
"name": "tatortot"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fortune"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 546 B |
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from paradise at https://github.com/ParadiseSS13/Paradise/commit/ae2258d9235752ac6d80ec11e36553fe3b6ae59e, modified by Peptide",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "normal-unshaded",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
2.5,
|
||||||
|
0.1,
|
||||||
|
3.4,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "broken"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "off"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 618 B |
|
After Width: | Height: | Size: 486 B |
|
After Width: | Height: | Size: 304 B |