?
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/mob/living/carbon/proc/monkeyize(tr_flags = (TR_KEEPITEMS | TR_KEEPVIRUS | TR_DEFAULTMSG))
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
//Handle items on mob
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
dropItemToGround(W)
|
||||
|
||||
//Make mob invisible and spawn animation
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Stun(INFINITY, ignore_canstun = TRUE)
|
||||
icon = null
|
||||
cut_overlays()
|
||||
@@ -150,7 +150,7 @@
|
||||
//Could probably be merged with monkeyize but other transformations got their own procs, too
|
||||
|
||||
/mob/living/carbon/proc/humanize(tr_flags = (TR_KEEPITEMS | TR_KEEPVIRUS | TR_DEFAULTMSG))
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
//Handle items on mob
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
|
||||
//Make mob invisible and spawn animation
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Stun(22, ignore_canstun = TRUE)
|
||||
icon = null
|
||||
cut_overlays()
|
||||
@@ -304,7 +304,7 @@
|
||||
qdel(src)
|
||||
|
||||
/mob/living/carbon/human/AIize()
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/t in bodyparts)
|
||||
qdel(t)
|
||||
@@ -312,12 +312,12 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/AIize()
|
||||
if(mob_transforming)
|
||||
if(notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
dropItemToGround(W)
|
||||
regenerate_icons()
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
@@ -353,7 +353,7 @@
|
||||
qdel(src)
|
||||
|
||||
/mob/living/carbon/human/proc/Robotize(delete_items = 0, transfer_after = TRUE)
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
if(delete_items)
|
||||
@@ -361,7 +361,7 @@
|
||||
else
|
||||
dropItemToGround(W)
|
||||
regenerate_icons()
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
@@ -398,12 +398,12 @@
|
||||
|
||||
//human -> alien
|
||||
/mob/living/carbon/human/proc/Alienize(mind_transfer = TRUE)
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
dropItemToGround(W)
|
||||
regenerate_icons()
|
||||
mob_transforming = 1
|
||||
notransform = 1
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
@@ -432,12 +432,12 @@
|
||||
qdel(src)
|
||||
|
||||
/mob/living/carbon/human/proc/slimeize(reproduce, mind_transfer = TRUE)
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
dropItemToGround(W)
|
||||
regenerate_icons()
|
||||
mob_transforming = 1
|
||||
notransform = 1
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
@@ -477,12 +477,12 @@
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/corgize(mind_transfer = TRUE)
|
||||
if (mob_transforming)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
dropItemToGround(W)
|
||||
regenerate_icons()
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
@@ -501,7 +501,7 @@
|
||||
qdel(src)
|
||||
|
||||
/mob/living/carbon/proc/gorillize(mind_transfer = TRUE)
|
||||
if(mob_transforming)
|
||||
if(notransform)
|
||||
return
|
||||
|
||||
SSblackbox.record_feedback("amount", "gorillas_created", 1)
|
||||
@@ -512,7 +512,7 @@
|
||||
dropItemToGround(W, TRUE)
|
||||
|
||||
regenerate_icons()
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
@@ -535,13 +535,13 @@
|
||||
if(mind)
|
||||
mind_transfer = alert("Want to transfer their mind into the new mob", "Mind Transfer", "Yes", "No") == "Yes" ? TRUE : FALSE
|
||||
|
||||
if(mob_transforming)
|
||||
if(notransform)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
dropItemToGround(W)
|
||||
|
||||
regenerate_icons()
|
||||
mob_transforming = TRUE
|
||||
notransform = TRUE
|
||||
Paralyze(INFINITY)
|
||||
icon = null
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
|
||||
Reference in New Issue
Block a user