Incendiary >= 2 projectile fixes. (#4127)

* A whole load of things.

* Fixes the SM Rod's travel distance.

* Flame it again, Tony. Fixes flamefuel spawning on rock-wall turf.
This commit is contained in:
Mechoid
2017-10-21 22:26:33 -07:00
committed by Anewbe
parent 6a52111680
commit 48d8375cac
2 changed files with 6 additions and 3 deletions

View File

@@ -333,9 +333,11 @@
else if(!bumped)
tracer_effect(effect_transform)
if(incendiary >= 2 && !istype(src.loc, /turf/simulated/wall))
var/trail_volume = (flammability * 0.20)
new /obj/effect/decal/cleanable/liquid_fuel/flamethrower_fuel(src.loc, trail_volume, src.dir)
if(incendiary >= 2) //This should cover the bases of 'Why is there fuel here?' in a much cleaner way than previous.
if(src && src.loc) //Safety.
if(!src.loc.density)
var/trail_volume = (flammability * 0.20)
new /obj/effect/decal/cleanable/liquid_fuel/flamethrower_fuel(src.loc, trail_volume, src.dir)
if(!hitscan)
sleep(step_delay) //add delay between movement iterations if it's not a hitscan weapon

View File

@@ -272,6 +272,7 @@
flammability = 4
agony = 30
kill_count = 4
vacuum_traversal = 0
/obj/item/projectile/bullet/incendiary/flamethrower/large
damage = 15