Automatic conversion via Regex

This commit is contained in:
Remie Richards
2016-06-11 18:37:48 +01:00
parent a041255b80
commit fda2c699fc
126 changed files with 323 additions and 323 deletions
@@ -38,7 +38,7 @@
if(number < 3)
var/obj/effect/particle_effect/steam/I = PoolOrNew(/obj/effect/particle_effect/steam, oldposition)
number++
I.dir = holder.dir
I.setDir(holder.dir)
oldposition = get_turf(holder)
spawn(10)
qdel(I)
@@ -68,7 +68,7 @@
if(T != oldposition)
if(!has_gravity(T))
var/obj/effect/particle_effect/ion_trails/I = PoolOrNew(effect_type, oldposition)
I.dir = holder.dir
I.setDir(holder.dir)
flick("ion_fade", I)
I.icon_state = ""
spawn(20)
@@ -79,7 +79,7 @@
smoke_mob(L)
var/obj/effect/particle_effect/smoke/S = new type(T)
reagents.copy_to(S, reagents.total_volume)
S.dir = pick(cardinal)
S.setDir(pick(cardinal))
S.amount = amount-1
S.color = color
S.lifetime = lifetime
+1 -1
View File
@@ -26,7 +26,7 @@ obj/effect/glowshroom/glowcap
/obj/effect/glowshroom/New()
..()
SetLuminosity(round(potency/10))
dir = CalcDir()
setDir(CalcDir())
var/base_icon_state = initial(icon_state)
if(!floor)
switch(dir) //offset to make it be on the wall rather than on the floor
+3 -3
View File
@@ -33,7 +33,7 @@
/obj/effect/overlay/temp/New()
if(randomdir)
dir = pick(cardinal)
setDir(pick(cardinal))
flick("[icon_state]", src) //Because we might be pulling it from a pool, flick whatever icon it uses so it starts at the start of the icon's animation.
spawn(duration)
qdel(src)
@@ -85,7 +85,7 @@
if(mimiced_atom)
name = mimiced_atom.name
appearance = mimiced_atom.appearance
dir = mimiced_atom.dir
setDir(mimiced_atom.dir)
animate(src, alpha = 0, time = duration)
/obj/effect/overlay/temp/cult
@@ -105,7 +105,7 @@
/obj/effect/overlay/temp/cult/phase/New(loc, set_dir)
..()
if(set_dir)
dir = set_dir
setDir(set_dir)
/obj/effect/overlay/temp/cult/phase/out
icon_state = "cultout"
+1 -1
View File
@@ -84,7 +84,7 @@
var/predir = AM.dir
step(AM, direction)
if(!facedir)
AM.dir = predir
AM.setDir(predir)