Reduces size of smaller cartons and fix size discrepancies with empty containers (#26430)

* Reduces size of smaller cartons

* Fix trash bottles/cartons

---------

Co-authored-by: Velcroboy <velcroboy333@hotmail.com>
This commit is contained in:
Velcroboy
2024-03-25 23:04:42 -05:00
committed by GitHub
parent d636be9cc4
commit 47fe7d3cc6
2 changed files with 49 additions and 33 deletions

View File

@@ -17,7 +17,7 @@
- type: Sprite - type: Sprite
state: icon state: icon
- type: Item - type: Item
size: Normal size: Small
- type: MeleeWeapon - type: MeleeWeapon
soundNoDamage: soundNoDamage:
path: "/Audio/Effects/Fluids/splat.ogg" path: "/Audio/Effects/Fluids/splat.ogg"
@@ -39,6 +39,18 @@
- type: TrashOnSolutionEmpty - type: TrashOnSolutionEmpty
solution: drink solution: drink
- type: entity
parent: DrinkCartonBaseFull
id: DrinkCartonBaseLargeFull
abstract: true
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 100
- type: Item
size: Normal
- type: entity - type: entity
id: DrinkCartonVisualsOpenable id: DrinkCartonVisualsOpenable
abstract: true abstract: true
@@ -116,7 +128,7 @@
sprite: Objects/Consumable/Drinks/cream.rsi sprite: Objects/Consumable/Drinks/cream.rsi
- type: entity - type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseLargeFull]
id: DrinkMilkCarton id: DrinkMilkCarton
name: milk name: milk
description: An opaque white liquid produced by the mammary glands of mammals. description: An opaque white liquid produced by the mammary glands of mammals.
@@ -124,7 +136,6 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
drink: drink:
maxVol: 100
reagents: reagents:
- ReagentId: Milk - ReagentId: Milk
Quantity: 100 Quantity: 100
@@ -132,7 +143,7 @@
sprite: Objects/Consumable/Drinks/milk.rsi sprite: Objects/Consumable/Drinks/milk.rsi
- type: entity - type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseLargeFull]
id: DrinkSoyMilkCarton id: DrinkSoyMilkCarton
name: soy milk name: soy milk
description: White and nutritious soy goodness! description: White and nutritious soy goodness!
@@ -140,7 +151,6 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
drink: drink:
maxVol: 100
reagents: reagents:
- ReagentId: MilkSoy - ReagentId: MilkSoy
Quantity: 100 Quantity: 100
@@ -148,7 +158,7 @@
sprite: Objects/Consumable/Drinks/soymilk.rsi sprite: Objects/Consumable/Drinks/soymilk.rsi
- type: entity - type: entity
parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseLargeFull]
id: DrinkOatMilkCarton id: DrinkOatMilkCarton
name: oat milk name: oat milk
description: It's oat milk. Tan and nutritious goodness! description: It's oat milk. Tan and nutritious goodness!
@@ -156,7 +166,6 @@
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
drink: drink:
maxVol: 100
reagents: reagents:
- ReagentId: MilkOat - ReagentId: MilkOat
Quantity: 100 Quantity: 100

View File

@@ -8,6 +8,8 @@
components: components:
- type: Sprite - type: Sprite
state: icon state: icon
- type: Item
size: Normal
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
drink: drink:
@@ -72,6 +74,19 @@
Glass: 100 Glass: 100
- type: SpaceGarbage - type: SpaceGarbage
- type: entity
name: base empty bottle
id: DrinkBottleBaseSmallEmpty
parent: DrinkBottleBaseEmpty
abstract: true
components:
- type: Item
size: Small
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
- type: entity - type: entity
name: base empty carton name: base empty carton
id: DrinkCartonBaseEmpty id: DrinkCartonBaseEmpty
@@ -122,6 +137,19 @@
Cardboard: 20 Cardboard: 20
- type: SpaceGarbage - type: SpaceGarbage
- type: entity
name: base empty bottle
id: DrinkCartonBaseLargeEmpty
parent: DrinkCartonBaseEmpty
abstract: true
components:
- type: Item
size: Normal
- type: SolutionContainerManager
solutions:
drink:
maxVol: 100
# Containers # Containers
- type: entity - type: entity
name: Jailbreaker Verte bottle name: Jailbreaker Verte bottle
@@ -143,28 +171,20 @@
- type: entity - type: entity
name: ale bottle name: ale bottle
parent: DrinkBottleBaseEmpty parent: DrinkBottleBaseSmallEmpty
id: DrinkBottleAle id: DrinkBottleAle
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/TrashDrinks/alebottle_empty.rsi sprite: Objects/Consumable/TrashDrinks/alebottle_empty.rsi
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
- type: entity - type: entity
name: beer bottle name: beer bottle
parent: DrinkBottleBaseEmpty parent: DrinkBottleBaseSmallEmpty
id: DrinkBottleBeer id: DrinkBottleBeer
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/TrashDrinks/beer_empty.rsi sprite: Objects/Consumable/TrashDrinks/beer_empty.rsi
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
- type: entity - type: entity
@@ -322,37 +342,24 @@
- type: entity - type: entity
name: milk carton name: milk carton
parent: DrinkCartonBaseEmpty parent: DrinkCartonBaseLargeEmpty
id: DrinkCartonMilk id: DrinkCartonMilk
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/milk.rsi sprite: Objects/Consumable/Drinks/milk.rsi
- type: SolutionContainerManager
solutions:
drink:
maxVol: 100
- type: entity - type: entity
name: soy milk carton name: soy milk carton
parent: DrinkCartonBaseEmpty parent: DrinkCartonBaseLargeEmpty
id: DrinkCartonSoyMilk id: DrinkCartonSoyMilk
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/soymilk.rsi sprite: Objects/Consumable/Drinks/soymilk.rsi
- type: SolutionContainerManager
solutions:
drink:
maxVol: 100
- type: entity - type: entity
name: oat milk carton name: oat milk carton
parent: DrinkCartonBaseEmpty parent: DrinkCartonBaseLargeEmpty
id: DrinkCartonOatMilk id: DrinkCartonOatMilk
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/oatmilk.rsi sprite: Objects/Consumable/Drinks/oatmilk.rsi
- type: SolutionContainerManager
solutions:
drink:
maxVol: 100