Changelings now keep a copy of their original DNA and so should always be able to return to their original form. Objective tracking updated to recognise this.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@288 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
musketstgstation@gmail.com
2010-10-15 22:05:53 +00:00
parent a0c44fe3b9
commit 62f42ff5e8
3 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -60,7 +60,7 @@
grant_changeling_powers(changeling.current)
changelings += changeling
//OBJECTIVES - Always absorb d3+3 genomes, plus random traitor objectives.
//OBJECTIVES - Always absorb 5 genomes, plus random traitor objectives.
//If they have two objectives as well as absorb, they must survive rather than escape
//No escape alone because changelings aren't suited for it and it'd probably just lead to rampant robusting
//If it seems like they'd be able to do it in play, add a 10% chance to have to escape alone
@@ -180,7 +180,7 @@
var/changeling_name
var/totalabsorbed = 0
if (changeling.current)
totalabsorbed = changeling.current.absorbed_dna.len
totalabsorbed = changeling.current.absorbed_dna.len - 1
if(changeling.current)
changeling_name = "[changeling.current.real_name] (played by [changeling.key])"
@@ -20,6 +20,13 @@
src.verbs += /client/proc/changeling_hallucinogenic_sting
src.changeling_level = 2
if (src.absorbed_dna.len <= 0)
src.absorbed_dna[src.real_name] = src.dna
return
/mob/proc/make_greater_changeling()
src.make_changeling()
//This is a test function for the new changeling powers. Grants all of them.
return
/mob/proc/remove_changeling_powers()
+1 -1
View File
@@ -165,7 +165,7 @@ datum
explanation_text = "Absorb 5 compatible genomes."
check_completion()
if(owner.current.absorbed_dna.len >= num_to_eat)
if((owner.current.absorbed_dna.len - 1) >= num_to_eat)
return 1
else
return 0