mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #14290 from VOREStation/upstream-merge-8851
[MIRROR] Maintenance on Hydro code, specifically vines and bees.
This commit is contained in:
committed by
CHOMPStation2
parent
541cfe409b
commit
e9c2487299
@@ -319,6 +319,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
|
||||
|
||||
Reference in New Issue
Block a user