make tinned foods use openable (#19884)
Co-authored-by: deltanedas <@deltanedas:kde.org>
@@ -0,0 +1,17 @@
|
|||||||
|
using Content.Server.Nutrition.EntitySystems;
|
||||||
|
|
||||||
|
namespace Content.Server.Destructible.Thresholds.Behaviors;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Causes the drink/food to open when the destruction threshold is reached.
|
||||||
|
/// If it is already open nothing happens.
|
||||||
|
/// </summary>
|
||||||
|
[DataDefinition]
|
||||||
|
public sealed partial class OpenBehavior : IThresholdBehavior
|
||||||
|
{
|
||||||
|
public void Execute(EntityUid uid, DestructibleSystem system, EntityUid? cause = null)
|
||||||
|
{
|
||||||
|
var openable = EntitySystem.Get<OpenableSystem>();
|
||||||
|
openable.TryOpen(uid);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,8 +1,10 @@
|
|||||||
# Base
|
# Base
|
||||||
|
|
||||||
|
# uses "icon" and "icon-open" states for the main item.
|
||||||
|
# trash prototypes use "trash" state
|
||||||
- type: entity
|
- type: entity
|
||||||
abstract: true
|
abstract: true
|
||||||
parent: BaseItem
|
parent: [FoodBase, FoodOpenableBase]
|
||||||
id: FoodTinBase
|
id: FoodTinBase
|
||||||
name: tin
|
name: tin
|
||||||
description: A tin of something, sealed tight.
|
description: A tin of something, sealed tight.
|
||||||
@@ -11,8 +13,27 @@
|
|||||||
solutions:
|
solutions:
|
||||||
food:
|
food:
|
||||||
maxVol: 20
|
maxVol: 20
|
||||||
- type: Sprite
|
reagents:
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
- ReagentId: Nutriment
|
||||||
|
Quantity: 15
|
||||||
|
- type: Openable
|
||||||
|
openableByHand: false
|
||||||
|
sound:
|
||||||
|
path: /Audio/Items/can_open3.ogg
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
# if tinned food is nuked just delete it, no sound
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 50
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 6
|
||||||
|
behaviors:
|
||||||
|
- !type:OpenBehavior
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
heldPrefix: packet
|
heldPrefix: packet
|
||||||
@@ -27,9 +48,8 @@
|
|||||||
Blunt: 3
|
Blunt: 3
|
||||||
- type: Damageable
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
- type: PhysicalComposition
|
- type: StaticPrice
|
||||||
materialComposition:
|
price: 50
|
||||||
Steel: 100
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
abstract: true
|
abstract: true
|
||||||
@@ -39,17 +59,18 @@
|
|||||||
description: An empty tin. Could get a bit of metal from this.
|
description: An empty tin. Could get a bit of metal from this.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
state: trash
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Consumable/Food/snacks.rsi
|
sprite: Objects/Consumable/Food/snacks.rsi
|
||||||
heldPrefix: packet
|
heldPrefix: packet
|
||||||
size: 3
|
size: 3
|
||||||
- type: Tag
|
|
||||||
tags:
|
|
||||||
- Trash
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
Steel: 100
|
Steel: 100
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Trash
|
||||||
|
|
||||||
# Tins
|
# Tins
|
||||||
|
|
||||||
# Need something that you can open these tins with. I suggest a prying or cutting tool.
|
# Need something that you can open these tins with. I suggest a prying or cutting tool.
|
||||||
@@ -61,41 +82,7 @@
|
|||||||
description: Just a nice can of ripe peaches swimming in their own juices.
|
description: Just a nice can of ripe peaches swimming in their own juices.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: peachtin
|
sprite: Objects/Consumable/Food/Tins/peaches.rsi
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 6
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
path: /Audio/Items/can_open3.ogg
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
FoodTinPeachesOpen:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: StaticPrice
|
|
||||||
price: 50
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
parent: FoodTinBase
|
|
||||||
id: FoodTinPeachesOpen
|
|
||||||
name: tinned peaches
|
|
||||||
description: Just a nice can of ripe peaches swimming in their own juices.
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
state: peachtin-open
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
food:
|
|
||||||
maxVol: 20
|
|
||||||
reagents:
|
|
||||||
- ReagentId: Nutriment
|
|
||||||
Quantity: 15
|
|
||||||
- type: FlavorProfile
|
- type: FlavorProfile
|
||||||
flavors:
|
flavors:
|
||||||
- sweet
|
- sweet
|
||||||
@@ -109,59 +96,39 @@
|
|||||||
name: tinned peaches
|
name: tinned peaches
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: peachtin-empty
|
sprite: Objects/Consumable/Food/Tins/peaches.rsi
|
||||||
|
|
||||||
|
# slightly run down texture and different name
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: FoodTinBase
|
parent: FoodTinPeaches
|
||||||
id: FoodTinPeachesMaint
|
id: FoodTinPeachesMaint
|
||||||
name: Maintenance Peaches
|
name: Maintenance Peaches
|
||||||
description: Just a nice can of ripe peaches swimming in their own juices.
|
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: peachtinmaint
|
sprite: Objects/Consumable/Food/Tins/maint_peaches.rsi
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 6
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
path: /Audio/Items/can_open3.ogg
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
FoodTinPeachesMaintOpen:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: StaticPrice
|
|
||||||
price: 50
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
parent: FoodTinBase
|
|
||||||
id: FoodTinPeachesMaintOpen
|
|
||||||
name: Maintenance Peaches
|
|
||||||
description: Just a nice can of ripe peaches swimming in their own juices.
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
state: peachtinmaint-open
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
food:
|
|
||||||
reagents:
|
|
||||||
- ReagentId: Nutriment
|
|
||||||
Quantity: 15
|
|
||||||
- type: Food
|
- type: Food
|
||||||
trash: FoodTinPeachesMaintTrash
|
trash: FoodTinPeachesMaintTrash
|
||||||
|
|
||||||
|
# only exists for backwards compatibility with a few maps, nothing else uses it
|
||||||
|
- type: entity
|
||||||
|
parent: FoodTinPeachesMaint
|
||||||
|
id: FoodTinPeachesMaintOpen
|
||||||
|
suffix: Open
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: icon-open
|
||||||
|
map: ["icon"]
|
||||||
|
- type: Openable
|
||||||
|
opened: true
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: FoodTinBaseTrash
|
parent: FoodTinBaseTrash
|
||||||
id: FoodTinPeachesMaintTrash
|
id: FoodTinPeachesMaintTrash
|
||||||
name: Maintenance Peaches
|
name: Maintenance Peaches
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: peachtinmaint-empty
|
sprite: Objects/Consumable/Food/Tins/maint_peaches.rsi
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: FoodTinBase
|
parent: FoodTinBase
|
||||||
@@ -170,40 +137,7 @@
|
|||||||
description: Musical fruit in a slightly less musical container.
|
description: Musical fruit in a slightly less musical container.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: beans
|
sprite: Objects/Consumable/Food/Tins/beans.rsi
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 6
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
path: /Audio/Items/can_open3.ogg
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
FoodTinBeansOpen:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: StaticPrice
|
|
||||||
price: 50
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
parent: FoodTinBase
|
|
||||||
id: FoodTinBeansOpen
|
|
||||||
name: tin of beans
|
|
||||||
description: Musical fruit in a slightly less musical container.
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
state: beans-open
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
food:
|
|
||||||
reagents:
|
|
||||||
- ReagentId: Nutriment
|
|
||||||
Quantity: 15
|
|
||||||
- type: FlavorProfile
|
- type: FlavorProfile
|
||||||
flavors:
|
flavors:
|
||||||
- savory
|
- savory
|
||||||
@@ -218,7 +152,8 @@
|
|||||||
name: tin of beans
|
name: tin of beans
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: beans-empty
|
sprite: Objects/Consumable/Food/Tins/beans.rsi
|
||||||
|
|
||||||
# MRE can
|
# MRE can
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
@@ -228,46 +163,10 @@
|
|||||||
description: A standard issue tin of meat with a convenient pull tab.
|
description: A standard issue tin of meat with a convenient pull tab.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/mre.rsi
|
sprite: Objects/Consumable/Food/Tins/meat.rsi
|
||||||
state: tin-closed
|
# the convenient pull tab
|
||||||
- type: Destructible
|
- type: Openable
|
||||||
thresholds:
|
openableByHand: true
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 6
|
|
||||||
behaviors:
|
|
||||||
- !type:PlaySoundBehavior
|
|
||||||
sound:
|
|
||||||
path: /Audio/Items/can_open3.ogg
|
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
FoodTinMREOpen:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: [ "Destruction" ]
|
|
||||||
- type: SpawnItemsOnUse
|
|
||||||
items:
|
|
||||||
- id: FoodTinMREOpen
|
|
||||||
sound:
|
|
||||||
path: /Audio/Items/can_open3.ogg
|
|
||||||
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
parent: FoodTinBase
|
|
||||||
id: FoodTinMREOpen
|
|
||||||
name: tinned meat
|
|
||||||
description: A standard issue tin of meat.
|
|
||||||
components:
|
|
||||||
- type: Sprite
|
|
||||||
sprite: Objects/Consumable/Food/mre.rsi
|
|
||||||
state: tin-open
|
|
||||||
- type: SolutionContainerManager
|
|
||||||
solutions:
|
|
||||||
food:
|
|
||||||
reagents:
|
|
||||||
- ReagentId: Nutriment
|
|
||||||
Quantity: 15
|
|
||||||
- type: FlavorProfile
|
- type: FlavorProfile
|
||||||
flavors:
|
flavors:
|
||||||
- meaty
|
- meaty
|
||||||
@@ -282,5 +181,4 @@
|
|||||||
name: tinned meat
|
name: tinned meat
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/mre.rsi
|
sprite: Objects/Consumable/Food/Tins/meat.rsi
|
||||||
state: tin-trash
|
|
||||||
|
|||||||
@@ -28,3 +28,22 @@
|
|||||||
solution: food
|
solution: food
|
||||||
- type: RefillableSolution
|
- type: RefillableSolution
|
||||||
solution: food
|
solution: food
|
||||||
|
|
||||||
|
# usable by any food that can be opened
|
||||||
|
# handles appearance with states "icon" and "icon-open"
|
||||||
|
- type: entity
|
||||||
|
id: FoodOpenableBase
|
||||||
|
abstract: true
|
||||||
|
components:
|
||||||
|
- type: Appearance
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: icon
|
||||||
|
map: ["icon"]
|
||||||
|
- type: GenericVisualizer
|
||||||
|
visuals:
|
||||||
|
enum.OpenableVisuals.Opened:
|
||||||
|
icon:
|
||||||
|
True: {state: "icon-open"}
|
||||||
|
False: {state: "icon"}
|
||||||
|
- type: Openable
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
- type: FlavorProfile
|
- type: FlavorProfile
|
||||||
flavors:
|
flavors:
|
||||||
- meaty
|
- meaty
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Consumable/Food/meat.rsi
|
sprite: Objects/Consumable/Food/meat.rsi
|
||||||
- type: Extractable
|
- type: Extractable
|
||||||
@@ -524,6 +523,7 @@
|
|||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
- Raw
|
- Raw
|
||||||
|
- Meat
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: rouny
|
state: rouny
|
||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
@@ -615,12 +615,11 @@
|
|||||||
# Cooked
|
# Cooked
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: BaseItem
|
parent: FoodBase
|
||||||
id: MaterialSmileExtract
|
id: MaterialSmileExtract
|
||||||
name: smile extract
|
name: smile extract
|
||||||
description: It's a real panacea. But at what cost?
|
description: It's a real panacea. But at what cost?
|
||||||
components:
|
components:
|
||||||
- type: Food
|
|
||||||
- type: Extractable
|
- type: Extractable
|
||||||
grindableSolutionName: food
|
grindableSolutionName: food
|
||||||
- type: FlavorProfile
|
- type: FlavorProfile
|
||||||
@@ -641,8 +640,6 @@
|
|||||||
Quantity: 10
|
Quantity: 10
|
||||||
- ReagentId: Iron
|
- ReagentId: Iron
|
||||||
Quantity: 10
|
Quantity: 10
|
||||||
- type: Item
|
|
||||||
size: 5
|
|
||||||
- type: StaticPrice
|
- type: StaticPrice
|
||||||
price: 3000 #It has so much Omnizin in it
|
price: 3000 #It has so much Omnizin in it
|
||||||
- type: Tag
|
- type: Tag
|
||||||
@@ -687,7 +684,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: bacon-cooked
|
- state: bacon-cooked
|
||||||
@@ -720,7 +716,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: product-cooked
|
- state: product-cooked
|
||||||
@@ -749,7 +744,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: bird-cooked
|
- state: bird-cooked
|
||||||
@@ -778,7 +772,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: bird-cooked
|
- state: bird-cooked
|
||||||
@@ -836,7 +829,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: bird-cooked
|
- state: bird-cooked
|
||||||
@@ -868,7 +860,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: crab-cooked
|
- state: crab-cooked
|
||||||
@@ -894,7 +885,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: goliath-cooked
|
- state: goliath-cooked
|
||||||
@@ -923,6 +913,7 @@
|
|||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
|
- Meat
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: rouny-cooked
|
- state: rouny-cooked
|
||||||
@@ -948,7 +939,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: lizard-cooked
|
- state: lizard-cooked
|
||||||
@@ -977,7 +967,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- Cooked
|
- Cooked
|
||||||
- Meat
|
- Meat
|
||||||
- type: Food
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: spiderleg-cooked
|
- state: spiderleg-cooked
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 924 B |
|
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 538 B |
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "icon-open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "trash"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
|
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "icon-open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "trash"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
|
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 927 B |
|
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 551 B |
|
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/9c980cb9bc84d07b1c210c5447798af525185f80/icons/obj/food.dmi",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "icon-hot",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.5,
|
||||||
|
0.5,
|
||||||
|
0.5,
|
||||||
|
0.5
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "icon-open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "trash"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 550 B |
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "icon-open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "trash"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
@@ -28,26 +28,6 @@
|
|||||||
{
|
{
|
||||||
"name": "box-closed"
|
"name": "box-closed"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "tin-closed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tin-hot",
|
|
||||||
"delays": [
|
|
||||||
[
|
|
||||||
0.5,
|
|
||||||
0.5,
|
|
||||||
0.5,
|
|
||||||
0.5
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tin-open"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tin-trash"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "candy"
|
"name": "candy"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,15 +7,6 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
{
|
|
||||||
"name": "beans"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "beans-empty"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "beans-open"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "boritos"
|
"name": "boritos"
|
||||||
},
|
},
|
||||||
@@ -104,24 +95,6 @@
|
|||||||
"name": "packet-inhand-left",
|
"name": "packet-inhand-left",
|
||||||
"directions": 4
|
"directions": 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "peachtin"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "peachtin-empty"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "peachtin-open"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "peachtinmaint"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "peachtinmaint-empty"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "peachtinmaint-open"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "pistachio"
|
"name": "pistachio"
|
||||||
},
|
},
|
||||||
|
|||||||