Merge pull request #608 from Fox-McCloud/Temporary-Fires

New Feature: Temporary Fires, Napalm Rework, and Dragon's Breath Round Fix
This commit is contained in:
Mark van Alphen
2015-03-23 15:38:28 +01:00
4 changed files with 20 additions and 20 deletions
+3 -13
View File
@@ -382,19 +382,9 @@ datum
required_reagents = list("aluminum" = 1, "plasma" = 1, "sacid" = 1 )
result_amount = 1
on_reaction(var/datum/reagents/holder, var/created_volume)
var/turf/location = get_turf(holder.my_atom.loc)
for(var/turf/simulated/floor/target_tile in range(0,location))
var/datum/gas_mixture/napalm = new
var/datum/gas/volatile_fuel/fuel = new
fuel.moles = created_volume
napalm.trace_gases += fuel
napalm.temperature = 400+T0C
napalm.update_values()
target_tile.assume_air(napalm)
spawn (0) target_tile.hotspot_expose(700, 400)
var/turf/simulated/T = get_turf(holder.my_atom)
for(var/turf/simulated/turf in range(created_volume/10,T))
new /obj/fire(turf)
holder.del_reagent("napalm")
return