Can someone please decipher this and tell me where I'm going wrong? I want the same passage's description to change if the camp fire is lit, but I also have to try and juggle a plethora of other conditions.
When I run this I don't get any error messages, but the descriptions are all to cock. Sometimes I get two 'firepit' (a dead one and a live one), and sometimes the description just stops mid-sentence as I to and fro between the passages.
Thanks in advance.
When I run this I don't get any error messages, but the descriptions are all to cock. Sometimes I get two 'firepit' (a dead one and a live one), and sometimes the description just stops mid-sentence as I to and fro between the passages.
<<if $fireLit>>It's not much comfort, but some heat does begin to radiate from the flames. <<if $hasRawMeat>>The embers are hot enough to [[cook]] on.<</if>> The<<if $hasRawMeat>> traps<<else>>[[traps]] are set in the forest.<</if>><<else>>A forest clearing. Freezing tempertures setting in. All the trees are either dead or dying and <<if $hasWood>>dead wood<<else>>[[dead wood]]<</if>> litters the floor. A dead <<if $hasWood and not $isfireLit>><<click "firepit">><<goto "Outside">><<set $fireLit to true>><</click><<else>>firepit is nearby and the <<if $hasRawMeat>> traps have been checked.<</if>><<else>>[[traps]]<</if>> are set in the forest.
<<if $isFireLit>><<audio "fire_crackling" loop play>><</if>>
<<audio "out_side" loop play>><</if>>
Thanks in advance.