Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rainbow Weed #25759

Merged
merged 15 commits into from
Apr 29, 2024
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/reagents/meta/fun.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ reagent-desc-razorium = A strange, non-newtonian chemical. It is produced when t
reagent-name-fresium = Fresium
reagent-desc-fresium = A mysterious compound that slows the vibration of atoms and molecules... somehow. In layman's terms, it makes things cold... REALLY cold. Can cause long-lasting movement issues if ingested.

reagent-name-laughter = Laughter
reagent-name-laughter = laughter
reagent-desc-laughter = Some say that this is the best medicine, but recent studies have proven that to be untrue.

reagent-name-weh = juice that makes you Weh
Expand Down
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/seeds/seeds.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Nouns
# Nouns
seeds-noun-seeds = seeds
seeds-noun-spores = spores

Expand Down Expand Up @@ -59,6 +60,8 @@ seeds-eggy-name = egg-plant
seeds-eggy-display-name = egg-plants
seeds-cannabis-name = cannabis
seeds-cannabis-display-name = cannabis
seeds-rainbow-cannabis-name = rainbow cannabis
seeds-rainbow-cannabis-display-name = rainbow cannabis
seeds-tobacco-name = tobacco
seeds-tobacco-display-name = tobacco plant
seeds-nettle-name = nettle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,34 @@
reagents:
- ReagentId: THC
Quantity: 20

- type: entity
id: JointRainbow
parent: Joint
name: joint
suffix: Rainbow
description: A roll of dried plant matter wrapped in thin paper. Seems to be colorful inside.
components:
- type: Construction
graph: smokeableJointRainbow
node: jointRainbow
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
reagents:
- ReagentId: SpaceDrugs
Quantity: 4
- ReagentId: Lipolicide
Quantity: 4
- ReagentId: MindbreakerToxin
Quantity: 2.66
- ReagentId: Happiness
Quantity: 2.66
# - ReagentId: ColorfulReagent
# Quantity: 1.33
- ReagentId: Psicodine
Quantity: 0.8

- type: entity
id: Blunt
Expand Down Expand Up @@ -59,3 +87,31 @@
reagents:
- ReagentId: THC
Quantity: 20

- type: entity
id: BluntRainbow
parent: Blunt
name: blunt
suffix: Rainbow
description: A roll of dried plant matter wrapped in a dried tobacco leaf. Seems to be colorful inside.
components:
- type: Construction
graph: smokeableBluntRainbow
node: bluntRainbow
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
reagents:
- ReagentId: SpaceDrugs
Quantity: 4
- ReagentId: Lipolicide
Quantity: 4
- ReagentId: MindbreakerToxin
Quantity: 2.66
- ReagentId: Happiness
Quantity: 2.66
# - ReagentId: ColorfulReagent
# Quantity: 1.33
- ReagentId: Psicodine
Quantity: 0.8
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,26 @@
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg

- type: entity
id: SmokingPipeFilledCannabisRainbow
parent: SmokingPipe
name: pipe
suffix: Rainbow Cannabis
description: Just like grandpappy used to smoke.
components:
- type: ContainerContainer
containers:
bowl_slot: !type:ContainerSlot
- type: ItemSlots
- type: SmokingPipe
bowl_slot:
name: smoking-pipe-slot-component-slot-name-bowl
startingItem: GroundCannabisRainbow
whitelist:
tags:
- Smokable
insertSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
ejectSound:
path: /Audio/Weapons/Guns/Empty/empty.ogg
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,101 @@
- Smokable
- type: Item
size: Tiny

- type: entity
name: rainbow cannabis leaves
parent: LeavesCannabis
id: LeavesCannabisRainbow
description: "Is it supposed to be glowing like that...?"
components:
- type: Sprite
sprite: Objects/Specific/Hydroponics/rainbow_cannabis.rsi
- type: Produce
seedId: rainbowCannabis
- type: PointLight
radius: 1.5
energy: 2
- type: RgbLightController
cycleRate: 0.6
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: SpaceDrugs
Quantity: 3
- ReagentId: Lipolicide
Quantity: 3
- ReagentId: MindbreakerToxin
Quantity: 2
- ReagentId: Happiness
Quantity: 2
# - ReagentId: ColorfulReagent
# Quantity: 1
- ReagentId: Psicodine
Quantity: 0.6

- type: entity
name: dried rainbow cannabis leaves
parent: LeavesCannabisDried
id: LeavesCannabisRainbowDried
description: "Dried rainbow cannabis leaves, ready to be ground."
components:
- type: Stack
stackType: LeavesCannabisRainbowDried
count: 1
- type: SolutionContainerManager
solutions:
food:
maxVol: 8.5 #fuck you saveload test fail
reagents:
- ReagentId: SpaceDrugs
Quantity: 2.4
- ReagentId: Lipolicide
Quantity: 2.4
- ReagentId: MindbreakerToxin
Quantity: 1.6
- ReagentId: Happiness
Quantity: 1.6
# - ReagentId: ColorfulReagent
# Quantity: 0.8
- ReagentId: Psicodine
Quantity: 0.48
- type: Sprite
sprite: Objects/Specific/Hydroponics/rainbow_cannabis.rsi
state: dried

