Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flora anomaly seeds #31987

Merged
merged 9 commits into from
Sep 21, 2024
1 change: 1 addition & 0 deletions Resources/Locale/en-US/flavors/flavor-profiles.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ flavor-base-fishy = fishy
flavor-base-crabby = crabby
flavor-base-cheesy = cheesy
flavor-base-funny = funny
flavor-base-strange = strange
flavor-base-tingly = tingly
flavor-base-acid = acidic
flavor-base-leafy = leafy
Expand Down
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/nutrition/components/food-sequence.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ food-sequence-content-berries = berries
food-sequence-content-spacemans-trumpet = spaceman's trupmet
food-sequence-content-cherry = cherry
food-sequence-content-snail = snail
food-sequence-content-anomaly-berry = anomaly berry

# BURGERS

Expand Down Expand Up @@ -116,6 +117,7 @@ food-sequence-burger-content-suppermatter = supper
food-sequence-burger-content-hamster = hams
food-sequence-burger-content-berries = berri
food-sequence-burger-content-spacemans-trumpet = spacetrump
food-sequence-burger-content-anomaly-berry = anom
food-sequence-burger-content-extradimensional-orange = 3d
food-sequence-burger-content-world-pea = peace

Expand Down
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/seeds/seeds.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,5 @@ seeds-capfruit-name = capfruit
seeds-capfruit-display-name = capfruit tree
seeds-cherry-name = cherry
seeds-cherry-display-name = cherry tree
seeds-anomaly-berry-name = anomaly berry
seeds-anomaly-berry-display-name = anomaly berries
56 changes: 24 additions & 32 deletions Resources/Prototypes/Entities/Effects/mobspawn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,36 +82,28 @@
tags:
- HideContextMenu
- type: AnimationPlayer
- type: RandomSpawner
- type: EntityTableSpawner
deleteSpawnerAfterSpawn: false
rareChance: 0.1
offset: 0.3
chance: 1
prototypes:
- FoodAmbrosiaVulgaris
- FoodAloe
- FoodCabbage
- FoodCarrot
- FoodGalaxythistle
- FoodLemon
- FoodLime
- FoodPeaPod
- FoodPineapple
- FoodOnionRed
- FoodWatermelon
- FoodAmbrosiaVulgaris
- FoodAloe
- FoodCabbage
- FoodCarrot
- FoodGalaxythistle
- FoodLemon
- FoodLime
- FoodPeaPod
- FoodPineapple
- FoodOnionRed
- FoodWatermelon
- FoodGatfruit
- MobTomatoKiller
rarePrototypes:
- MobLuminousEntity
- MobLuminousObject
table: !type:NestedSelector
tableId: AnomalyFloraLootTable

- type: entityTable
id: AnomalyFloraLootTable
table: !type:GroupSelector
children:
- id: FoodAmbrosiaVulgaris
- id: FoodAloe
- id: FoodCabbage
- id: FoodGalaxythistle
- id: FoodLemon
- id: FoodLime
- id: FoodPeaPod
- id: FoodPineapple
- id: FoodOnionRed
- id: FoodWatermelon
- id: FoodCherry
- id: MobTomatoKiller
- id: MobLuminousEntity
- id: MobLuminousObject
- id: FoodGatfruit # 0.007% spawn chance. 1 / 141
weight: 0.10
36 changes: 36 additions & 0 deletions Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2553,3 +2553,39 @@
seedId: cherry
- type: SpaceGarbage
- type: BadFood

- type: entity
name: anomaly berry
description: A strange blue fruit. Something about it doesn't seem right.
parent: FoodProduceBase
id: FoodAnomalyBerry
components:
- type: FlavorProfile
flavors:
- strange
- type: Sprite
sprite: Objects/Specific/Hydroponics/anomaly_berry.rsi
state: produce
- type: Produce
seedId: anomalyBerry
- type: Food
trash:
- EffectAnomalyFloraBulb # Random loot
slarticodefast marked this conversation as resolved.
Show resolved Hide resolved
- type: SolutionContainerManager
solutions:
food:
maxVol: 5
reagents:
- ReagentId: Nutriment
Quantity: 2
- ReagentId: Vitamin
Quantity: 2
- ReagentId: Artifexium
Quantity: 1
- type: Tag
tags:
- Fruit
- type: FoodSequenceElement
entries:
Taco: AnomalyBerry
Burger: AnomalyBerryBurger
Original file line number Diff line number Diff line change
Expand Up @@ -725,3 +725,13 @@
seedId: cherry
- type: Sprite
sprite: Objects/Specific/Hydroponics/cherry.rsi

- type: entity
parent: SeedBase
name: packet of anomaly berry seeds
id: AnomalyBerrySeeds
components:
- type: Seed
seedId: anomalyBerry
- type: Sprite
sprite: Objects/Specific/Hydroponics/anomaly_berry.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
id: AnomalyCoreFlora
suffix: Flora
components:
- type: Seed
seedId: anomalyBerry
- type: Sprite
sprite: Structures/Specific/Anomalies/Cores/flora_core.rsi
- type: PointLight
Expand Down Expand Up @@ -307,6 +309,8 @@
id: AnomalyCoreFloraInert
suffix: Flora, Inert
components:
- type: Seed
seedId: anomalyBerry
- type: Sprite
sprite: Structures/Specific/Anomalies/Cores/flora_core.rsi
- type: PointLight
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/Flavors/flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
flavorType: Base
description: flavor-base-funny

- type: flavor
id: strange
flavorType: Base
description: flavor-base-strange

- type: flavor
id: tingly
flavorType: Base
Expand Down
31 changes: 31 additions & 0 deletions Resources/Prototypes/Hydroponics/seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1951,3 +1951,34 @@
Min: 1
Max: 3
PotencyDivisor: 40

- type: seed
id: anomalyBerry
name: seeds-anomaly-berry-name
noun: seeds-noun-seeds
displayName: seeds-anomaly-berry-display-name
plantRsi: Objects/Specific/Hydroponics/anomaly_berry.rsi
packetPrototype: AnomalyBerrySeeds
productPrototypes:
- FoodAnomalyBerry
lifespan: 25
maturation: 12
production: 3
yield: 3
potency: 10
growthStages: 2
waterConsumption: 0.60
nutrientConsumption: 0.50
chemicals:
Artifexium:
Min: 1
Max: 1
PotencyDivisor: 4
Nutriment:
Min: 1
Max: 2
PotencyDivisor: 30
Vitamin:
Min: 1
Max: 2
PotencyDivisor: 40
17 changes: 17 additions & 0 deletions Resources/Prototypes/Recipes/Cooking/food_sequence_element.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1176,3 +1176,20 @@
sprites:
- sprite: Objects/Consumable/Food/Baked/cake.rsi
state: suppermatter-shard


# Anomaly berries

- type: foodSequenceElement
id: AnomalyBerry
name: food-sequence-content-anomaly-berry
sprites:
- sprite: Objects/Specific/Hydroponics/anomaly_berry.rsi
state: produce

- type: foodSequenceElement
id: AnomalyBerryBurger
name: food-sequence-burger-content-anomaly-berry
sprites:
- sprite: Objects/Specific/Hydroponics/anomaly_berry.rsi
state: produce
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by TheShuEd for Space Station 14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "dead"
},
{
"name": "harvest"
},
{
"name": "produce"
},
{
"name": "seed"
},
{
"name": "stage-1"
},
{
"name": "stage-2"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading