[MIRROR] [Code Bounty] Adds a new kudzu mutation timid and lowers severity of the mutation temperature stabilisation from average to minor [MDB IGNORE] (#16670)

* Adds a new kudzu mutation timid and lowers severity of the mutation temperature stabilisation from average to minor (#70306)

* [Code Bounty] Adds a new kudzu mutation timid and lowers severity of the mutation temperature stabilisation from average to minor

Co-authored-by: Salex08 <33989683+Salex08@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-10-06 07:01:31 +02:00
committed by GitHub
parent 5034839d47
commit daa2ec02cd
+18 -3
View File
@@ -200,7 +200,7 @@
name = "Temperature stabilisation"
hue = "#B09856"
quality = POSITIVE
severity = SEVERITY_AVERAGE
severity = SEVERITY_MINOR
/datum/spacevine_mutation/temp_stabilisation/add_mutation_to_vinepiece(obj/structure/spacevine/holder)
. = ..()
@@ -390,6 +390,18 @@
else
. = expected_damage
/datum/spacevine_mutation/timid
name = "Timid"
hue = "#a4a9ac"
quality = POSITIVE
severity = SEVERITY_MINOR
//This specific mutation only covers floors instead of structures, items, mobs and cant tangle mobs
/datum/spacevine_mutation/timid/on_birth(obj/structure/spacevine/holder)
holder.plane = FLOOR_PLANE
holder.can_tangle = FALSE
return ..()
/datum/spacevine_mutation/flowering
name = "Flowering"
hue = "#66DE93"
@@ -419,7 +431,10 @@
pass_flags = PASSTABLE | PASSGRILLE
max_integrity = 50
var/energy = 0
var/can_spread = TRUE //Can this kudzu spread?
/// Can this kudzu spread?
var/can_spread = TRUE
/// Can this kudzu buckle mobs in?
var/can_tangle = TRUE
var/datum/spacevine_controller/master = null
/// List of mutations for a specific vine
var/list/mutations = list()
@@ -685,7 +700,7 @@
return
for(var/datum/spacevine_mutation/mutation in mutations)
mutation.on_buckle(src, victim)
if((victim.stat != DEAD) && (victim.buckled != src)) //not dead or captured
if((victim.stat != DEAD) && (victim.buckled != src) && can_tangle) //not dead and not captured and can tangle
to_chat(victim, span_userdanger("The vines [pick("wind", "tangle", "tighten")] around you!"))
buckle_mob(victim, 1)