-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
156 lines (128 loc) · 6.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CYOAwesome by @McFunkypants</title>
<meta name="description" content="CYOAwesome by @McFunkypants">
<meta name="author" content="McFunkypants">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Special+Elite" >
<link rel="stylesheet" href="CYOAwesome.css">
<link rel="stylesheet" href="libs/animate.css">
<style>
</style>
</head>
<body>
<textarea id="game_source">
MUSHROOM CIRCLE
[wildmushroomcircle.png]
[1st][get 5 gold]
[1st]Drops of morning dew glint in the light of a rising sun. You are outdoors, standing in the middle of a mushroom circle.
All around you are fresh mushrooms, the air smells sweet, and in the distance looms a huge walled fortress. You are cold, damp, and very lost.
To your left stands a huge stone watchtower, and up ahead you see a stone path leading to the fortress.
An old backpack is strapped to your back, but it feels empty.
BACKPACK
[1st] You remove your trusty canvas backpack and take stock of your current inventory.
[roll = 1d4]
[roll==1] You are holding
[roll==2] Your backpack contains
[roll==3] Your inventory consists of
[roll==4] You currently have
[invcount = 0]
[shard?] [invcount++] [shard] crystal shard[s],
[mushroom?] [invcount++] [mushroom] magic mushroom[s],
[flower?] [invcount++] [flower] honeyflower[s],
[invcount > 0] and
[gold] gold coin[s].
FRESH MUSHROOMS
[1st][get mushroom]You decide to pick one of the mushrooms for later use.
[else][get mushroom]You decide to pick another.
You now have [mushroom] mushroom[s].
STONE TOWER
[wildtowerdoor.png]
Gazing up, you notice that this is a belltower, perhaps used as a lookout post. Standing outside the fortress walls,
from the top you could see beyond the mountains. The door is locked.
[has key] You decide to use the silver key to unlock the belltower door.
[else] You decide to look for a key in one of the buildings up ahead.
STONE PATH
[wildpathtobridge.png]
The path is made of rough-cut stone, looks anicient, and leads to a drawbridge.
To the left of the path are giant natural hot springs, bubbling quietly.
In the distance you can see a crooked tower.
By your feet are some unusual yellow flowers, still closed after a chilly night.
YELLOW FLOWERS
[1st][get flower]The flowers glisten with nectar and shine like honey. You take one.
[else] One of the lowers has already been picked, and you decide to leave the others to grow free.
HOT SPRINGS
[wildhotsprings.png]
The water in the springs is boiling hot, smells faintly of sulfur, and radiates a comforting warmth.
You can see the stone tower behind you, just down the stone path, and the crooked tower up ahead.
To your right is a fortress wall protected by a moat with a drawbridge.
DRAWBRIDGE
[maplebridgetocastle.png]
The drawbridge is down, and before you stands the grand entrance to a huge fortress made of stone.
You can see ornate gardens beyond the fortress gates, and behind you is a stone path.
FORTRESS GATES
[maplecastlegates.png]
Beyond the fortress entrance lies a beautiful, lush garden. A waterfall cascades down a rock island,
upon which a majestic knarled maple tree grows. It looks a thousand years old, and has tiny red leaves the colour of rust.
LUSH GARDEN
[maplegemgarden.png]
You are standing in a beautiful garden, simple and clean. It seems timeless, like the season is always summer here.
To your right is a glowing cluster of crystals by a small bridge, and on the right are some houses.
CRYSTALS
[maplegemcluster.png]
In a corner of the garden grows a shimmering cluster of giant crystals.
[has chisel] You could collect a shard with your chisel.
[else] You decide to look for some sort of tool that would alow you to collect one.
To your left is a small bridge that leads to the upper fortress, and behind you are the fortress gates and their lush garden.
COLLECT A SHARD
[1st] [get shard] You strike the crystal with your chisel and in a flash of sparks a shard chips off. You put it into your bakpack for safe keeping.
[else] These crystals have already been harvested, and a shard is in your bakpack.
SOME HOUSES
[maplecastlepath.png]
Beyond the lush garden is another bridge leading to what look like houses or administrative buildings.
Tucked behind them, in a back yard, is a stone monument. To your left is a stairway leading to an upper courtyard.
UPPER PILLARS
[maplecastlepillars.png]
At the topmost level of the fortress is a grand roofed entrance, with massive marble columns and a grand maplewood door.
Below you is a courtyard with paths leading in all directions.
On your left is an ancient tree so overgrown you just might be able to climb it.
STONE MONUMENT
[maplemonolith.png]
An ancient marble monument, covered in carved symbols in a language you cannot read, stands resolutely behind some houses.
COURTYARD
[maplepathtostonehenge.png]
A stone path splits four ways in the middle of a central courtyard.
Behind you are stairs leading to a small bridge.
To your right are some houses, part of the lower fortress garden district.
Up ahead, surrounded by flowers and trees, stands a circle of stone monoliths.
There is also a set of stairs here that lead to the upper fortress pillars.
SMALL BRIDGE
[maplestairstostonehenge.png]
The inner courtyard of the fortress is just over the small bridge by the lush garden.
A plain wooden bench sits here, offering respite for weary travellers.
Beyond the trees the path continues up a set of steep stairs to upper courtyard.
STONE MONOLITHS
[maplestonehenge.png]
At the far end of the upper courtyard stands a henge of stones, arranged in a circle.
In the center is a rock with a hole harved into it that surely faces into the sunrise on just the right day.
THE END
You win!</textarea>
<div id='game' onclick='hurryup()'>
<div id='story_so_far'></div>
<div id='current_scene'></div>
<div id='current_choices'></div>
<div id='swingmeter'>
<div id='swingtoolow'></div>
<div id='swinggoodlow'></div>
<div id='swingsweetlow'></div>
<div id='swingsweetest'></div>
<div id='swingsweethigh'></div>
<div id='swinggoodhigh'></div>
<div id='swingtext'>SWING METER</div>
<div id='swingpower'></div>
</div>
</div>
<script src="CYOAwesome.js"></script>
</body>
</html>