Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7f96244
drink cans
iaada Jul 25, 2025
94f089a
cups and metamorphic
iaada Jul 25, 2025
9f9b439
drinks_special part 1
iaada Jul 25, 2025
fe8c3d2
fix the base types
iaada Jul 25, 2025
47460e0
bottles
iaada Jul 25, 2025
eb8599d
trash drinks gets trashed (fixed)
iaada Jul 25, 2025
05241c2
break up drinks_bottles
iaada Jul 26, 2025
5a4373d
break up drinks_bottles
iaada Jul 26, 2025
12d635c
Revert "trash drinks gets trashed (fixed)"
iaada Jul 26, 2025
ddc192a
cleanup pass
iaada Jul 26, 2025
69a404e
atomize
iaada Jul 26, 2025
5a62572
Merge remote-tracking branch 'upstream/master' into up/drinks-yml
iaada Jul 26, 2025
3774b05
no commit discipline
iaada Jul 26, 2025
3653fc4
fixed well enough
iaada Jul 26, 2025
1c382cf
funny damage
iaada Jul 26, 2025
441f2fe
overkill threshold
iaada Jul 26, 2025
0db3df2
final pass
iaada Jul 26, 2025
68ccb28
material arbitrage
iaada Jul 26, 2025
bbfefc4
typo
iaada Jul 26, 2025
5a65aea
more sound
iaada Jul 26, 2025
4d3e3c7
rename the bases, more destruction
iaada Jul 27, 2025
d0a57fa
lint errors
iaada Jul 27, 2025
9a09a9f
Another quality pass. More descriptive name for base types and give e…
iaada Jul 28, 2025
ae2de02
another pass
iaada Jul 28, 2025
8b6da71
quality passes will continue until i'm satisfied
iaada Jul 29, 2025
2573d86
add a todo
iaada Jul 29, 2025
21aa6c6
consistent use of ExaminableSolution
iaada Jul 29, 2025
2c54d3b
InjectComp
iaada Jul 29, 2025
c473ee6
hard life being so indecisive
iaada Jul 29, 2025
e58103b
more solution status
iaada Jul 29, 2025
6cdf16e
pre-plan for more sounds
iaada Jul 31, 2025
af3af9a
update for #39362 and #39363
iaada Aug 5, 2025
5d6c020
couple more changes
iaada Aug 6, 2025
765db2e
Merge remote-tracking branch 'upstream/master' into up/drinks-yml
iaada Aug 6, 2025
26509b8
lint after losing a LocId in the merge
iaada Aug 6, 2025
48dcf8a
Merge remote-tracking branch 'upstream/master' into up/drinks-yml
iaada Aug 6, 2025
0bd8ad4
fixed conflicts
iaada Aug 6, 2025
08cab00
cardboard modifier set
iaada Aug 6, 2025
4a80333
it's not microbalance if it's hidden in a huge diff
iaada Aug 6, 2025
856bbb3
Merge remote-tracking branch 'upstream/master' into up/drinks-yml
iaada Aug 8, 2025
cf820cb
requested changes
iaada Aug 8, 2025
72d6fc3
variable alias
iaada Aug 9, 2025
63b5f37
no utensil
iaada Sep 1, 2025
29dda79
Merge remote-tracking branch 'upstream/master' into up/drinks-yml
iaada Sep 5, 2025
3a7f8fc
update for glue/lube tube inhand
iaada Sep 5, 2025
b3e06de
They're milk jugs, not milk cartons!
SlamBamActionman Sep 11, 2025
690b4d1
Merge remote-tracking branch 'upstream-origin/master' into fork/iaada…
SlamBamActionman Sep 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
sealable-component-on-examine-is-sealed = The seal is intact.
sealable-component-on-examine-is-unsealed = The seal is broken.
sealable-component-on-examine-is-unsealed-no-cork = The seal is broken, and the cork is gone.
sealable-component-on-examine-is-unsealed-crown-cap = The seal is broken, and the crown cap is bent.
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Fills/Lockers/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- id: DrinkShaker
- id: ClothingEyesHudBeer
- id: HandLabeler
- id: DrinkBottleBeer
- id: DrinkBeerBottleFull
amount: !type:BinomialNumberSelector
trials: 3
- !type:AllSelector
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@
Heat: 5
Structural: 5

# Glass without the flat reductions
- type: damageModifierSet
id: FlimsyGlass
coefficients:
Blunt: 1.2
Slash: 0.5
Piercing: 1.0
Heat: 0.8
Shock: 0 #glass is an insulator!

- type: damageModifierSet
id: RGlass
coefficients:
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Debugging/drugs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- type: entity
parent: DrinkGlassBase
parent: [DrinkBaseMaterialGlass, DrinkBase]
id: DrinkMeth
name: meth # beer it is. coffee. beer? coff-ee? be-er? c-o... b-e
description: Just a whole glass of meth.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- type: entity
parent: DrinkBase
id: DrinkCartonBaseFull
abstract: true
parent: [ DrinkBaseMaterialCardboard, DrinkBase, DrinkBaseOpenable, DrinkVisualsOpenable ]
id: DrinkCartonBaseFull
suffix: Full
components:
- type: Openable
Expand All @@ -10,72 +10,44 @@
closeable: true
closeSound:
collection: bottleCloseSounds
- type: Sealable
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
- type: PressurizedSolution
solution: drink
- type: ExaminableSolution
examinableWhileClosed: false
- type: Shakeable
- type: Sprite
state: icon
- type: Item
size: Small
- 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
maxVol: 100
- type: TrashOnSolutionEmpty
solution: drink
- type: DnaSubstanceTrace
- type: Item
size: Normal

