- Nov 1, 2017
- 55
- 8
I've had a 2nd look and I think the last 2 <<goto "events">> might be wrong.The main bugs seem to be centered around the Event passage.
It repeats the same event every turn and doesn't seem to follow the restrictions
I'm going to upload it here in case any of you bright fellows can find the errors in the passage:
I think it should be
Code:
<<elseif $Happening is 20 and $izamamiDone is 1 and $nambiDone is 1>>
<<set $Event to 22>>
<<goto "Events">>/%l Izanami and Nambi sex %/
<<else>>
<<goto "Event">>/% Didn't match all the conditions of the event so loop back to this passage and try again %/
<</if>>
<<else>>
<<goto "High Births">>/% skip all events %/
<</if>>
<</nobr>>
(I also switched the order of winter and lvling events, so that you can now lvl at the start of winter)
Code:
<<nobr>>
<<if $rheiaDone is 1 and $inannaDone is 0>>
<<set $rheiaInannaMeet to 1>>
<<elseif $inannaDone is 1 and $rheiaDone is 0>>
<<set $rheiaInannaMeet to 2>>
<</if>>
<<if $rheiaDone is 1 and $freiaDone is 0>>
<<set $rheiaFreiaMeet to 1>>
<<elseif $freiaDone is 1 and $rheiaDone is 0>>
<<set $rheiaFreiaMeet to 2>>
<</if>>
<<if $freiaDone is 1 and $izanamiDone is 0>>
<<set $freiaIzanamiMeet to 1>>
<<elseif $izanamiDone is 1 and $freiaDone is 0>>
<<set $freiaIzanamiMeet to 2>>
<</if>>
<<if $rheiaDone is 1 and $NambiDone is 0>>
<<set $rheiaNambiMeet to 1>>
<<elseif $NambiDone is 1 and $rheiaDone is 0>>
<<set $rheiaNambiMeet to 2>>
<</if>>
<<set $Event to 0>>/%l clear the last event - will stop any chance of the last event affecting a new one %/
<<set $Happening to random (1, 20)>>
<<if $Exp gte 100>>
<<set $Event to 1>>/%l Exp - returns to event after lvling %/
<<elseif $Time is 10>>
<<set $Event to 2>>/%l Winter %/
<<elseif $EndWeekHome is "Sanctuary" and $ElvenChildren gte 4 and (random(1,100) gt 30)>>
<<set $Event to either (31, 31, 31, 32, 33)>>/%l Elven Events %/
<<elseif $rheiaDone is 1 and $inannaDone is 1 and $rheiaInannaMeet isnot 0>>
<<set $Event to 1.1>>/%l Rheia meets Inanna %/
<<elseif $rheiaDone is 1 and $freiaDone is 1 and $rheiaFreiaMeet isnot 0>>
<<set $Event to 1.2>>/%l Rheia meets Freia %/
<<elseif $freiaDone is 1 and $izanamiDone is 1 and $freiaIzanamiMeet isnot 0>>
<<set $Event to 1.3>>/%l Freia meets Izanami %/
<<elseif $sitaDone is 1 and $izanamiDone is 1 and $izanamiSitaMeet isnot 0>>
<<set $Event to 1.4>>/%l Sita meets Izanami %/
<<elseif $nambiDone is 1 and $rheiaDone is 1 and $rheiaNambiMeet isnot 0>>
<<set $Event to 1.5>>/%l Rheia meets Nambi %/
<<elseif (random(1,100) lt 30)>> /% 30% chance %/
<<goto "High Births">>/% Skip events this week %/
<<elseif $Happening is 1>>
<<set $Event to 3>>/%l Stone offering %/
<<elseif $Happening is 2 and $Food gte 30 and $bunnyWild gte 10>>
<<set $Event to 4>>/%l Bunny Hunny %/
<<elseif $Happening is 3 and $Food gte 30>>
<<set $Event to 5>>/%l Flood %/
<<elseif $Happening is 4 and $Food gte 20>>
<<set $Event to 6>>/%l Salt %/
<<elseif $Happening is 5 and $HumanChildren gte 5>>
<<set $Event to 7>>/%l Morning Blowjob %/
<<elseif $Happening is 6 and ($HumanChildren gte 2)>>
<<set $Event to 8>>/%l Two Fun %/
<<elseif $Happening is 7 and ($HumanChildren gte 2)>>
<<set $Event to 9>>/%l Breakfast Milk %/
<<elseif $Happening is 8 and ($HumanChildren gte 2) and ($catDone is 1)>>
<<set $Event to 10>>/%l Cat Girl %/
<<elseif $Happening is 9 and ($HumanChildren gte 2)>>
<<set $Event to 11>>/%l Dance %/
<<elseif $Happening is 10 and ($HumanChildren gte 2)>>
<<set $Event to 12>>/%l Box of food %/
<<elseif $Happening is 11 and ($inannaChildren gte 4)>>
<<set $Event to 13>>/%l Cult of Adonis %/
<<elseif $Happening is 12 and ($HumanChildren gte 3)>>
<<set $Event to 14>>/%l Three Fun %/
<<elseif $Happening is 13 and ($HumanChildren gte 3)>>
<<set $Event to 15>>/%l Sleeping Girl %/
<<elseif $Happening is 14 and ($HumanChildren gte 2)>>
<<set $Event to 16>>/%l Dry Skin %/
<<elseif $Happening is 15 and ($HumanChildren gte 4)>>
<<set $Event to 17>>/%l Four Fun %/
<<elseif $Happening is 16 and ($HumanChildren gte 1)>>
<<set $Event to 18>>/%l Work Clothes %/
<<elseif $Happening is 17 and ($HumanChildren gte 2)>>
<<set $Event to 19>>/%l Suckle girl %/
<<elseif $Happening is 18 and $rheiaDone is 1 and $saraiDone is 1>>
<<set $Event to 20>>/%l Rheia and Sarai sex %/
<<elseif $Happening is 19 and $rheiaDone is 1 and $nambiDone is 1>>
<<set $Event to 21>>/%l Rheia and Nambi sex %/
<<elseif $Happening is 20 and $izamamiDone is 1 and $nambiDone is 1>>
<<set $Event to 22>>/%l Izanami and Nambi sex %/
<<else>>
<<goto "Event">>/% Didn't match all the conditions of the event so loop back to this passage and try again %/
<</if>>
<<goto "Events">>/% We got an event so go do it %/