diff --git a/code/modules/mob/living/simple_animal/abnormality/waw/snow_whites_apple.dm b/code/modules/mob/living/simple_animal/abnormality/waw/snow_whites_apple.dm index abb0bc0654b3..d4ba5c23f222 100644 --- a/code/modules/mob/living/simple_animal/abnormality/waw/snow_whites_apple.dm +++ b/code/modules/mob/living/simple_animal/abnormality/waw/snow_whites_apple.dm @@ -72,6 +72,7 @@ initial_language_holder = /datum/language_holder/plant //essentially flavor var/togglemovement = FALSE var/toggleplants = TRUE + var/nightmare_mode = FALSE var/plant_cooldown = 30 var/hedge_cooldown = 0 var/hedge_cooldown_delay = FLORAL_BARRIER_COOLDOWN @@ -152,9 +153,18 @@ if(toggleplants) SpreadPlants() oldGrowth() - for(var/obj/structure/spreading/apple_vine/W in urange(15, get_turf(src))) + var/list/area_of_influence + if(nightmare_mode) + area_of_influence = vine_list + else + area_of_influence = urange(15, get_turf(src)) + for(var/obj/structure/spreading/apple_vine/W in area_of_influence) if(W.last_expand <= world.time) W.expand() + else if(nightmare_mode && ranged_cooldown <= world.time) + var/list/did_we_hit = HurtInTurf(get_turf(W), list(), 30, BLACK_DAMAGE, check_faction = TRUE, hurt_mechs = TRUE) + if(did_we_hit.len) + W.VineAttack(pick(did_we_hit)) if(teleport_cooldown <= world.time && !togglemovement && !client && !IsCombatMap()) TryTeleport()