mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fixes proc arguments
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
return 0
|
||||
|
||||
|
||||
/obj/singularity/attack_hand(mob/user as mob)
|
||||
/obj/singularity/attack_hand(mob/user)
|
||||
consume(user)
|
||||
return 1
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
dissipate_track++
|
||||
|
||||
|
||||
/obj/singularity/proc/expand(var/force_size = 0)
|
||||
/obj/singularity/proc/expand(force_size = 0)
|
||||
var/temp_allowed_size = src.allowed_size
|
||||
if(force_size)
|
||||
temp_allowed_size = force_size
|
||||
@@ -243,7 +243,7 @@
|
||||
return
|
||||
|
||||
|
||||
/obj/singularity/proc/consume(var/atom/A)
|
||||
/obj/singularity/proc/consume(atom/A)
|
||||
var/gain = A.singularity_act(current_size)
|
||||
src.energy += gain
|
||||
if(istype(A, /obj/machinery/power/supermatter_shard) && !consumedSupermatter)
|
||||
@@ -254,7 +254,7 @@
|
||||
return
|
||||
|
||||
|
||||
/obj/singularity/proc/move(var/force_move = 0)
|
||||
/obj/singularity/proc/move(force_move = 0)
|
||||
if(!move_self)
|
||||
return 0
|
||||
|
||||
@@ -269,7 +269,7 @@
|
||||
step(src, movement_dir)
|
||||
|
||||
|
||||
/obj/singularity/proc/check_turfs_in(var/direction = 0, var/step = 0)
|
||||
/obj/singularity/proc/check_turfs_in(direction = 0, step = 0)
|
||||
if(!direction)
|
||||
return 0
|
||||
var/steps = 0
|
||||
@@ -322,7 +322,7 @@
|
||||
return 1
|
||||
|
||||
|
||||
/obj/singularity/proc/can_move(var/turf/T)
|
||||
/obj/singularity/proc/can_move(turf/T)
|
||||
if(!T)
|
||||
return 0
|
||||
if((locate(/obj/machinery/field/containment) in T)||(locate(/obj/machinery/shieldwall) in T))
|
||||
|
||||
Reference in New Issue
Block a user