mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
fixes smoke
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
var/spread_amount = 96
|
||||
|
||||
/obj/effect/particle_effect/chem_smoke/New(location, chem_color)
|
||||
..()
|
||||
..(location)
|
||||
color = chem_color
|
||||
pixel_x += -16 + rand(-3, 3)
|
||||
pixel_y += -16 + rand(-3, 3)
|
||||
@@ -65,6 +65,7 @@
|
||||
else
|
||||
location = get_turf(loca)
|
||||
carry.copy_to(chemholder, carry.total_volume)
|
||||
carry.clear_reagents()
|
||||
if(!silent)
|
||||
var/contained = ""
|
||||
for(var/reagent in carry.reagent_list)
|
||||
@@ -105,7 +106,7 @@
|
||||
new /obj/effect/particle_effect/chem_smoke(location, color)
|
||||
|
||||
if(x % 10 == 0) //Once every 10 ticks.
|
||||
SmokeEm(effect_range)
|
||||
INVOKE_ASYNC(src, .proc/SmokeEm, effect_range)
|
||||
|
||||
sleep(1)
|
||||
qdel(src)
|
||||
|
||||
@@ -411,8 +411,6 @@
|
||||
var/smoke_amount = round(sqrt(G.seed.potency * 0.1), 1)
|
||||
S.set_up(G.reagents, splat_location)
|
||||
S.start(smoke_amount)
|
||||
if(G && G.reagents)
|
||||
G.reagents.clear_reagents()
|
||||
|
||||
/datum/plant_gene/trait/plant_type // Parent type
|
||||
name = "you shouldn't see this"
|
||||
|
||||
@@ -279,8 +279,6 @@ datum/chemical_reaction/flash_powder
|
||||
S.start(3)
|
||||
if(created_volume >=15)
|
||||
S.start(4)
|
||||
if(holder && holder.my_atom)
|
||||
holder.clear_reagents()
|
||||
|
||||
/datum/chemical_reaction/smoke/smoke_powder
|
||||
name = "smoke_powder_smoke"
|
||||
|
||||
Reference in New Issue
Block a user