- type: entity
name: ground rainbow cannabis
parent: GroundCannabis
id: GroundCannabisRainbow
description: "Ground rainbow cannabis, ready to take you on a trip."
components:
- type: Stack
stackType: GroundCannabisRainbow
count: 1
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: SpaceDrugs
Quantity: 4
- ReagentId: Lipolicide
Quantity: 4
- ReagentId: MindbreakerToxin
Quantity: 2.66
- ReagentId: Happiness
Quantity: 2.66
# - ReagentId: ColorfulReagent
# Quantity: 1.33
- ReagentId: Psicodine
Quantity: 0.8
- type: Sprite
sprite: Objects/Specific/Hydroponics/rainbow_cannabis.rsi
state: powderpile_rainbow
color: white
- type: Construction
graph: smokeableGroundCannabisRainbow
node: groundRainbow

- type: entity
name: tobacco leaves
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,17 @@
- type: Sprite
sprite: Objects/Specific/Hydroponics/cannabis.rsi

- type: entity
parent: SeedBase
name: packet of rainbow cannabis seeds
description: "These seeds grow into rainbow weed. Groovy... and also highly addictive."
id: RainbowCannabisSeeds
components:
- type: Seed
seedId: rainbowCannabis
- type: Sprite
sprite: Objects/Specific/Hydroponics/rainbow_cannabis.rsi

- type: entity
parent: SeedBase
name: packet of nettle seeds
Expand Down
47 changes: 47 additions & 0 deletions Resources/Prototypes/Hydroponics/seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@
packetPrototype: CannabisSeeds
productPrototypes:
- LeavesCannabis
mutationPrototypes:
- rainbowCannabis
harvestRepeat: Repeat
lifespan: 75
maturation: 8
Expand All @@ -810,6 +812,51 @@
Max: 10
PotencyDivisor: 10

- type: seed
id: rainbowCannabis
name: seeds-rainbow-cannabis-name
noun: seeds-noun-seeds
displayName: seeds-rainbow-cannabis-display-name
plantRsi: Objects/Specific/Hydroponics/rainbow_cannabis.rsi
packetPrototype: RainbowCannabisSeeds
productPrototypes:
- LeavesCannabisRainbow
harvestRepeat: Repeat
lifespan: 75
maturation: 8
production: 12
yield: 2
potency: 20
growthStages: 3
waterConsumption: 0.40
idealLight: 9
idealHeat: 298
chemicals:
SpaceDrugs:
Min: 1
Max: 15
PotencyDivisor: 10
Lipolicide:
Min: 1
Max: 15
PotencyDivisor: 10
MindbreakerToxin:
Min: 1
Max: 5
PotencyDivisor: 20
Happiness:
Min: 1
Max: 5
# PotencyDivisor: 20
# ColorfulReagent:
# Min: 0
# Max: 5
# PotencyDivisor: 20
Psicodine:
Min: 0
Max: 5
PotencyDivisor: 33

- type: seed
id: tobacco
name: seeds-tobacco-name
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Recipes/Cooking/meal_recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,14 @@
solids:
LeavesCannabis: 1

- type: microwaveMealRecipe
id: RecipeDriedCannabisRainbow
name: dried rainbow cannabis leaves recipe
result: LeavesCannabisRainbowDried
time: 10
solids:
LeavesCannabisRainbow: 1

- type: microwaveMealRecipe
id: RecipeTrashBakedBananaPeel
name: baked banana peel recipe
Expand Down
43 changes: 43 additions & 0 deletions Resources/Prototypes/Recipes/Crafting/Graphs/smokeables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@
doAfter: 2
- node: joint
entity: Joint

- type: constructionGraph
id: smokeableJointRainbow
start: start
graph:
- node: start
edges:
- to: jointRainbow
steps:
- material: PaperRolling
- material: CigaretteFilter
- material: GroundCannabisRainbow
doAfter: 2
- node: jointRainbow
entity: JointRainbow

- type: constructionGraph
id: smokeableBlunt
Expand All @@ -27,6 +42,20 @@
- node: blunt
entity: Blunt

- type: constructionGraph
id: smokeableBluntRainbow
start: start
graph:
- node: start
edges:
- to: bluntRainbow
steps:
- material: LeavesTobaccoDried
- material: GroundCannabisRainbow
doAfter: 2
- node: bluntRainbow
entity: BluntRainbow

- type: constructionGraph
id: smokeableCigarette
start: start
Expand Down Expand Up @@ -56,6 +85,20 @@
- node: ground
entity: GroundCannabis

- type: constructionGraph
id: smokeableGroundCannabisRainbow
start: start
graph:
- node: start
edges:
- to: groundRainbow
steps:
- material: LeavesCannabisRainbowDried
amount: 2
doAfter: 5
- node: groundRainbow
entity: GroundCannabisRainbow

- type: constructionGraph
id: smokeableGroundTobacco
start: start
Expand Down
Loading
Loading