{ (set: $name to (prompt: "Your name is?","")) <!--This section sets whether you have done research on a site--> (set: $hill to false) (set: $meadow to false) (set: $lot to false) <!--This section sets whether the artifacts that appear on the grid are farm or longhouse--> (set: $CHill to false) (set: $CMeadow to false) (set: $CLot to false) <!--Longhouse Artifacts--> (set: $LArt to (a:'Rim','Jaw')) (set: $Jaw1 to false) (set: $Rim1 to false) <!--Farm Artifacts--> } Hello $name You are an archaeologist. Do you wish to work for a [[university|1]] or [[archaelogical company|2]] You are an archaeologist at a university. You wish to begin a new excavation. Where do you choose to dig? [[A hill top near a river|1a]] [[A meadow|1b]] [[an empty lot|1c]] [[Do further research|1d]] You are an archaeologist at a commerical company. { (live: 5s)[[The phone rings|2a]]}<img src=“https://imgix.bustle.com/uploads/getty/2021/2/23/6b79bd70-b9d1-4ed8-8e53-e60376826a95-getty-90738849.jpg”> <img src=“https://amazonaid.org/wp-content/uploads/2017/08/sloth-gif.gif”> (set:_roll to (random: 1, 20)) [[<img src=“https://imgix.bustle.com/uploads/getty/2021/2/23/6b79bd70-b9d1-4ed8-8e53-e60376826a95-getty-90738849.jpg”>|passagename]] { (live: 10s)[The phone rings ]} (set: $variable to it -2) (If: $variable is =10) [ (set: $variable to 10) Then this happens]The developer wishes for you to examine a new section of land. Do you [[go to the library |2a1]] [[go to the site |2a2]]{ (set: $CHill to true) } (if: $hill is true) [ (b4r:"solid")+(b4r-colour:white)[[[ 1A |S1]]] (b4r:"solid")+(b4r-colour:white)[[[ 2A |S2]]] (b4r:"solid")+(b4r-colour:white)[[[ 3A |S3]]] (b4r:"solid")+(b4r-colour:white)[[[ 4A |S4]]] (b4r:"solid")+(b4r-colour:orange)[[[ 5A |S5]]] (b4r:"solid")+(b4r-colour:orange)[[[ 6A |S6]]] (b4r:"solid")+(b4r-colour:orange)[[[ 7A |S7]]] (b4r:"solid")+(b4r-colour:orange)[[[ 8A |S8]]] ] (else:) [ (b4r:"solid")+(b4r-colour:white)[[[ 1A |S1]]] (b4r:"solid")+(b4r-colour:white)[[[ 2A |S2]]] (b4r:"solid")+(b4r-colour:white)[[[ 3A |S3]]] (b4r:"solid")+(b4r-colour:white)[[[ 4A |S4]]] (b4r:"solid")+(b4r-colour:white)[[[ 5A |S5]]] (b4r:"solid")+(b4r-colour:white)[[[ 6A |S6]]] (b4r:"solid")+(b4r-colour:white)[[[ 7A |S7]]] (b4r:"solid")+(b4r-colour:white)[[[8A |S8]]] (b4r:"solid")+(b4r-colour:white)[[[ 1B |S9]]] (b4r:"solid")+(b4r-colour:white)[[[ 2B |S10]]] (b4r:"solid")+(b4r-colour:white)[[[ 3B |S11]]] (b4r:"solid")+(b4r-colour:white)[[[ 4B |S12]]] (b4r:"solid")+(b4r-colour:white)[[[ 5B |S13]]] (b4r:"solid")+(b4r-colour:white)[[[ 6B|S14]]] (b4r:"solid")+(b4r-colour:white)[[[ 7B |S15]]] (b4r:"solid")+(b4r-colour:white)[[[8B |S16]]] ] { (set: $CMeadow to true) } (if: $meadow is true) [] (else:[])The land owner denies you access to the site. You cannot dig here. [[Make another choice |1]]Which do you wish to research? [[A hill top near a river|1d1]] [[A meadow|1d2]] [[an empty lot|1d3]] [[Return|1]]<div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div>Put in Information about why hilltops might contain longhouse villages. Include place location. Maybe include an oral history. (set: $hill to true) [[Research another site |1d]] [[Choose your excavation |1]]Archive says this was own by x family as a farm for 150 years. This area contains the house. (Set: $meadow to true) [[Research another site |1d]] [[Choose your excavation |1]]This empty lot has no known history associated with it. (set: $lot to true) [[Research another site |1d]] [[Choose your excavation |1]] __________________________ [[Check Catalogue]]{ (set: _roll to (random: 1, 20)) (if: $hill is true) [ (set: _roll to it + 5)] (if: _roll >= 10) [ (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Congratulations! You found an Rim <div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div> ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Congratulations! You found a Jaw <div class="sketchfab-embed-wrapper"> <iframe title="Deer Mandible - Lawson Site Object J10593" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/d0d0301f08e545f29706e45390136bc5/embed"> </iframe> </div> ] ] (else:) [Try again] [[Return to Excavation Map |1a]] }{ (set: _roll to (random: 1, 20)) (if: $hill is true) [ (set: _roll to it + 5)] (if: _roll >= 10) [ (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Congratulations! You found an Rim <div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div> ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Congratulations! You found a Jaw <div class="sketchfab-embed-wrapper"> <iframe title="Deer Mandible - Lawson Site Object J10593" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/d0d0301f08e545f29706e45390136bc5/embed"> </iframe> </div> ] ] (else:) [Try again] [[Return to Excavation Map |1a]] }{ (set: _roll to (random: 1, 20)) (if: $hill is true) [ (set: _roll to it + 5)] (if: _roll >= 10) [ (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Congratulations! You found an Rim <div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div> ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Congratulations! You found a Jaw <div class="sketchfab-embed-wrapper"> <iframe title="Deer Mandible - Lawson Site Object J10593" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/d0d0301f08e545f29706e45390136bc5/embed"> </iframe> </div> ] ] (else:) [Try again] [[Return to Excavation Map |1a]] }{ (set: _roll to (random: 1, 20)) (if: $hill is true) [ (set: _roll to it + 5)] (if: _roll >= 10) [ (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Congratulations! You found an Rim <div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div> ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Congratulations! You found a Jaw <div class="sketchfab-embed-wrapper"> <iframe title="Deer Mandible - Lawson Site Object J10593" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/d0d0301f08e545f29706e45390136bc5/embed"> </iframe> </div> ] ] (else:) [Try again] [[Return to Excavation Map |1a]] }Congratulations! You have found a post mold. [[Return to Excavation Map |1a]]{ (set: _roll to (random: 1, 20)) (if: $hill is true) [ (set: _roll to it + 5)] (if: _roll >= 10) [ (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Congratulations! You found an Rim <div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div> ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Congratulations! You found a Jaw <div class="sketchfab-embed-wrapper"> <iframe title="Deer Mandible - Lawson Site Object J10593" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/d0d0301f08e545f29706e45390136bc5/embed"> </iframe> </div> ] ] (else:) [Try again] [[Return to Excavation Map |1a]] }{ (set: _roll to (random: 1, 20)) (if: $hill is true) [ (set: _roll to it + 5)] (if: _roll >= 10) [ (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Congratulations! You found an Rim <div class="sketchfab-embed-wrapper"> <iframe title=""Juvenile" Ceramic Rim Sherd - Smith Site" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/e4b767c3fded4032a091dea8544da795/embed?ui_infos=0"> </iframe> </div> ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Congratulations! You found a Jaw <div class="sketchfab-embed-wrapper"> <iframe title="Deer Mandible - Lawson Site Object J10593" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="640" height="480" src="https://sketchfab.com/models/d0d0301f08e545f29706e45390136bc5/embed"> </iframe> </div> ] ] (else:) [Try again] [[Return to Excavation Map |1a]] }Congratulations! You have found a post mold. [[Return to Excavation Map |1a]](set: $LArt to (a:'Rim','Jaw')) (Set: _random to random of $LArt) (if: _random is 'Rim')[ (set: $LArt to it - (a:'Rim')) Test ] (else-if: _random is 'Jaw')[ (set: $LArt to it - (a:'Jaw')) Blah ] <script> function EmbedTwineUpdateHeight(){ var passage = document.getElementsByTagName("tw-passage")[0]; if (passage === undefined){//SugarCube passage = document.getElementById("passages"); } var newHeight = passage.offsetHeight; if(newHeight<500){newHeight=500;} window.parent.postMessage(["setHeight", newHeight], "*"); console.log(newHeight); } setTimeout(EmbedTwineUpdateHeight, 50); </script>