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