Merge pull request #10450 from phil235/MechRefactoring

Mech code refactor
This commit is contained in:
Cheridan
2015-07-20 02:00:11 -05:00
38 changed files with 2531 additions and 3093 deletions
+1 -1
View File
@@ -435,7 +435,7 @@ var/global/image/fire_overlay = image("icon" = 'icons/effects/fire.dmi', "icon_s
/obj/item/singularity_pull(S, current_size)
spawn(0) //this is needed or multiple items will be thrown sequentially and not simultaneously
if(current_size >= STAGE_FOUR)
throw_at(S,14,3)
throw_at(S,14,3, spin=0)
else ..()
/obj/item/acid_act(acidpwr, acid_volume)
+1 -1
View File
@@ -243,7 +243,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
/obj/item/device/pda/proc/can_use(mob/user)
if(user && ismob(user))
if(user.stat || user.restrained() || user.paralysis || user.stunned || user.weakened)
if(user.incapacitated())
return 0
if(loc == user)
return 1