Fixed the problem with cultists starting knowing the same word.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@618 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
KFFFF00
2010-12-14 23:17:12 +00:00
parent 1fd9c08b24
commit f3a19f796e

View File

@@ -8,6 +8,8 @@
var/const/waittime_l = 600 //lower bound on time before intercept arrives (in tenths of seconds) var/const/waittime_l = 600 //lower bound on time before intercept arrives (in tenths of seconds)
var/const/waittime_h = 1800 //upper bound on time before intercept arrives (in tenths of seconds) var/const/waittime_h = 1800 //upper bound on time before intercept arrives (in tenths of seconds)
var/list/startwords = list("travel","blood","join","hell","self","see")
var/list/objectives = list() var/list/objectives = list()
var/eldergod = 1 //for the summon god objective var/eldergod = 1 //for the summon god objective
@@ -101,21 +103,22 @@
cult_mob << "You have a talisman in your backpack, one that will help you start the cult on this station. Use it well and remember - there are others." cult_mob << "You have a talisman in your backpack, one that will help you start the cult on this station. Use it well and remember - there are others."
if(!wordtravel) if(!wordtravel)
runerandom() runerandom()
var/word=pick("1","2","3","4","5","6") var/word=pick(startwords)
var/wordexp var/wordexp
switch(word) switch(word)
if("1") if("travel")
wordexp = "[wordtravel] is travel..." wordexp = "[wordtravel] is travel..."
if("2") if("blood")
wordexp = "[wordblood] is blood..." wordexp = "[wordblood] is blood..."
if("3") if("join")
wordexp = "[wordjoin] is join..." wordexp = "[wordjoin] is join..."
if("4") if("hell")
wordexp = "[wordhell] is Hell..." wordexp = "[wordhell] is Hell..."
if("5") if("self")
wordexp = "[wordself] is self..." wordexp = "[wordself] is self..."
if("6") if("see")
wordexp = "[wordsee] is see..." wordexp = "[wordsee] is see..."
startwords -= word
cult_mob << "\red You remembered one thing from the dark teachings of your master... [wordexp]" cult_mob << "\red You remembered one thing from the dark teachings of your master... [wordexp]"
cult_mob.mind.store_memory("<B>You remember one thing</B>: [wordexp]", 0, 0) cult_mob.mind.store_memory("<B>You remember one thing</B>: [wordexp]", 0, 0)
cultists.Add(cult_mob) cultists.Add(cult_mob)