{
<!-- Create a variable to track the position within the $typewriterText string -->
(set: $typewriterPos to 1)
<!-- Create a hook to hold the typed text -->
|typewriterOutput>[]
<!-- Set a delay of 20ms seconds per loop -->
(live: 10ms)[
<!-- Add the next character to the hook -->
(append: ?typewriterOutput)[(print: $typewriterText's $typewriterPos)]
<!-- Update the position -->
(set: $typewriterPos to it + 1)
<!-- If it's gone past the end, stop -->
(if: $typewriterPos is $typewriterText's length + 1)[
(stop:)
]
]
}<div class="block">(color: cyan) [Name:
(input: bind $name)
Favorite animal:
(input: bind $species)
]
(enchant: ?link, (text-color: yellow))
[[Enter]]
</div><div class="block">(color: cyan) [
Hello. We have detected that you are a(n) $species named $name.
(set: $typewriterText to "Welcome to the New Intergalactic Republic of 2160. You are living in a time of great progress for animal kind! If you remember our history, you are free to skip. Otherwise, allow me to briefly elaborate... ")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Skip ->continue3]]
[[Continue]]
</div><div class="block">(color: cyan) [
(set: $typewriterText to "Over a century ago, there used to be a planet we lived upon called Earth. The race of beings that dominated this planet was known as the human race.
On February 1st, 2030, human scientists began to worry about increasing overpopulation, climate change, civil unrest, and a general loss of control that they created an initiative to colonize extraterrestrial planets using genetically modified animals. This project was called the Ark project after a story in a human religious text.")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Continue->continue2]]
</div><div class="block">(color: cyan) [
(set: $typewriterText to "In an ironic twist, our founding fathers would return to earth after creating the colonies for humankind, only to find that humankind no longer existed, and earth was an inhospitable wasteland. No one knows what happened, or how.
Our forefathers would get to work in creating a new life for all of us. Some would stay behind on the first marshian colony, while others would venture off into the stars to discover and colonize distant planets.
After a century, our colonies will have expanded into at least two galaxies: our own Milky Way, and Andromeda. Millions of planets and stations litter our universe for many to travel to.")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Continue->continue3]]
</div>
<div class="block">(color: cyan) [
(set: $typewriterText to "Hello. Please input your name and favorite animal.")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Continue ->Inputs]]
</div><div class="block">(color: cyan) [
(set: $typewriterText to "You have logged into a database run by a small team called Cosmic Kits. This team is here to protect the people of our galaxies from strange and terrible threats. You may continue on to the main menu or review your last log:")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Log->Random Story]]
[[Continue->menu]]
</div><div class="block">(color: red) [
(set: $typewriterText to "ERROR: main database is not functioning correctly. You may be able to access backup system.")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
<a href="https://cosmic-kits.com/newckweb/homepage">Continue to backup</a>
</div>
<div class="box">
(color: cyan) [ (align:"=><=")[ Hello $name. Below are the following entries you can peruse.]
* [[Cosmic Kits]]
* [[Maps and Sectors]]
* [[Science]]
* [[Supernatural]]
* [[Factions]]
]
</div><div class="box">
(align:"=><=")[<img src="https://cosmic-kits.com/Assets/Images/Cklogoalpha.png" width="500px">]
(color: cyan) [
(set: $typewriterText to "Cosmic Kits is an intergalactic society started by a small team of ragtag individuals. The intent of this team is to protect the universe from malicious forces that may seek to harm and control our world, especially by establishing themselves as a god where they do not rightfully own that position. Our founding members include:
>James Castle: James Castle is a fox and the surviving son of Frank and Emma Castle. He is the leader of our group.
>Jasmine Castle: James' wife and second in command.
>C.H.I.P.: James' personal robotic assistant and friend.
>Milo Morris: The main navigation and flight expert for the original team.
>Boris Volkov: The team's weapons and artillery expert. As well as the team's muscle.
>Casey Caroline: the teams medic and engineer.
>Pip Morris: a genius computer wiz kid.
Other external members:
Lexxie Maxwell: The teams special operations expert.
You too can join!")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Join]]
[[Return->mainmenu]]
</div><div class="box">
(color: cyan) [ (align:"=><=")[ The following are some sectors we currently have in our list:]
* [[Solar System]]
* [[Vulpeculan System]]
]
</div>(t8n: 'zoom') [<div class="box">
(color: cyan) [ (align:"=><=")[ The following are some sectors we currently have in our list:]
* [[Solar System]]
* [[Vulpeculan System]]
]
</div>](display: 'menu')<div class="box">(color: cyan) [
(set: $typewriterText to "You wake up one day and your ship has crashed on Ander: a terranous planet in the Vulpeculan system. You're in the middle of a clearing somewhere. it's nighttime and it's quiet. Too quiet even. You forget why you were traveling exactly.
You need to reach a city in order to see if someone will repair your ship. So you begin to walk down a pathway that happens to be nearby.")
<!-- Display (call) the Typewriter passage -->
(display: "Typewriter")
]
(enchant: ?link, (text-color: yellow))
[[Continue->menu]]
</div>