diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/bottles.yml b/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/bottles.yml index 177c4dd44a..cffdbfd4a7 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/bottles.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/bottles.yml @@ -1,7 +1,7 @@ #Base for future bottles - type: entity name: Green Bottle - parent: CP14BaseVial + parent: CP14BaseVialFragile id: CP14GreenBottle suffix: Empty categories: [ ForkFiltered ] diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/mugs.yml b/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/mugs.yml index c08b2aa7ac..d5ae2e716f 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/mugs.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Drinks/mugs.yml @@ -1,5 +1,68 @@ - type: entity - parent: DrinkBaseMug + parent: BaseItem + id: CP14DrinkBaseMug + abstract: true + categories: [ ForkFiltered ] + components: + - type: Sprite + sprite: Objects/Consumable/Drinks/mug.rsi + layers: + - state: icon-0 + - map: ["enum.SolutionContainerLayers.Fill"] + state: icon-3 + visible: false + - type: MeleeWeapon + soundNoDamage: + path: "/Audio/Effects/Fluids/splat.ogg" + damage: + types: + Blunt: 0 + - type: SolutionContainerManager + solutions: + mug: + maxVol: 10 + - type: CP14SolutionTemperature + - type: MixableSolution + solution: mug + - type: FitsInDispenser + solution: mug + - type: RefillableSolution + solution: mug + - type: DrainableSolution + solution: mug + - type: ExaminableSolution + solution: mug + - type: DrawableSolution + solution: mug + - type: InjectableSolution + solution: mug + - type: SolutionItemStatus + solution: mug + - type: TrashOnSolutionEmpty + solution: mug + - type: UserInterface + interfaces: + enum.TransferAmountUiKey.Key: + type: TransferAmountBoundUserInterface + - type: Spillable + solution: mug + - type: Drink + solution: mug + - type: Appearance + - type: Injector + solutionName: mug + injectOnly: false + ignoreMobs: true + minTransferAmount: 1 + maxTransferAmount: 10 + transferAmount: 1 + toggleState: 1 # draw + - type: SolutionContainerVisuals + maxFillLevels: 3 + fillBaseName: icon- + +- type: entity + parent: CP14DrinkBaseMug id: CP14MetalBeerMug name: Metal mug categories: [ ForkFiltered ] @@ -9,7 +72,7 @@ sprite: _CP14/Objects/Consumable/Drinks/beer_mug_4.rsi - type: entity - parent: DrinkBaseMug + parent: CP14DrinkBaseMug id: CP14WoodenBeerMug name: Wooden mug categories: [ ForkFiltered ] @@ -19,7 +82,7 @@ sprite: _CP14/Objects/Consumable/Drinks/beer_mug_1.rsi - type: entity - parent: DrinkBaseMug + parent: CP14DrinkBaseMug id: CP14SteelBeerMug name: Beer mug categories: [ ForkFiltered ] @@ -29,7 +92,7 @@ sprite: _CP14/Objects/Consumable/Drinks/beer_mug_2.rsi - type: entity - parent: DrinkBaseMug + parent: CP14DrinkBaseMug id: CP14SteelWoodBeerMug name: Beer mug categories: [ ForkFiltered ] diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Specific/Alchemy/vials.yml b/Resources/Prototypes/_CP14/Entities/Objects/Specific/Alchemy/vials.yml index 4f67f85d06..449c4b9b7e 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Specific/Alchemy/vials.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Specific/Alchemy/vials.yml @@ -37,6 +37,8 @@ type: TransferAmountBoundUserInterface - type: Drink solution: vial + - type: Spillable + solution: vial - type: Appearance - type: Damageable damageContainer: Inorganic