Aliens can now shape membranes.

AIs now see runes as blood.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2305 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-10-01 16:36:23 +00:00
parent 995fb5f788
commit a71691759c
8 changed files with 55 additions and 18 deletions
@@ -35,14 +35,19 @@
return
/mob/living/carbon/alien/humanoid/drone/verb/resinwall() // -- TLE
set name = "Shape Resin Wall (100)"
set name = "Shape Resin (100)"
set desc = "Produce a wall of resin that blocks entry and line of sight"
set category = "Alien"
if(powerc(100))
toxloss -= 100
src << "\green You begin to shape a wall of resin."
var/choice = input("Choose what you wish to shape.","Resin building") as anything in list("resin wall","resin membrane") //would do it through typesof but then the player choice would have the type path and we don't want the internal workings to be exposed ICly - Urist
src << "\green You shape a [choice]."
for(var/mob/O in viewers(src, null))
O.show_message(text("\red <B>[src] vomits up a thick purple substance and begins to shape it!</B>"), 1)
new /obj/alien/resin(loc)
switch(choice)
if("resin wall")
new /obj/alien/resin/wall(loc)
if("resin membrane")
new /obj/alien/resin/membrane(loc)
return
+7
View File
@@ -62,6 +62,13 @@
if(src.mind)
ticker.mode.remove_revolutionary(src.mind)
if(client)
for(var/obj/rune/rune in world)
var/image/blood = image('blood.dmi', loc = rune, icon_state = "floor[rand(1,7)]")
blood.override = 1
client.images += blood
return
+5
View File
@@ -45,4 +45,9 @@
if(ticker.mode.name == "cult")
if (src.mind in ticker.mode:cult)
ticker.mode:update_cult_icons_added(src.mind)
if(isAI(src))
for(var/obj/rune/rune in world)
var/image/blood = image('blood.dmi', loc = rune, icon_state = "floor[rand(1,7)]")
blood.override = 1
client.images += blood
..()