diff --git a/code/modules/power/singularity/act.dm b/code/modules/power/singularity/act.dm index d244c4eeaa..6683b48377 100644 --- a/code/modules/power/singularity/act.dm +++ b/code/modules/power/singularity/act.dm @@ -29,7 +29,7 @@ if(current_size >= STAGE_THREE) var/list/handlist = list(l_hand, r_hand) for(var/obj/item/hand in handlist) - if(prob(current_size*5) && hand.w_class >= ((11-current_size)/2) && u_equip(hand)) + if(prob(current_size*5) && hand.w_class >= ((11-current_size)/2) && unEquip(hand)) step_towards(hand, src) src << "The [S] pulls \the [hand] from your grip!" apply_effect(current_size * 3, IRRADIATE) diff --git a/code/modules/power/singularity/singularity.dm b/code/modules/power/singularity/singularity.dm index 7e0941ce75..39090ceac5 100644 --- a/code/modules/power/singularity/singularity.dm +++ b/code/modules/power/singularity/singularity.dm @@ -298,7 +298,7 @@ if(target && prob(60)) movement_dir = get_dir(src,target) //moves to a singulo beacon, if there is one - if(current_size >= 9)//The superlarge one does not care about things in its way + if(current_size >= STAGE_FIVE)//The superlarge one does not care about things in its way spawn(0) step(src, movement_dir) spawn(1) @@ -319,17 +319,17 @@ var/steps = 0 if(!step) switch(current_size) - if(1) + if(STAGE_ONE) steps = 1 - if(3) + if(STAGE_TWO) steps = 3//Yes this is right - if(5) + if(STAGE_THREE) steps = 3 - if(7) + if(STAGE_FOUR) steps = 4 - if(9) + if(STAGE_FIVE) steps = 5 - if(11) + if(STAGE_SUPER) steps = 6 else steps = step @@ -397,7 +397,7 @@ mezzer() else return 0 - if(current_size == 11) + if(current_size == STAGE_SUPER) smwave() return 1 @@ -429,18 +429,18 @@ if(M.stat == CONSCIOUS) if (istype(M,/mob/living/carbon/human)) var/mob/living/carbon/human/H = M - if(istype(H.glasses,/obj/item/clothing/glasses/meson) && current_size != 11) + if(istype(H.glasses,/obj/item/clothing/glasses/meson) && current_size != STAGE_SUPER) H << "You look directly into The [src.name], good thing you had your protective eyewear on!" return else H << "You look directly into The [src.name], but your eyewear does absolutely nothing to protect you from it!" - M << "You look directly into The [src.name] and feel [current_size == 11 ? "helpless" : "weak"]." + M << "You look directly into The [src.name] and feel [current_size == STAGE_SUPER ? "helpless" : "weak"]." M.apply_effect(3, STUN) for(var/mob/O in viewers(M, null)) O.show_message(text("[] stares blankly at The []!", M, src), 1) /obj/singularity/proc/emp_area() - if(current_size != 11) + if(current_size != STAGE_SUPER) empulse(src, 4, 6, 8, 10) else empulse(src, 12, 14, 16, 18) @@ -467,15 +467,15 @@ overlays = 0 move_self = 0 switch (current_size) - if(1) + if(STAGE_ONE) overlays += image('icons/obj/singularity.dmi',"chain_s1") - if(3) + if(STAGE_TWO) overlays += image('icons/effects/96x96.dmi',"chain_s3") - if(5) + if(STAGE_THREE) overlays += image('icons/effects/160x160.dmi',"chain_s5") - if(7) + if(STAGE_FOUR) overlays += image('icons/effects/224x224.dmi',"chain_s7") - if(9) + if(STAGE_FIVE) overlays += image('icons/effects/288x288.dmi',"chain_s9") /obj/singularity/proc/on_release()