?
------------------

-----Original Message-----
From: MrPerson <notifications@github.com>
Date: Tue, 22 Oct 2013 16:47:12 
To: tgstation/-tg-station<-tg-station@noreply.github.com>
Reply-To: tgstation/-tg-station <reply@reply.github.com>
Cc: Malkevin<akenworthy87@gmail.com>
Subject: Re: [-tg-station] Improved word attainment for Cult (#1625)

> -					ticker.mode:grant_runeword(usr)
> -					return 1
> +					//picking which word to use
> +					if(usr.mind.cult_words.len != ticker.mode.allwords.len) // No point running if they already know everything
> +						var/convert_word
> +						for(var/i=1, i<=3, i++)
> +							convert_word = pick(ticker.mode.grantwords)
> +							if(convert_word in usr.mind.cult_words)
> +								if(i==3) convert_word = null				//NOTE: If max loops is changed ensure this condition is changed to match /Mal
> +							else
> +								break
> +						if(!convert_word)
> +							usr << "\red This Convert was unworthy of knowledge of the other side!"
> +						else
> +							usr << "\red The Geometer of Blood is pleased to see his followers grow in numbers."
> +							ticker.mode:grant_runeword(usr, convert_word)

:*(

---
Reply to this email directly or view it on GitHub:
https://github.com/tgstation/-tg-station/pull/1625/files#r7144437