(EXPERIMENTAL) Memetic Anomaly (#340)

An extensive project, trying to bring this to a functional state.
This commit is contained in:
Lord Lag
2016-05-30 23:24:35 +03:00
committed by skull132
parent 4c225f8bd8
commit 8a465a9dea
7 changed files with 800 additions and 10 deletions
+1
View File
@@ -173,6 +173,7 @@ proc/admin_notice(var/message, var/rights)
<A href='?src=\ref[src];simplemake=constructbuilder;mob=\ref[M]'>Builder</A> ,
<A href='?src=\ref[src];simplemake=constructwraith;mob=\ref[M]'>Wraith</A> \]
<A href='?src=\ref[src];simplemake=shade;mob=\ref[M]'>Shade</A>
<A href='?src=\ref[src];simplemake=meme;mob=\ref[M]'>Meme</A>
<br>
"}
body += {"<br><br>
+19
View File
@@ -307,7 +307,26 @@
if("constructbuilder") M.change_mob_type( /mob/living/simple_animal/construct/builder , null, null, delmob )
if("constructwraith") M.change_mob_type( /mob/living/simple_animal/construct/wraith , 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)
message_admins("[H] has become [newmeme.key]'s host")
break
// if there was no host, abort
if(!found)
newmeme.mind.transfer_to(M)
message_admins("Failed to find host for meme [M.key]. Aborting.")
qdel(M)
/////////////////////////////////////new ban stuff
else if(href_list["unbanf"])