Added alien organs

This commit is contained in:
c0
2015-08-09 01:12:32 +03:00
parent f57fe6785c
commit 2e5cedef74
28 changed files with 368 additions and 227 deletions
+7 -9
View File
@@ -324,8 +324,11 @@
Grow()
/obj/structure/alien/egg/attack_paw(mob/user)
if(isalien(user))
/obj/structure/alien/egg/attack_paw(mob/living/user)
return attack_hand(user)
/obj/structure/alien/egg/attack_hand(mob/living/user)
if(user.getorgan(/obj/item/organ/internal/alien/plasmavessel))
switch(status)
if(BURST)
user << "<span class='notice'>You clear the hatched egg.</span>"
@@ -340,18 +343,13 @@
Burst(0)
return
else
return attack_hand(user)
/obj/structure/alien/egg/attack_hand(mob/user)
user << "<span class='notice'>It feels slimy.</span>"
user.changeNext_move(CLICK_CD_MELEE)
user << "<span class='notice'>It feels slimy.</span>"
user.changeNext_move(CLICK_CD_MELEE)
/obj/structure/alien/egg/proc/GetFacehugger()
return locate(/obj/item/clothing/mask/facehugger) in contents
/obj/structure/alien/egg/proc/Grow()
icon_state = "egg"
status = GROWN