Added abilities for nymphs/evolution to a final form.

This commit is contained in:
Zuhayr
2013-08-19 17:22:23 -07:00
parent 4c1e7f2084
commit a697567806
3 changed files with 65 additions and 1 deletions
@@ -39,6 +39,69 @@
voice_name = "diona nymph"
speak_emote = list("chirrups")
ico = "nymph"
var/list/donors = list()
var/ready_evolve = 0
/mob/living/carbon/monkey/diona/verb/evolve()
set category = "Diona"
set name = "Evolve"
set desc = "Grow to a more complex form."
if(donors.len < 5)
src << "You are not yet ready for your growth..."
return
if(reagents.get_reagent_amount("nutriment") < 5)
src << "You have not yet consumed enough to grow..."
return
src.visible_message("\red [src] begins to shift and quiver, and erupts in a shower of shed bark and twigs!","\red You begin to shift and quiver, then erupt in a shower of shed bark and twigs, attaining your adult form!")
var/mob/living/carbon/human/adult = new(loc)
adult.set_species("Diona")
for(var/datum/language/L in languages)
adult.add_language(L.name)
adult.regenerate_icons()
adult.ckey = src.ckey
del(src)
/mob/living/carbon/monkey/diona/verb/steal_blood()
set category = "Diona"
set name = "Steal Blood"
set desc = "Take a blood sample from a suitable donor."
var/list/choices = list()
for(var/mob/living/C in view(1,src))
if(C.real_name != real_name
choices += C
var/mob/living/M = input(src,"Who do you wish to take a sample from?") in null|choices
if(!M || !src) return
if(donors.Find(M.real_name))
src << "\red That donor offers you nothing new."
return
src.visible_message("\red [src] flicks out a feeler and neatly steals a sample of [M]'s blood.","\red You flick out a feeler and neatly steal a sample of [M]'s blood.")
donors += M.real_name
spawn(25)
update_progression()
/mob/living/carbon/monkey/diona/proc/update_progression()
if(!donors.len)
return
if(donors.len == 5)
ready_evolve = 1
src << "\green You feel ready to move on to your next stage of growth."
else if(donors.len == 3)
universal_speak = 1
src << "\green You feel your awareness expand, and realize you know how to speak to the meat-creatures around you."
else
src << "\green The blood seeps into your small form, and you draw out the echoes of memories and personality from it, working them into your budding mind."
/mob/living/carbon/monkey/New()
var/datum/reagents/R = new/datum/reagents(1000)