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

@@ -52,6 +52,7 @@ food-sequence-burger-content-ambrosia = ambro
food-sequence-burger-content-galaxy = galaxy
food-sequence-burger-content-glasstle = glass
food-sequence-burger-content-gatfruit = gat
food-sequence-burger-content-capfruit = cap
food-sequence-burger-content-rice = rice
food-sequence-burger-content-soy = soy
food-sequence-burger-content-koibean = koi

View File

@@ -124,3 +124,5 @@ seeds-cotton-name = cotton
seeds-cotton-display-name = cotton plant
seeds-pyrotton-name = pyrotton
seeds-pyrotton-display-name = pyrotton plant
seeds-capfruit-name = capfruit
seeds-capfruit-display-name = capfruit tree

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,29 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation/commit/40d89d11ea4a5cb81d61dc1018b46f4e7d32c62a, redrawn by Ubaser.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "dead"
},
{
"name": "harvest"
},
{
"name": "produce"
},
{
"name": "seed"
},
{
"name": "stage-1"
},
{
"name": "stage-2"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB