From: ZeroDayDaemon <60460608+ZeroDayDaemon@users.noreply.github.com> Date: Tue, 31 Oct 2023 04:09:13 +0000 (-0400) Subject: Pea Plants (#20504) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a302775ac03866094d1aeb953a13caafb039531c;p=space-station-14.git Pea Plants (#20504) * Add Pea Plants * Pea soup * Update flavor-profiles.ftl * Update seeds.yml * Add seeds to vendors * Make things more expensive to fix free money exploit * Update textures * Revert "Update textures" This reverts commit b1b7046504afc7468742b0722f601d98684a1c89. Vines dont grow straight into the air. * Shift up 4 pixels * Fuck autofix conflitcs * Shift up 3 more pizels * I finally got byond working so I made sure they were EXACTLY the same * Address Reviews? I think? --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> --- diff --git a/Resources/Locale/en-US/seeds/seeds.ftl b/Resources/Locale/en-US/seeds/seeds.ftl index 1f4ac7e5f8..890d292660 100644 --- a/Resources/Locale/en-US/seeds/seeds.ftl +++ b/Resources/Locale/en-US/seeds/seeds.ftl @@ -97,5 +97,7 @@ seeds-berries-name = berries seeds-berries-display-name = berry bush seeds-bungo-name = bungo seeds-bungo-display-name = bungo plant +seeds-pea-name = pea +seeds-pea-display-name = pea vines seeds-pumpkin-name = pumpkin -seeds-pumpkin-display-name = pumpkins \ No newline at end of file +seeds-pumpkin-display-name = pumpkins diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_botany.yml b/Resources/Prototypes/Catalog/Cargo/cargo_botany.yml index f56b729217..4a80b76a3f 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_botany.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_botany.yml @@ -34,10 +34,10 @@ sprite: Objects/Specific/Hydroponics/apple.rsi state: seed product: CrateHydroponicsSeeds - cost: 500 + cost: 550 category: Hydroponics group: market - + - type: cargoProduct id: BulkPlantBGone icon: diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml index fb635ae8b5..0d38d1088e 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml @@ -164,7 +164,7 @@ sprite: Objects/Specific/Service/vending_machine_restock.rsi state: base product: CrateVendingMachineRestockSeedsFilled - cost: 3125 + cost: 3250 category: Hydroponics group: market diff --git a/Resources/Prototypes/Catalog/Fills/Crates/botany.yml b/Resources/Prototypes/Catalog/Fills/Crates/botany.yml index 5d2798a667..e4297fe62e 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/botany.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/botany.yml @@ -82,3 +82,4 @@ - id: SoybeanSeeds - id: GrapeSeeds - id: WatermelonSeeds + - id: PeaSeeds diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/seeds.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/seeds.yml index 28972e4913..c48100f4ec 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/seeds.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/seeds.yml @@ -34,5 +34,6 @@ WatermelonSeeds: 5 CocoaSeeds: 3 BerrySeeds: 5 + PeaSeeds: 5 emaggedInventory: FlyAmanitaSeeds: 1 diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml index f0da095bbd..6a19f801a6 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml @@ -1566,6 +1566,29 @@ - type: SpaceGarbage - type: BadFood +- type: entity + parent: FoodProduceBase + id: FoodPeaPod + name: pea pod + description: A duck's favorite treat! + components: + - type: FlavorProfile + flavors: + - peas + - type: SolutionContainerManager + solutions: + food: + maxVol: 5 + reagents: + - ReagentId: Nutriment + Quantity: 3 + - ReagentId: Vitamin + Quantity: 2 + - type: Sprite + sprite: Objects/Specific/Hydroponics/pea.rsi + - type: Produce + seedId: pea + - type: entity name: pumpkin parent: FoodProduceBase diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml index 92946f6f7a..fa87c5a5a0 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml @@ -79,7 +79,7 @@ maxVol: 15 reagents: - ReagentId: Nutriment - Quantity: 8 + Quantity: 10 - ReagentId: Vitamin Quantity: 5 diff --git a/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml b/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml index a851ce2626..a731a12997 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml @@ -499,6 +499,17 @@ - type: Sprite sprite: Objects/Specific/Hydroponics/bungo.rsi +- type: entity + parent: SeedBase + id: PeaSeeds + name: packet of pea pods + description: "These humble plants were once a vital part in the study of genetics." + components: + - type: Seed + seedId: pea + - type: Sprite + sprite: Objects/Specific/Hydroponics/pea.rsi + - type: entity parent: SeedBase name: packet of pumpkin seeds diff --git a/Resources/Prototypes/Hydroponics/seeds.yml b/Resources/Prototypes/Hydroponics/seeds.yml index 894f0f0202..20d3f2d853 100644 --- a/Resources/Prototypes/Hydroponics/seeds.yml +++ b/Resources/Prototypes/Hydroponics/seeds.yml @@ -1137,7 +1137,7 @@ Nutriment: Min: 1 Max: 3 - PotencyDivisor: 25 + PotencyDivisor: 25 - type: seed id: koibean @@ -1303,6 +1303,35 @@ Max: 10 PotencyDivisor: 20 +- type: seed + id: pea + name: seeds-pea-name + noun: seeds-noun-seeds + displayName: seeds-pea-display-name + plantRsi: Objects/Specific/Hydroponics/pea.rsi + packetPrototype: PeaSeeds + productPrototypes: + - FoodPeaPod + lifespan: 25 + growthStages: 3 + maturation: 8 + production: 6 + yield: 3 + potency: 25 + idealLight: 8 + harvestRepeat: Repeat + nutrientConsumption: 0.5 + waterConsumption: 0.5 + chemicals: + Nutriment: + Min: 1 + Max: 3 + PotencyDivisor: 33 + Vitamin: + Min: 1 + Max: 2 + PotencyDivisor: 50 + - type: seed id: pumpkin name: seeds-pumpkin-name @@ -1327,4 +1356,4 @@ Vitamin: Min: 1 Max: 5 - PotencyDivisor: 20 \ No newline at end of file + PotencyDivisor: 20 diff --git a/Resources/Prototypes/Recipes/Cooking/meal_recipes.yml b/Resources/Prototypes/Recipes/Cooking/meal_recipes.yml index 0ebf88e892..92ec105246 100644 --- a/Resources/Prototypes/Recipes/Cooking/meal_recipes.yml +++ b/Resources/Prototypes/Recipes/Cooking/meal_recipes.yml @@ -1743,6 +1743,17 @@ FoodPlate: 1 FoodButter: 1 +- type: microwaveMealRecipe + id: RecipePeaSoup + name: pea soup recipe + result: FoodSoupPea + time: 10 + solids: + FoodPeaPod: 2 + FoodBowlBig: 1 + reagents: + Water: 10 + - type: microwaveMealRecipe id: RecipeTacoShell name: taco shell recipe diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/dead.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/dead.png new file mode 100644 index 0000000000..8fa7120b29 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/dead.png differ diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/harvest.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/harvest.png new file mode 100644 index 0000000000..d4f146d88a Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/harvest.png differ diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/meta.json b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/meta.json new file mode 100644 index 0000000000..c78dcee56d --- /dev/null +++ b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/meta.json @@ -0,0 +1,32 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/a5e6db8f99b436b643bd3b76fa131ac074dfd856", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "dead" + }, + { + "name": "harvest" + }, + { + "name": "produce" + }, + { + "name": "seed" + }, + { + "name": "stage-1" + }, + { + "name": "stage-2" + }, + { + "name": "stage-3" + } + ] +} diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/produce.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/produce.png new file mode 100644 index 0000000000..d5881c2e3e Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/produce.png differ diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/seed.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/seed.png new file mode 100644 index 0000000000..7f7931e440 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/seed.png differ diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-1.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-1.png new file mode 100644 index 0000000000..cfd3786315 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-1.png differ diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-2.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-2.png new file mode 100644 index 0000000000..b724176aa5 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-2.png differ diff --git a/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-3.png b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-3.png new file mode 100644 index 0000000000..fd9cfaaa3d Binary files /dev/null and b/Resources/Textures/Objects/Specific/Hydroponics/pea.rsi/stage-3.png differ