New crop: Cotton (#21536)

* Add cotton plant

* Adddescription and tag to cotton bal allow moth eat it

* Fix typo. Add cotton seed into MegaSeed

* Fix typo

* Fix typo

* Fix cottonbol component typo

* Fix the amount of cotton that bol gives

* Adding correct component to make cotton bol edible

* Change cotton bol parent to see if it is edible

* Adding flavor to cotton bol, and fix typo

* Replace image

* fixing plant image position

* Increase the Megaseed restock crate price to avoid money farming loop hole
This commit is contained in:
DoubleRiceEddiedd
2023-11-09 09:54:07 +08:00
committed by GitHub
parent cb1e79928e
commit 2ef29fb222
15 changed files with 99 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ flavor-complex-tomato = like tomatoes
flavor-complex-corn = like corn
flavor-complex-banana = like bananas
flavor-complex-apple = like apples
flavor-complex-cotton = like cottons
flavor-complex-bungo = like bungo
flavor-complex-raisins = like dried grapes
flavor-complex-orange = like oranges

View File

@@ -101,3 +101,5 @@ seeds-pea-name = pea
seeds-pea-display-name = pea vines
seeds-pumpkin-name = pumpkin
seeds-pumpkin-display-name = pumpkins
seeds-cotton-name = cotton
seeds-cotton-display-name = cotton plant

View File

@@ -164,7 +164,7 @@
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: CrateVendingMachineRestockSeedsFilled
cost: 3250
cost: 3375
category: Hydroponics
group: market

View File

@@ -35,5 +35,6 @@
CocoaSeeds: 3
BerrySeeds: 5
PeaSeeds: 5
CottonSeeds: 5
emaggedInventory:
FlyAmanitaSeeds: 1

View File

@@ -1636,3 +1636,31 @@
- type: Tag
tags:
- Fruit
- type: entity
name: cotton bol
description: Moth people's favorite snack, and just as fluffy as them.
id: CottonBol
parent: FoodProduceBase
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/cotton.rsi
- type: FlavorProfile
flavors:
- cotton
- type: Food
requiresSpecialDigestion: true
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Fiber
Quantity: 10
- type: Log
spawnedPrototype: MaterialCotton1
spawnCount: 2
- type: Produce
seedId: cotton
- type: Tag
tags:
- ClothMade

View File

@@ -519,3 +519,13 @@
seedId: pumpkin
- type: Sprite
sprite: Objects/Specific/Hydroponics/pumpkin.rsi
- type: entity
parent: SeedBase
name: packet of cotton seeds
id: CottonSeeds
components:
- type: Seed
seedId: cotton
- type: Sprite
sprite: Objects/Specific/Hydroponics/cotton.rsi

View File

@@ -1357,3 +1357,27 @@
Min: 1
Max: 5
PotencyDivisor: 20
- type: seed
id: cotton
name: seeds-cotton-name
noun: seeds-noun-seeds
displayName: seeds-cotton-display-name
plantRsi: Objects/Specific/Hydroponics/cotton.rsi
packetPrototype: CottonSeeds
productPrototypes:
- CottonBol
lifespan: 25
maturation: 8
production: 3
yield: 3
potency: 5
idealLight: 8
growthStages: 3
waterConsumption: 0.60
chemicals:
Fiber:
Min: 5
Max: 10
PotencyDivisor: 20

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B