Add capfruit, a gatfruit mutation. (#30850)

* add base

* add fake suffix and flavor fix

* address some reviews

* parent it

* fix test fail

* add FoodSequence support and address small review
This commit is contained in:
Ubaser
2024-08-13 21:08:40 +10:00
committed by GitHub
parent 0998645077
commit 135d52406a
13 changed files with 155 additions and 1 deletions

View File

@@ -1850,6 +1850,54 @@
sprite: Objects/Specific/Hydroponics/gatfruit.rsi
state: produce
- type: entity
name: capfruit
parent: FoodProduceBase
id: FoodRealCapfruit
description: A soft but smooth gun-shaped fruit.
components:
- type: FlavorProfile
flavors:
- plastic
- type: SolutionContainerManager
solutions:
food:
maxVol: 10
reagents:
- ReagentId: Nutriment
Quantity: 5
- ReagentId: Sulfur
Quantity: 5
- type: Sprite
sprite: Objects/Specific/Hydroponics/capfruit.rsi
- type: Produce
seedId: realCapfruit
- type: Food
trash:
- RevolverCapGun
- type: Tag
tags:
- Fruit
- type: FoodSequenceElement
entries:
burger:
name: food-sequence-burger-content-capfruit
sprite:
sprite: Objects/Specific/Hydroponics/capfruit.rsi
state: produce
- type: entity
name: capfruit
parent: FoodRealCapfruit
id: FoodFakeCapfruit
suffix: Fake
components:
- type: Produce
seedId: fakeCapfruit
- type: Food
trash:
- RevolverCapGunFake
- type: entity
name: rice bushel
description: Can be ground into rice, perfect for pudding or sake.

View File

@@ -633,3 +633,22 @@
seedId: pyrotton
- type: Sprite
sprite: Objects/Specific/Hydroponics/pyrotton.rsi
- type: entity
parent: SeedBase
id: RealCapfruitSeeds
name: packet of capfruit seeds
description: "Is it real, or is it fake?"
components:
- type: Seed
seedId: realCapfruit
- type: Sprite
sprite: Objects/Specific/Hydroponics/capfruit.rsi
- type: entity
parent: RealCapfruitSeeds
id: FakeCapfruitSeeds
suffix: Fake
components:
- type: Seed
seedId: fakeCapfruit

View File

@@ -1102,4 +1102,4 @@
- type: flavor
id: paintthinner
flavorType: Complex
description: flavor-complex-paint-thinner
description: flavor-complex-paint-thinner

View File

@@ -1319,6 +1319,61 @@
packetPrototype: GatfruitSeeds
productPrototypes:
- FoodGatfruit
mutationPrototypes:
- fakeCapfruit
- realCapfruit
lifespan: 65
maturation: 25
production: 25
yield: 1
potency: 10
growthStages: 2
idealLight: 6
chemicals:
Nutriment:
Min: 1
Max: 5
PotencyDivisor: 20
Sulfur:
Min: 1
Max: 5
PotencyDivisor: 20
- type: seed
id: fakeCapfruit
name: seeds-capfruit-name
noun: seeds-noun-seeds
displayName: seeds-capfruit-display-name
plantRsi: Objects/Specific/Hydroponics/capfruit.rsi
packetPrototype: FakeCapfruitSeeds
productPrototypes:
- FoodFakeCapfruit
lifespan: 65
maturation: 25
production: 25
yield: 1
potency: 10
growthStages: 2
idealLight: 6
chemicals:
Nutriment:
Min: 1
Max: 5
PotencyDivisor: 20
Sulfur:
Min: 1
Max: 5
PotencyDivisor: 20
- type: seed
id: realCapfruit
name: seeds-capfruit-name
noun: seeds-noun-seeds
displayName: seeds-capfruit-display-name
plantRsi: Objects/Specific/Hydroponics/capfruit.rsi
packetPrototype: RealCapfruitSeeds
productPrototypes:
- FoodRealCapfruit
lifespan: 65
maturation: 25
production: 25