Add cocoa cultivation (#18366)
* Add cocoa cultivation * fix * Fix 2 * fix 3 Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> --------- Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
@@ -9,3 +9,6 @@ reagent-desc-vitamin = Found in healthy, complete meals.
|
||||
|
||||
reagent-name-protein = protein
|
||||
reagent-desc-protein = Found in certain meals, good for bodily health.
|
||||
|
||||
reagent-name-cocoapowder = сocoa powder
|
||||
reagent-desc-cocoapowder = From the best varieties of cocoa beans
|
||||
|
||||
@@ -75,3 +75,5 @@ seeds-watermelon-name = watermelon
|
||||
seeds-watermelon-display-name = watermelon plant
|
||||
seeds-grape-name = grape
|
||||
seeds-grape-display-name = grape plant
|
||||
seeds-cocoa-name = cocoa
|
||||
seeds-cocoa-display-name = cocoa plant
|
||||
|
||||
@@ -31,5 +31,6 @@
|
||||
TowercapSeeds: 5
|
||||
WheatSeeds: 5
|
||||
WatermelonSeeds: 5
|
||||
CocoaSeeds: 3
|
||||
emaggedInventory:
|
||||
FlyAmanitaSeeds: 1
|
||||
|
||||
@@ -620,3 +620,32 @@
|
||||
- type: Tag
|
||||
tags:
|
||||
- Trash
|
||||
|
||||
- type: entity
|
||||
name: cocoa beans
|
||||
parent: FoodProduceBase
|
||||
id: FoodCocoaBeans
|
||||
description: You can never have too much chocolate!
|
||||
components:
|
||||
- type: FlavorProfile
|
||||
flavors:
|
||||
- chocolate
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Hydroponics/cocoa.rsi
|
||||
state: produce-beans
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 14
|
||||
reagents:
|
||||
- ReagentId: Nutriment
|
||||
Quantity: 2
|
||||
- ReagentId: Vitamin
|
||||
Quantity: 1
|
||||
- ReagentId: CocoaPowder
|
||||
Quantity: 2
|
||||
- type: Extractable
|
||||
juiceSolution:
|
||||
reagents:
|
||||
- ReagentId: CocoaPowder
|
||||
Quantity: 2
|
||||
|
||||
@@ -579,6 +579,36 @@
|
||||
- ReagentId: JuiceApple
|
||||
Quantity: 10
|
||||
|
||||
- type: entity
|
||||
name: cocoa pod
|
||||
parent: FoodProduceBase
|
||||
id: FoodCocoaPod
|
||||
description: You can never have too much chocolate!
|
||||
components:
|
||||
- type: FlavorProfile
|
||||
flavors:
|
||||
- chocolate
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 14
|
||||
reagents:
|
||||
- ReagentId: Nutriment
|
||||
Quantity: 2
|
||||
- ReagentId: Vitamin
|
||||
Quantity: 1
|
||||
- ReagentId: CocoaPowder
|
||||
Quantity: 1
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Hydroponics/cocoa.rsi
|
||||
- type: Produce
|
||||
seedId: cocoa
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: FoodCocoaBeans
|
||||
sound:
|
||||
path: /Audio/Effects/packetrip.ogg
|
||||
|
||||
- type: entity
|
||||
name: ear of corn
|
||||
parent: FoodProduceBase
|
||||
|
||||
@@ -118,6 +118,8 @@
|
||||
Quantity: 10
|
||||
- ReagentId: Theobromine
|
||||
Quantity: 3
|
||||
- ReagentId: CocoaPowder
|
||||
Quantity: 1
|
||||
|
||||
- type: entity
|
||||
name: energy bar
|
||||
|
||||
@@ -384,4 +384,14 @@
|
||||
seedId: grape
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Hydroponics/grape.rsi
|
||||
|
||||
- type: entity
|
||||
parent: SeedBase
|
||||
name: packet of cocoa seeds
|
||||
id: CocoaSeeds
|
||||
components:
|
||||
- type: Seed
|
||||
seedId: cocoa
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Hydroponics/cocoa.rsi
|
||||
|
||||
@@ -961,3 +961,30 @@
|
||||
Min: 1
|
||||
Max: 5
|
||||
PotencyDivisor: 20
|
||||
|
||||
- type: seed
|
||||
id: cocoa
|
||||
name: seeds-cocoa-name
|
||||
noun: seeds-noun-seeds
|
||||
displayName: seeds-cocoa-display-name
|
||||
plantRsi: Objects/Specific/Hydroponics/cocoa.rsi
|
||||
packetPrototype: CocoaSeeds
|
||||
productPrototypes:
|
||||
- FoodCocoaPod
|
||||
harvestRepeat: Repeat
|
||||
lifespan: 50
|
||||
maturation: 6
|
||||
production: 6
|
||||
yield: 6
|
||||
idealLight: 7
|
||||
waterConsumption: 6
|
||||
idealHeat: 298
|
||||
chemicals:
|
||||
Vitamin:
|
||||
Min: 1
|
||||
Max: 4
|
||||
PotencyDivisor: 25
|
||||
Nutriment:
|
||||
Min: 1
|
||||
Max: 2
|
||||
PotencyDivisor: 50
|
||||
|
||||
@@ -197,3 +197,29 @@
|
||||
type: Local
|
||||
messages: [ "capsaicin-effect-light-burn" ]
|
||||
probability: 0.2
|
||||
|
||||
- type: reagent
|
||||
id: CocoaPowder #Candy and chocolate
|
||||
name: reagent-name-cocoapowder
|
||||
group: Foods
|
||||
desc: reagent-desc-cocoapowder
|
||||
physicalDesc: reagent-physical-desc-powdery
|
||||
flavor: chocolate
|
||||
color: "#800000"
|
||||
meltingPoint: 146.0
|
||||
metabolisms:
|
||||
Food:
|
||||
effects:
|
||||
- !type:SatiateHunger
|
||||
conditions:
|
||||
- !type:ReagentThreshold #Only satiates when eaten with nutriment
|
||||
reagent: Nutriment
|
||||
min: 0.1
|
||||
factor: 1
|
||||
plantMetabolism:
|
||||
- !type:PlantAdjustNutrition
|
||||
amount: 0.1
|
||||
- !type:PlantAdjustWeeds
|
||||
amount: 2
|
||||
- !type:PlantAdjustPests
|
||||
amount: 2
|
||||
|
||||
@@ -266,3 +266,19 @@
|
||||
effects:
|
||||
- !type:CreateEntityReactionEffect
|
||||
entity: FoodMeatMeatball
|
||||
|
||||
- type: reaction
|
||||
id: CreateChocolate
|
||||
impact: Low
|
||||
quantized: true
|
||||
conserveEnergy: false
|
||||
reactants:
|
||||
CocoaPowder:
|
||||
amount: 4
|
||||
Milk:
|
||||
amount: 2
|
||||
Sugar:
|
||||
amount: 2
|
||||
effects:
|
||||
- !type:CreateEntityReactionEffect
|
||||
entity: FoodSnackChocolateBar
|
||||
|
||||
|
After Width: | Height: | Size: 218 B |
|
After Width: | Height: | Size: 330 B |
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13. produce-beans drawn by FillerVK",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "dead"
|
||||
},
|
||||
{
|
||||
"name": "harvest"
|
||||
},
|
||||
{
|
||||
"name": "produce"
|
||||
},
|
||||
{
|
||||
"name": "produce-beans"
|
||||
},
|
||||
{
|
||||
"name": "seed"
|
||||
},
|
||||
{
|
||||
"name": "stage-1"
|
||||
},
|
||||
{
|
||||
"name": "stage-2"
|
||||
},
|
||||
{
|
||||
"name": "stage-3"
|
||||
},
|
||||
{
|
||||
"name": "stage-4"
|
||||
},
|
||||
{
|
||||
"name": "stage-5"
|
||||
},
|
||||
{
|
||||
"name": "stage-6"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 252 B |
|
After Width: | Height: | Size: 327 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 143 B |
|
After Width: | Height: | Size: 149 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 216 B |
|
After Width: | Height: | Size: 270 B |
|
After Width: | Height: | Size: 270 B |