Maintenance on Hydro code, specifically vines and bees.

This commit is contained in:
Mechoid
2023-01-02 18:48:21 -05:00
committed by VirgoBot
parent 6d481f7b93
commit 25e9fe26b6
6 changed files with 132 additions and 64 deletions
@@ -314,6 +314,16 @@
vacuum_traversal = 0
hud_state = "flame"
/obj/item/projectile/bullet/incendiary/flamethrower/after_move()
..()
var/turf/T = get_turf(src)
if(istype(T))
for(var/obj/effect/plant/Victim in T)
if(prob(max(20, 100 - (Victim.seed.get_trait(TRAIT_ENDURANCE))))) // Chance to immediately kill a vine or rampant growth, minimum of 20%.
Victim.die_off()
/obj/item/projectile/bullet/incendiary/flamethrower/large
damage = 5
incendiary = 3