drink-component-on-examine-is-opened = [color=yellow]Opened[/color]
drink-component-on-examine-is-sealed = The seal is intact.
drink-component-on-examine-is-unsealed = The seal is broken.
+drink-component-on-examine-is-unsealed-no-cork = The seal is broken, and the cork is gone.
+drink-component-on-examine-is-unsealed-crown-cap = The seal is broken, and the crown cap is bent.
drink-component-try-use-drink-not-open = Open {$owner} first!
drink-component-try-use-drink-is-empty = {CAPITALIZE(THE($entity))} is empty!
drink-component-try-use-drink-cannot-drink = You can't drink anything!
types:
Blunt: 0
- type: DnaSubstanceTrace
- - type: Drink
+ - type: Drink # Namesake. You are able to directly drink from this entity.
+ solution: drink
- type: Spillable
solution: drink
- type: MixableSolution
solution: drink
- type: DrainableSolution
solution: drink
- - type: InjectableSolution # Injectors (syringe) will fallback to RefillableSolution. This adds support for hyposprays and liquid anomalies.
+ - type: InjectableSolution # Injectors (syringe) will fall back to RefillableSolution. This adds support for hyposprays and liquid anomalies.
solution: drink
- type: ExaminableSolution
solution: drink
- type: Sprite
layers:
- state: icon_open
+ map: ["enum.OpenableVisuals.Layer"]
- type: Openable
opened: true
- type: Sealable
## Material costs to apply to a drink
-# These bases should always be the first parent
+# These bases should always be the parented before DrinkBase, or before a prototype inheriting DrinkBase.
+# - That way they override any previously inherited material, and material specific sounds aren't overridden by BaseItem.
# Fragile glass
- type: entity
- type: Openable
closeable: false # Champagne corks are fat. Not worth the effort.
- type: Sealable
- examineTextUnsealed: drink-component-on-examine-is-unsealed-no-cork # tell the player why it can't close
+ examineTextUnsealed: "drink-component-on-examine-is-unsealed-no-cork" # tell the player why it can't close
- type: entity
parent: [DrinkVisualsAllFilled, DrinkBottleGlassBaseFull]
- type: Openable
closeable: false # sprite is just a beer bottle, but this should be removed when there's a more appropriate sprite
- type: Sealable
- examineTextUnsealed: drink-component-on-examine-is-unsealed-crown-cap # tell the player why it can't close
+ examineTextUnsealed: "drink-component-on-examine-is-unsealed-crown-cap" # tell the player why it can't close
- type: Tag
tags:
- Beer
- type: Openable
closeable: false # sprite is just a beer bottle, but this should be removed when there's a more appropriate sprite
- type: Sealable
- examineTextUnsealed: drink-component-on-examine-is-unsealed-crown-cap # tell the player why it can't close
+ examineTextUnsealed: "drink-component-on-examine-is-unsealed-crown-cap" # tell the player why it can't close
# Small glass bottles
- type: Openable
closeable: false # can't put the cap back on
- type: Sealable
- examineTextUnsealed: drink-component-on-examine-is-unsealed-crown-cap # tell the player why it can't close
+ examineTextUnsealed: "drink-component-on-examine-is-unsealed-crown-cap" # tell the player why it can't close
- type: Tag
tags:
- Beer
- type: Openable
closeable: false # can't put the cap back on
- type: Sealable
- examineTextUnsealed: drink-component-on-examine-is-unsealed-crown-cap # tell the player why it can't close
+ examineTextUnsealed: "drink-component-on-examine-is-unsealed-crown-cap" # tell the player why it can't close
- type: entity
parent: [DrinkVisualsOpenable, DrinkBottleGlassSmallBaseFull]