- type: entity
parent: DrinkCartonBaseFull
id: DrinkCartonBaseLargeFull
abstract: true
parent: DrinkCartonBaseFull
id: DrinkCartonSmallBaseFull
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 100
maxVol: 50
- type: Item
size: Normal
size: Small

- type: entity
id: DrinkCartonVisualsOpenable
abstract: true
parent: DrinkCartonBaseFull
id: DrinkCartonBaseXtraLargeFull
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: SolutionContainerManager
solutions:
drink:
maxVol: 150
- type: Tag
tags:
- DrinkBottle # Need this to fit in the soda dispenser, probably needs a better name

# Small carton

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull]
parent: [DrinkBaseMaterialPlastic, DrinkCartonSmallBaseFull]
id: DrinkJuiceLimeCarton
name: lime juice
description: Sweet-sour goodness.
Expand All @@ -90,7 +62,7 @@
sprite: Objects/Consumable/Drinks/limejuice.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull]
parent: DrinkCartonSmallBaseFull
id: DrinkJuiceOrangeCarton
name: orange juice
description: Full of vitamins and deliciousness!
Expand All @@ -105,7 +77,7 @@
sprite: Objects/Consumable/Drinks/orangejuice.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull]
parent: DrinkCartonSmallBaseFull
id: DrinkJuiceTomatoCarton
name: tomato juice
description: Well, at least it LOOKS like tomato juice. You can't tell with all that redness.
Expand All @@ -120,7 +92,7 @@
sprite: Objects/Consumable/Drinks/tomatojuice.rsi

- type: entity
parent: [DrinkBottleVisualsOpenable, DrinkBottlePlasticBaseFull]
parent: DrinkCartonSmallBaseFull
id: DrinkCoconutWaterCarton
name: coconut water
description: It's the inside of the coconut that counts.
Expand All @@ -131,14 +103,11 @@
reagents:
- ReagentId: CoconutWater
Quantity: 50
- type: Drink
- type: Label
currentLabel: reagent-name-coconut-water
- type: Sprite
sprite: Objects/Consumable/Drinks/coconutwater.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull]
parent: DrinkCartonSmallBaseFull
id: DrinkCreamCarton
name: milk cream
description: It's cream. Made from milk. What else did you think you'd find in there?
Expand All @@ -153,7 +122,39 @@
sprite: Objects/Consumable/Drinks/cream.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseLargeFull]
parent: [DrinkBaseMaterialPlastic, DrinkCartonSmallBaseFull]
id: DrinkJuiceLemonCarton
name: lemon juice
description: First it's sour, then it's still sour.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: JuiceLemon
Quantity: 50
- type: Sprite
sprite: Objects/Consumable/Drinks/lemonjuice.rsi

- type: entity
parent: DrinkCartonSmallBaseFull
id: DrinkJuicePineappleCarton
name: pineapple juice
description: Tastes like a tropical vacation far from space.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: JuicePineapple
Quantity: 50
- type: Sprite
sprite: Objects/Consumable/Drinks/pineapplejuice.rsi

# Large carton

- type: entity
parent: [DrinkBaseMaterialPlastic, DrinkCartonBaseFull] # Looks like a plastic jug, fight me
id: DrinkMilkCarton
name: milk
description: An opaque white liquid produced by the mammary glands of mammals.
Expand All @@ -168,7 +169,7 @@
sprite: Objects/Consumable/Drinks/milk.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseLargeFull]
parent: DrinkCartonBaseFull
id: DrinkSoyMilkCarton
name: soy milk
description: White and nutritious soy goodness!
Expand All @@ -183,7 +184,7 @@
sprite: Objects/Consumable/Drinks/soymilk.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseLargeFull]
parent: [DrinkBaseMaterialPlastic, DrinkCartonBaseFull]
id: DrinkOatMilkCarton
name: oat milk
description: It's oat milk. Tan and nutritious goodness!
Expand All @@ -197,32 +198,58 @@
- type: Sprite
sprite: Objects/Consumable/Drinks/oatmilk.rsi

# Xtra large

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull]
id: DrinkJuiceLemonCarton
name: lemon juice
description: First it's sour, then it's still sour.
parent: [DrinkBaseMaterialPlastic, DrinkCartonBaseXtraLargeFull]
id: DrinkJuiceLimeCartonXL
name: lime juice XL
description: Sweet-sour goodness.
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: JuiceLemon
Quantity: 50
- ReagentId: JuiceLime
Quantity: 150
- type: Label
currentLabel: reagent-name-juice-lime
- type: Sprite
sprite: Objects/Consumable/Drinks/lemonjuice.rsi
sprite: Objects/Consumable/Drinks/limejuice.rsi

- type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull]
id: DrinkJuicePineappleCarton
name: pineapple juice
description: Tastes like a tropical vacation far from space.
parent: DrinkCartonBaseXtraLargeFull
id: DrinkJuiceOrangeCartonXL
name: orange juice XL
description: Full of vitamins and deliciousness!
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: JuicePineapple
Quantity: 50
- ReagentId: JuiceOrange
Quantity: 150
- type: Label
currentLabel: reagent-name-juice-orange
- type: Sprite
sprite: Objects/Consumable/Drinks/pineapplejuice.rsi
sprite: Objects/Consumable/Drinks/orangejuice.rsi

- type: entity
parent: DrinkCartonBaseXtraLargeFull
id: DrinkCreamCartonXL
name: milk cream XL
description: It's cream. Made from milk. What else did you think you'd find in there?
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
reagents:
- ReagentId: Cream
Quantity: 150
- type: Label
currentLabel: reagent-name-cream
- type: Sprite
sprite: Objects/Consumable/Drinks/cream.rsi
Loading
Loading