<div class="bg">
<h>Untitled Story.</h>
</div>
<div class="bg">
<p>[[Play|start]], <br>[[About|about]], <br> <a href="https://avaeris.neocities.org/index.html">Home page</a></p>
</div>{
(set: $name to (prompt: "First, what is your name?", "x"))
(if: $name is not "x")[
<div class="bg">
<br></br>
<h>Your name is (text-colour:red)[$name]?</h>
<p>[[Approve]], [[Deny]].</p>
</div>
(set: $showheader to true)
]
}<div class="bg">
<h>About.</h>
<p>This a interactive story created by Ava, 2024.
You can find my Youtube page here: <a href="https://www.youtube.com/@avaeris" target="_blank" >Link</a>, [[Back|title]]
</p>
</div>(set: $health to 100)
(set: $inventory to (a: )))
(set: $showheader to false))
(go-to: "title"){
(set: $showheader to true)
(set: $inventory to it + (a:'Radio','Flashlight'))
<!-- -->
<div class="bg2">
<br></br>
<h>Approved name</h>
<p>hello! [[Area1]]</p>
</div>
}{
(set: $showheader to true)
(set: $health to it-20)
<div class="bg">
<br></br>
<h>Denied! -20 health! but a choice!</h>
<p>of [[Area2]], [[Area1]]</p>
</div>
}{
(if: $showheader is true)[
<br></br>
<h>(text-colour:red)[Vitality: (print: '<meter value="' + (text: $health) + '" max="100"></meter>') |] (text-color: #c7933a)[ Hands: ](if: $inventory's length is 0)[ nothing.
](else:)[
(for: each _item, ...$inventory)[_item(unless: $inventory's last is _item)[,]
].
]</h>
]
}{
(set: $showheader to true)
<!-- -->
<div class="bg2">
<br></br>
<h>Area 1</h>
<p>area 1 </p>
</div>
}{
(set: $showheader to true)
<!-- -->
<div class="bg2">
<br></br>
<h>Area 2</h>
<p>area 2 </p>
</div>
}