mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
Implemented #1107.
This commit is contained in:
@@ -134,6 +134,26 @@ var/global/BSACooldown = 0
|
||||
M.change_mob_type( /mob/living/simple_animal/constructwraith , null, null, delmob)
|
||||
if("shade")
|
||||
M.change_mob_type( /mob/living/simple_animal/shade , null, null, delmob)
|
||||
if("meme")
|
||||
var/mob/living/parasite/meme/newmeme = new
|
||||
M.mind.transfer_to(newmeme)
|
||||
newmeme.clearHUD()
|
||||
|
||||
var/found = 0
|
||||
for(var/mob/living/carbon/human/H in world) if(H.client && !H.parasites.len)
|
||||
found = 1
|
||||
newmeme.enter_host(H)
|
||||
|
||||
log_admin("[H] has become [newmeme.key]'s host")
|
||||
|
||||
break
|
||||
|
||||
// if there was no host, abort
|
||||
if(!found)
|
||||
newmeme.mind.transfer_to(M)
|
||||
log_admin("Failed to find host for meme [M.key]. Aborting.")
|
||||
|
||||
|
||||
|
||||
if(href_list["view_player_info"])
|
||||
show_player_info(href_list["view_player_info"])
|
||||
@@ -2435,6 +2455,7 @@ var/global/BSACooldown = 0
|
||||
body += "<A href='?src=\ref[src];simplemake=constructbuilder;mob=\ref[M]'>Builder</A> , "
|
||||
body += "<A href='?src=\ref[src];simplemake=constructwraith;mob=\ref[M]'>Wraith</A> \] "
|
||||
body += "<A href='?src=\ref[src];simplemake=shade;mob=\ref[M]'>Shade</A>"
|
||||
body += "<A href='?src=\ref[src];simplemake=meme;mob=\ref[M]'>Meme</A>"
|
||||
body += "<br>"
|
||||
|
||||
if (M.client)
|
||||
|
||||
@@ -892,7 +892,7 @@
|
||||
switch(alert("You sure you wish to edit this mob's appearance?",,"Yes","No"))
|
||||
if("No")
|
||||
return
|
||||
if(istype(M,/mob/living/carbon/human/tajaran) || istype(M,/mob/living/carbon/human/birdman))
|
||||
if(istype(M,/mob/living/carbon/human/tajaran))
|
||||
usr << "\red Humanoid aliens do not have an editable appearance... yet!"
|
||||
else
|
||||
var/new_facial = input("Please select facial hair color.", "Character Generation") as color
|
||||
|
||||
@@ -252,6 +252,28 @@
|
||||
dat += "<tr><td><i>Changeling not found!</i></td></tr>"
|
||||
dat += "</table>"
|
||||
|
||||
if(ticker.mode.memes.len > 0)
|
||||
dat += "<br><table cellspacing=5><tr><td><B>Memes</B></td><td></td><td></td></tr>"
|
||||
for(var/datum/mind/meme in ticker.mode.memes)
|
||||
var/mob/living/parasite/meme/M = meme.current
|
||||
if(M)
|
||||
dat += "<tr><td><a href='?src=\ref[src];adminplayeropts=\ref[M]'>[M.key]</a>[M.client ? "" : " <i>(logged out)</i>"][M.stat == 2 ? " <b><font color=red>(DEAD)</font></b>" : ""]</td>"
|
||||
dat += "<td><A href='?src=\ref[usr];priv_msg=\ref[M]'>PM</A></td>"
|
||||
dat += "<td><A HREF='?src=\ref[src];traitor=\ref[M]'>Show Objective</A></td></tr>"
|
||||
|
||||
// need this check because the meme may be possessing someone right now
|
||||
if(istype(M))
|
||||
dat += "\t<td>Attuned: "
|
||||
for(var/mob/attuned in M.indoctrinated)
|
||||
if(attuned.key)
|
||||
dat += "[attuned.real_name]([attuned.key]) "
|
||||
else
|
||||
dat += "[attuned.real_name] "
|
||||
else
|
||||
dat += "<tr><td><i>Changeling not found!</i></td></tr>"
|
||||
dat += "</table>"
|
||||
|
||||
|
||||
if(ticker.mode.wizards.len > 0)
|
||||
dat += "<br><table cellspacing=5><tr><td><B>Wizards</B></td><td></td><td></td></tr>"
|
||||
for(var/datum/mind/wizard in ticker.mode.wizards)
|
||||
|
||||
Reference in New Issue
Block a user