mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Merge branch 'master' of https://github.com/tgstation/tgstation into upstream-sync
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
/// Flag - Traits that share an ID cannot be placed on the same plant.
|
||||
var/trait_ids
|
||||
/// Flag - Modifications made to the final product.
|
||||
var/trait_flags = TRAIT_SHOW_EXAMINE
|
||||
var/trait_flags = NONE
|
||||
/// A blacklist of seeds that a trait cannot be attached to.
|
||||
var/list/obj/item/seeds/seed_blacklist
|
||||
|
||||
@@ -374,6 +374,7 @@
|
||||
icon = FA_ICON_LIGHTBULB
|
||||
rate = 0.03
|
||||
description = "It emits a soft glow."
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
trait_ids = GLOW_ID
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
/// The color of our bioluminescence.
|
||||
@@ -402,6 +403,7 @@
|
||||
name = "Shadow Emission"
|
||||
rate = 0.04
|
||||
glow_color = COLOR_BIOLUMINESCENCE_SHADOW
|
||||
description = "It absorbs light around it."
|
||||
|
||||
/datum/plant_gene/trait/glow/shadow/glow_power(obj/item/seeds/seed)
|
||||
return -max(seed.potency*(rate*0.2), 0.2)
|
||||
@@ -517,7 +519,7 @@
|
||||
description = "The reagent volume is doubled, halving the plant yield instead."
|
||||
icon = FA_ICON_FLASK_VIAL
|
||||
rate = 2
|
||||
trait_flags = TRAIT_SHOW_EXAMINE|TRAIT_HALVES_YIELD
|
||||
trait_flags = TRAIT_HALVES_YIELD
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
|
||||
/datum/plant_gene/trait/maxchem/on_new_plant(obj/item/our_plant, newloc)
|
||||
@@ -637,6 +639,7 @@
|
||||
icon = FA_ICON_SYRINGE
|
||||
trait_ids = REAGENT_TRANSFER_ID
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/stinging/on_new_plant(obj/item/our_plant, newloc)
|
||||
. = ..()
|
||||
@@ -852,9 +855,10 @@
|
||||
*/
|
||||
/datum/plant_gene/trait/eyes
|
||||
name = "Oculary Mimicry"
|
||||
description = "It will watch after you."
|
||||
description = "It watches after you."
|
||||
icon = FA_ICON_EYE
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
/// Our googly eyes appearance.
|
||||
var/mutable_appearance/googly
|
||||
|
||||
@@ -873,6 +877,7 @@
|
||||
icon = FA_ICON_BANDAGE
|
||||
trait_ids = THROW_IMPACT_ID
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/sticky/on_new_plant(obj/item/our_plant, newloc)
|
||||
. = ..()
|
||||
@@ -913,7 +918,7 @@
|
||||
description = "It consumes nutriments to heat up other reagents, halving the yield."
|
||||
icon = FA_ICON_TEMPERATURE_ARROW_UP
|
||||
trait_ids = TEMP_CHANGE_ID
|
||||
trait_flags = TRAIT_SHOW_EXAMINE|TRAIT_HALVES_YIELD
|
||||
trait_flags = TRAIT_HALVES_YIELD
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
|
||||
/**
|
||||
@@ -925,7 +930,7 @@
|
||||
description = "It consumes nutriments to cool down other reagents, halving the yield."
|
||||
icon = FA_ICON_TEMPERATURE_ARROW_DOWN
|
||||
trait_ids = TEMP_CHANGE_ID
|
||||
trait_flags = TRAIT_SHOW_EXAMINE|TRAIT_HALVES_YIELD
|
||||
trait_flags = TRAIT_HALVES_YIELD
|
||||
mutability_flags = PLANT_GENE_REMOVABLE | PLANT_GENE_MUTATABLE | PLANT_GENE_GRAFTABLE
|
||||
|
||||
/// Prevents species mutation, while still allowing wild mutation harvest and Floral Somatoray species mutation. Trait acts as a tag for hydroponics.dm to recognise.
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
force_multiplier = 0.2
|
||||
degrades_after_hit = TRUE
|
||||
degradation_noun = "petals"
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/attack/novaflower_attack/attack_effect(obj/item/our_plant, mob/living/target, mob/living/user)
|
||||
if(!istype(target))
|
||||
@@ -191,6 +192,7 @@
|
||||
name = "Rose Thorns"
|
||||
description = "The stem has a lot of thorns."
|
||||
traits_to_check = list(TRAIT_PIERCEIMMUNE)
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/backfire/rose_thorns/backfire_effect(obj/item/our_plant, mob/living/carbon/user)
|
||||
var/obj/item/seeds/our_seed = our_plant.get_plant_seed()
|
||||
@@ -207,6 +209,7 @@
|
||||
name = "Burning Stem"
|
||||
description = "The stem may burn your hand."
|
||||
cancel_action_on_backfire = TRUE
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/backfire/novaflower_heat/backfire_effect(obj/item/our_plant, mob/living/carbon/user)
|
||||
to_chat(user, span_danger("[our_plant] singes your bare hand!"))
|
||||
@@ -217,6 +220,7 @@
|
||||
/datum/plant_gene/trait/backfire/nettle_burn
|
||||
name = "Stinging Stem"
|
||||
description = "The stem may sting your hand."
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/backfire/nettle_burn/backfire_effect(obj/item/our_plant, mob/living/carbon/user)
|
||||
to_chat(user, span_danger("[our_plant] burns your bare hand!"))
|
||||
@@ -239,7 +243,8 @@
|
||||
/// Ghost-Chili heating up on backfire
|
||||
/datum/plant_gene/trait/backfire/chili_heat
|
||||
name = "Active Capsicum Glands"
|
||||
description = "You may survive a cold winter with this in hand."
|
||||
description = "It emits a strong heat when handled."
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
genes_to_check = list(/datum/plant_gene/trait/chem_heating)
|
||||
/// The mob currently holding the chili.
|
||||
var/datum/weakref/held_mob
|
||||
@@ -457,6 +462,7 @@
|
||||
name = "Large Bites"
|
||||
description = "You can't hold off from eating this in one bite!"
|
||||
icon = FA_ICON_DRUMSTICK_BITE
|
||||
trait_flags = TRAIT_SHOW_EXAMINE
|
||||
|
||||
/datum/plant_gene/trait/one_bite/on_new_plant(obj/item/our_plant, newloc)
|
||||
. = ..()
|
||||
@@ -685,14 +691,13 @@
|
||||
name = "Complex Harvest"
|
||||
description = "Halves the maximum yield of the plant, and prevents it from benefiting from pollination's yield bonus."
|
||||
icon = FA_ICON_SLASH
|
||||
trait_flags = TRAIT_SHOW_EXAMINE|TRAIT_HALVES_YIELD|TRAIT_NO_POLLINATION
|
||||
trait_flags = TRAIT_HALVES_YIELD|TRAIT_NO_POLLINATION
|
||||
mutability_flags = NONE
|
||||
|
||||
/// Poppy's unique trait that allows slicing for sap
|
||||
/datum/plant_gene/trait/opium_production
|
||||
name = "Sap Buds"
|
||||
description = "Using a knife or other sharp object on the plant between ages 200 seconds to 400 seconds will yield a sap."
|
||||
trait_flags = NONE
|
||||
icon = FA_ICON_PILLS
|
||||
/// Has parent plant been harvested for sap already?
|
||||
var/extracted = FALSE
|
||||
|
||||
Reference in New Issue
Block a user