-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test I dont know what is wrong with this
- Loading branch information
Showing
606 changed files
with
22,743 additions
and
0 deletions.
There are no files selected for viewing
164 changes: 164 additions & 0 deletions
164
Resources/Prototypes/Entities/Consumable/Drinks/drinks-cartons.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
- type: entity | ||
parent: DrinkBase | ||
id: DrinkCartonBaseFull | ||
abstract: true | ||
components: | ||
- type: Openable | ||
sound: | ||
collection: bottleOpenSounds #Could use a new sound someday ¯\_(ツ)_/¯ | ||
closeable: true | ||
closeSound: | ||
collection: bottleCloseSounds | ||
- type: Sealable | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
maxVol: 50 | ||
- type: Sprite | ||
state: icon | ||
- type: Item | ||
size: Normal | ||
- type: MeleeWeapon | ||
soundNoDamage: | ||
path: "/Audio/Effects/Fluids/splat.ogg" | ||
damage: | ||
types: | ||
Blunt: 0 | ||
- type: Damageable | ||
damageContainer: Inorganic | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 20 | ||
behaviors: | ||
- !type:SpillBehavior { } | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
#In future maybe add generic plastic scrap trash/debris | ||
- type: TrashOnSolutionEmpty | ||
solution: drink | ||
|
||
- type: entity | ||
id: DrinkCartonVisualsOpenable | ||
abstract: true | ||
components: | ||
- type: Appearance | ||
- type: GenericVisualizer | ||
visuals: | ||
enum.OpenableVisuals.Opened: | ||
enum.OpenableVisuals.Layer: | ||
True: {state: "icon_open"} | ||
False: {state: "icon"} | ||
- type: Sprite | ||
layers: | ||
- state: icon | ||
map: ["enum.OpenableVisuals.Layer"] | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkJuiceLimeCarton | ||
name: lime juice | ||
description: Sweet-sour goodness. | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
reagents: | ||
- ReagentId: JuiceLime | ||
Quantity: 50 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/limejuice.rsi | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkJuiceOrangeCarton | ||
name: orange juice | ||
description: Full of vitamins and deliciousness! | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
reagents: | ||
- ReagentId: JuiceOrange | ||
Quantity: 50 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/orangejuice.rsi | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkJuiceTomatoCarton | ||
name: tomato juice | ||
description: Well, at least it LOOKS like tomato juice. You can't tell with all that redness. | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
reagents: | ||
- ReagentId: JuiceTomato | ||
Quantity: 50 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/tomatojuice.rsi | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkCreamCarton | ||
name: milk cream | ||
description: It's cream. Made from milk. What else did you think you'd find in there? | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
reagents: | ||
- ReagentId: Cream | ||
Quantity: 50 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/cream.rsi | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkMilkCarton | ||
name: milk | ||
description: An opaque white liquid produced by the mammary glands of mammals. | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
maxVol: 100 | ||
reagents: | ||
- ReagentId: Milk | ||
Quantity: 100 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/milk.rsi | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkSoyMilkCarton | ||
name: soy milk | ||
description: White and nutritious soy goodness! | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
maxVol: 100 | ||
reagents: | ||
- ReagentId: MilkSoy | ||
Quantity: 100 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/soymilk.rsi | ||
|
||
- type: entity | ||
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] | ||
id: DrinkOatMilkCarton | ||
name: oat milk | ||
description: It's oat milk. Tan and nutritious goodness! | ||
components: | ||
- type: SolutionContainerManager | ||
solutions: | ||
drink: | ||
maxVol: 100 | ||
reagents: | ||
- ReagentId: MilkOat | ||
Quantity: 100 | ||
- type: Sprite | ||
sprite: Objects/Consumable/Drinks/oatmilk.rsi |
Oops, something went wrong.