diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml index 3dbff39133..b6e3dc4868 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml @@ -147,8 +147,6 @@ - type: FlavorProfile flavors: - banana - - type: Food - trash: TrashBananaPeel - type: SolutionContainerManager solutions: food: @@ -167,6 +165,26 @@ reagents: - ReagentId: JuiceBanana Quantity: 10 + - type: SpawnItemsOnUse + items: + - id: FoodBananaPeeled + sound: + path: /Audio/Effects/unwrap.ogg + +- type: entity + name: banana + parent: FoodBanana + suffix: Peeled + id: FoodBananaPeeled + description: Rich in potassium. + components: + - type: Food + trash: TrashBananaPeel + - type: Sprite + sprite: Objects/Specific/Hydroponics/banana.rsi + state: peeled + - type: SpawnItemsOnUse + uses: 0 - type: entity name: banana peel diff --git a/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/meta.json b/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/meta.json index 88c277fde7..db7aff4573 100644 --- a/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/meta.json +++ b/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/meta.json @@ -1,7 +1,7 @@ { "version": 1, "license": "CC-BY-SA-3.0", - "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/6be7633abca9f1a51cab1020500cf0776ce78e5c", + "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/6be7633abca9f1a51cab1020500cf0776ce78e5c, peeled by potato1234x", "size": { "x": 32, "y": 32 @@ -25,6 +25,9 @@ { "name": "peel3" }, + { + "name": "peeled" + }, { "name": "peel-inhand-left", "directions": 4 diff --git a/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/peeled.png b/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/peeled.png new file mode 100644 index 0000000000..d6f7bcc926 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/banana.rsi/peeled.png differ