forked from ac-minetest/rnd_trees
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
154 lines (143 loc) · 8.82 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Natural Tree Mod for Minetest">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>RND Trees - Max Davy</title>
<!-- Tweaks for various OSs:-->
<!-- Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="shortcut icon" type="image/png" href="./icons/favicon.png" />
<!-- iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="RND Trees - Max Davy">
<link rel="apple-touch-icon-precomposed" href="/icons/apple-icon-precomposed.png">
<!-- Windows -->
<meta name="msapplication-TileImage" content="/icons/ms-icon-144x144.png">
<meta name="msapplication-TileColor" content="#673ab7">
<meta name="theme-color" content="#673ab7">
<!-- Apple -->
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/icons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/icons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/icons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/icons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/icons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/icons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="/styles/material.css" />
<link rel="stylesheet" href="/styles.css">
<style>
#view-source {
position: fixed;
display: block;
right: 0;
bottom: 0;
margin-right: 40px;
margin-bottom: 40px;
z-index: 900;
}
</style>
</head>
<body class="spectrum-background">
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header mdl-layout__header--waterfall portfolio-header glass-element">
<a role="button" tabindex="0" class="mdl-layout__drawer-button" href="https://max-davy.github.io"><i class="material-icons">home</i></a>
<div class="mdl-layout__header-row">
<span class="mdl-layout__title">RND Trees</span>
</div>
</header>
<main class="mdl-layout__content spectrum-background">
<div class="mdl-grid portfolio-max-width">
<!-- Title -->
<div class="mdl-cell mdl-cell--12-col mdl-card mdl-shadow--4dp glass-card">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Create growing trees from any Minetest block</h2>
</div>
<div class="mdl-card__supporting-text">To install:
<ol>
<li>Unzip repository</li>
<li>Name folder “rnd_trees”</li>
<li>Place folder in minetest install directory -> mods</li>
</ol>
</div>
<div class="mdl-card__actions">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect mdl-button--accent" href="./rnd_trees.zip" target="_blank">Download Zip</a>
</div>
</div>
<!-- Screenshots -->
<div class="mdl-cell mdl-cell--12-col mdl-card mdl-shadow--4dp glass-card">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Screenshots</h2>
</div>
<div class="mdl-card__media">
<img class="article-image" src="https://i.imgur.com/LD6VcO1.jpg" border="0" alt="">
</div>
<div class="mdl-card__supporting-text">Foreground: stone and wooden fence, Background: Bone and ethereal mushroom</div>
<div class="mdl-card__media">
<img class="article-image" src="https://i.imgur.com/p263ejK.jpg" border="0" alt="">
</div>
<div class="mdl-card__supporting-text">A variety of different materials and growth specs</div>
</div>
<!-- Instructions -->
<div class="mdl-cell mdl-cell--12-col mdl-card mdl-shadow--4dp glass-card">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">How to Use</h2>
</div>
<div class="mdl-card__supporting-text">Place one of the rnd_trees blocks. The tree will start growing immediately.<br><br>Blocks are:<br>
<ul>
<li><b>rnd_trees:tree</b> - customizable growth pattern/materials</li>
<li><b>rnd_trees:aspentree</b> - roughtly equivalent to the default aspen tree</li>
<li><b>rnd_trees:pinetree</b> - approximate size/shape of default pine tree. The growth algorithm is best suited to deciduous tres, so it doesn’t resemble the default version very well</li>
<li><b>rnd_trees:jungletree</b> - closely resembles the default jungle tree; can be as tall as an emergent jungle tree</li>
<li><b>rnd_trees:appletree</b> - a larger and more realistic apple tree</li>
<li><b>rnd_trees:acaciatree</b> - roughtly equivalent to the default acacia tree. Again, the growth algorithm does not work as well for this one</li>
</ul>
</div>
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Chat Commands</h2>
</div>
<div class="mdl-card__supporting-text">
<ul>
<li><b>/trunkmat</b> - the trunks of all future trees grown from rnd_trees:tree will be made of the currently wielded block</li>
<li><b>/leafmat</b> - the leaves of all future trees grown from rnd_trees:tree will be made of the currently wielded block</li>
<li><b>/treespec
〈height〉
〈trunk height〉
〈branch length〉</b> - all future trees grown from rnd_trees:tree will have an overall height of blocks, branches starting above blocks and branches up to blocks long. Any of these values may be made negative
to randomize the value near the given value; e.g. `/treespec -30 5 10` will cause future trees to be a random height near 30 blocks.</li>
</ul>
These customizations are per user and persist across logins.
</div>
</div>
</div>
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<div class="mdl-logo">© 2020 Max Davy</div>
<div class="mdl-logo">View source on <a href="https://github.com/max-davy/rnd_trees/" target="_blank">Github</a></div>
</div>
<div class="mdl-mini-footer__right-section">
<ul class="mdl-mini-footer__link-list">
<li>Created using:</li>
<li><a href="https://pages.github.com" target=_blank>Github Pages</a></li>
<li><a href="https://getmdl.io" target="_blank">Material Design Lite</a></li>
<li><a href="https://www.gitkraken.com" target="_blank">GitKraken</a></li>
<li><a href="https://code.visualstudio.com" target="_blank">Visual Studio Code</a></li>
</ul>
</div>
</footer>
</main>
</div>
<script src="/styles/material.js"></script>
</body>
</html>