-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
107 lines (103 loc) · 2.7 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
<!doctype html>
<html>
<head>
<title>CivSim</title>
<script src='https://lycelia.com/lib/D.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/localforage/1.7.2/localforage.min.js'></script>
<script>
Object.assign(window, {
json: {},
events: {},
data: {},
pc: {
location: 'Shinyville',
harvest: {
logs: 0,
gold: 0,
shinies: 0,
mobs: 0
},
shinies: 0,
pop: 0,
birthrate: .5,
maxPop: 0,
logs: 0,
clicks: 60,
level: 0,
land: 10,
scienceSpeed: 1.00,
gold: 0,
usedLand: 0,
morale: 1.00,
built: {},
trained: {},
research: {}
},
render: {},
help: null
})
</script>
<link rel="stylesheet" type="text/css" href="https://lycelia.com/css/base.css">
<link rel="stylesheet" type="text/css" href="https://lycelia.com/css/extensions.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<script src='events/loadFiles.js'></script>
</head>
<body>
<flex id ='topUI'>
<left>
<div class='resource' title='population'>
<span id='population'>0/0</span>
<img src='images/icons/pop.svg' style='filter: invert(100%);'>
</div>
<div class='resource' title='shinies'>
<span id='shinies'>0</span>
<img src='images/shiniesIcon.svg'>
</div>
<div class='resource' title='logs'>
<span id='logs'>0</span>
<img src='images/icons/logs.svg'>
</div>
<div class='resource' title='gold'>
<span id='gold'>0</span>
<img src='images/icons/coins.svg'>
</div>
<div class='resource' title='morale'>
<span id='morale'>100</span>
<img src='images/icons/smile.svg'>
</div>
<div class='resource' title='land'>
<span id='land'>0/10</span>
<img src='images/icons/land.svg'>
</div>
</left>
<right>
<div class='resource' title='options/settings'>
<img style='filter: invert(100%); cursor: pointer;' src='images/icons/gear.svg' onclick='window.render.settings();'>
</div>
</right>
</flex>
<flex id='view'>
<flex id='leftMenu'>
<ul>
<li onclick='json.build.init()'>Build</li>
<li onclick='json.train.init()'>Train</li>
<li onclick='json.quests.init()'>Quests</li>
<li onclick='json.research.init()'>Research</li>
<li onclick='json.empire.init()'>Empire</li>
<li></li>
<li></li>
<li></li>
</ul>
</flex>
<flex id='menuDisplay'>
</flex>
<div id='main'>
<div id='grid'>
</div>
<div id='skillbar'>
<div id='clickCounter' title='clicks'></div>
</div>
</div>
</flex>
</body>
</html>