mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Makes DNA swapping methods more reliable
- Makes heads keep hair on removal - Amputated limbs from a DNA-injected individual now will keep their appearance of the DNA-injected person - Wounds will now vanish on their own now - Admins now have an "incarnate" option on the player panel when viewing ghosts for quick player instantiation - Fixes a runtime regarding failing a limb reconnection surgery - Copying a client's preferences now overrides the previous mob's DNA
This commit is contained in:
@@ -139,6 +139,9 @@ var/global/nologevent = 0
|
||||
else
|
||||
body += "<A href='?_src_=holder;makeanimal=\ref[M]'>Animalize</A> | "
|
||||
|
||||
if(istype(M, /mob/dead/observer))
|
||||
body += "<a href='?_src_=holder;incarn_ghost=\ref[M]'>Re-incarnate</a> | "
|
||||
|
||||
// DNA2 - Admin Hax
|
||||
if(M.dna && iscarbon(M))
|
||||
body += "<br><br>"
|
||||
|
||||
@@ -1523,6 +1523,14 @@
|
||||
|
||||
usr.client.cmd_admin_animalize(M)
|
||||
|
||||
else if(href_list["incarn_ghost"])
|
||||
if(!check_rights(R_SPAWN)) return
|
||||
|
||||
var/mob/dead/observer/G = locate(href_list["incarn_ghost"])
|
||||
if(!istype(G))
|
||||
usr << "This will only work on /mob/dead/observer"
|
||||
G.incarnate_ghost()
|
||||
|
||||
else if(href_list["togmutate"])
|
||||
if(!check_rights(R_SPAWN)) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user