From 4d595a665b14880b887a989c92823066dca6f187 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Sun, 13 Feb 2022 17:36:01 -0500 Subject: [PATCH] Plant Bags (#6685) --- .../Catalog/Fills/Lockers/service.yml | 1 + .../VendingMachines/Inventories/nutri.yml | 2 +- .../Objects/Specific/Hydroponics/seeds.yml | 2 ++ .../Objects/Specific/Hydroponics/tools.yml | 25 ++++++++++++++++++ .../Equipment/plant_bag.rsi/equipped-BELT.png | Bin 0 -> 964 bytes .../Equipment/plant_bag.rsi/icon.png | Bin 0 -> 1141 bytes .../Equipment/plant_bag.rsi/meta.json | 18 +++++++++++++ 7 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/equipped-BELT.png create mode 100644 Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/icon.png create mode 100644 Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/meta.json diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/service.yml b/Resources/Prototypes/Catalog/Fills/Lockers/service.yml index cf4a9cae80..232de81a80 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/service.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/service.yml @@ -83,6 +83,7 @@ amount: 2 - id: HydroponicsToolClippers - id: ClothingBeltPlant + - id: PlantBag ##Some maps don't have nutrivend - id: TowercapSeeds - id: BananaSeeds prob: 0.6 diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/nutri.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/nutri.yml index 93abb22531..3f9d6348cc 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/nutri.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/nutri.yml @@ -4,6 +4,7 @@ spriteName: nutri startingInventory: HydroponicsToolSpade: 3 + PlantBag: 2 PlantBGoneSpray: 20 WeedSpray: 20 PestSpray: 20 @@ -13,5 +14,4 @@ #cultivator #secateurs #plant analyzer - #plant bag diff --git a/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml b/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml index 09b9478453..c309fa8dd2 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml @@ -9,6 +9,8 @@ sprite: Objects/Specific/Hydroponics/seeds.rsi state: seed netsync: true + - type: Item + size: 2 - type: entity parent: SeedBase diff --git a/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/tools.yml b/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/tools.yml index a58901e170..37c7158de6 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/tools.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/tools.yml @@ -107,3 +107,28 @@ Piercing: 5 # I guess you can stab it into them? - type: Item sprite: Objects/Tools/Hydroponics/spade.rsi + +- type: entity + name: plant bag + id: PlantBag + parent: BaseItem + description: A bag for botanists to easily move their huge harvests. + components: + - type: Sprite + netsync: false + sprite: Objects/Specific/Hydroponics/Equipment/plant_bag.rsi + state: icon + - type: Clothing + sprite: Objects/Specific/Hydroponics/Equipment/plant_bag.rsi + QuickEquip: false + Slots: + - belt + size: 200 + - type: Storage + capacity: 200 + quickInsert: true + areaInsert: true + whitelist: + components: + - Produce + - Seed diff --git a/Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/equipped-BELT.png b/Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/equipped-BELT.png new file mode 100644 index 0000000000000000000000000000000000000000..95bff80b6a0a8dc53ac93e2728209ce1aa393218 GIT binary patch literal 964 zcmV;#13UbQP)EX>4Tx04R}tkv&MmKpe$i(@I5J94u7CAwzYtAS&XhRVYG*P%E_RU~=gfG-*gu zTpR`0f`cE6RRKlt6PRhXP;C4~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 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/meta.json b/Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/meta.json new file mode 100644 index 0000000000..94a0a612d4 --- /dev/null +++ b/Resources/Textures/Objects/Specific/Hydroponics/Equipment/plant_bag.rsi/meta.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/40d89d11ea4a5cb81d61dc1018b46f4e7d32c62a", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "equipped-BELT", + "directions": 4 + } + ] +}