mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Automatic conversion via Regex
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
if (src.anchored)
|
||||
usr << "<span class='warning'>It is fastened to the floor!</span>"
|
||||
return 0
|
||||
src.dir = turn(src.dir, 270)
|
||||
src.setDir(turn(src.dir, 270))
|
||||
return 1
|
||||
|
||||
/obj/machinery/power/emitter/AltClick(mob/user)
|
||||
@@ -170,7 +170,7 @@
|
||||
|
||||
var/obj/item/projectile/A = PoolOrNew(projectile_type,src.loc)
|
||||
|
||||
A.dir = src.dir
|
||||
A.setDir(src.dir)
|
||||
playsound(src.loc, projectile_sound, 25, 1)
|
||||
|
||||
if(prob(35))
|
||||
|
||||
@@ -283,7 +283,7 @@ field_generator power level display
|
||||
var/obj/machinery/field/containment/CF = new/obj/machinery/field/containment()
|
||||
CF.set_master(src,G)
|
||||
CF.loc = T
|
||||
CF.dir = field_dir
|
||||
CF.setDir(field_dir)
|
||||
fields += CF
|
||||
G.fields += CF
|
||||
for(var/mob/living/L in T)
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
|
||||
/obj/singularity/narsie/proc/narsie_spawn_animation()
|
||||
icon = 'icons/obj/narsie_spawn_anim.dmi'
|
||||
dir = SOUTH
|
||||
setDir(SOUTH)
|
||||
move_self = 0
|
||||
flick("narsie_spawn_anim",src)
|
||||
sleep(11)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
|
||||
/obj/effect/accelerated_particle/New(loc, dir = 2)
|
||||
src.dir = dir
|
||||
src.setDir(dir)
|
||||
|
||||
spawn(0)
|
||||
move(1)
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
if (anchored)
|
||||
usr << "It is fastened to the floor!"
|
||||
return 0
|
||||
dir = turn(dir, -90)
|
||||
setDir(turn(dir, -90))
|
||||
return 1
|
||||
|
||||
/obj/structure/particle_accelerator/AltClick(mob/user)
|
||||
@@ -86,7 +86,7 @@
|
||||
if (anchored)
|
||||
usr << "It is fastened to the floor!"
|
||||
return 0
|
||||
dir = turn(dir, 90)
|
||||
setDir(turn(dir, 90))
|
||||
return 1
|
||||
|
||||
/obj/structure/particle_accelerator/attackby(obj/item/W, mob/user, params)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
use_power = 0
|
||||
idle_power_usage = 500
|
||||
active_power_usage = 10000
|
||||
dir = 1
|
||||
setDir(1)
|
||||
var/strength_upper_limit = 2
|
||||
var/interface_control = 1
|
||||
var/list/obj/structure/particle_accelerator/connected_parts
|
||||
@@ -166,7 +166,7 @@
|
||||
if(!F)
|
||||
return 0
|
||||
|
||||
dir = F.dir
|
||||
setDir(F.dir)
|
||||
connected_parts.Cut()
|
||||
|
||||
T = get_step(T,rdir)
|
||||
|
||||
Reference in New Issue
Block a user