]> git.localhorst.tv Git - blank-assets.git/blob - data/default.types
moar types
[blank-assets.git] / data / default.types
1 // default min solidity is 0.5 which marks the border of the solid world
2 // anything with less than that will be incredibly common on the surface
3
4 white_coarse = {
5         texture = "rock-1";
6         label = "Coarse White";
7         place_sound = "thump";
8         remove_sound = "plop";
9         shape = uniform_block;
10         generate = true;
11         mid_solidity = 0.5;
12         max_solidity = 0.75;
13         max_temperature = 0.0;
14         mid_temperature = -0.5;
15 };
16 white_smooth = white_coarse {
17         texture = "rock-2";
18         label = "Smooth White";
19         mid_solidity = 0.6;
20         max_solidity = 1.0;
21 };
22 white_hard = white_coarse {
23         texture = "rock-3";
24         label = "Hard White";
25         min_solidity = 0.7;
26         mid_solidity = 1.0;
27         max_solidity = 1.0;
28 };
29 white_slab = white_coarse {
30         label = "White Slab";
31         shape = uniform_low_slab;
32         generate = false;
33 };
34 white_stair = white_coarse {
35         label = "White Stair";
36         shape = uniform_stair;
37         generate = false;
38 };
39
40 red_coarse = white_coarse {
41         rgb_mod = [ 0.8, 0.2, 0.2 ];
42         label = "Coarse Red";
43         min_temperature = 0.0;
44         mid_temperature = 0.5;
45         max_temperature = 1.0;
46         max_humidity = 0.0;
47         mid_humidity = -0.5;
48 };
49 red_smooth = red_coarse {
50         texture = "rock-2";
51         label = "Smooth Red";
52         mid_solidity = 0.6;
53         max_solidity = 1.0;
54 };
55 red_hard = red_coarse {
56         texture = "rock-3";
57         label = "Hard Red";
58         min_solidity = 0.7;
59         mid_solidity = 1.0;
60         max_solidity = 1.0;
61 };
62 red_slab = red_hard {
63         label = "Red Slab";
64         shape = uniform_low_slab;
65         generate = false;
66 };
67 red_stair = red_hard {
68         label = "Red Stair";
69         shape = uniform_stair;
70         generate = false;
71 };
72
73 green_coarse = white_coarse {
74         rgb_mod = [ 0.2, 0.8, 0.2 ];
75         label = "Coarse Green";
76         min_temperature = -0.5;
77         mid_temperature = 0.25;
78         max_temperature = 0.75;
79 };
80 green_smooth = green_coarse {
81         texture = "rock-2";
82         label = "Smooth Green";
83         mid_solidity = 0.6;
84         max_solidity = 1.0;
85 };
86 green_hard = green_coarse {
87         texture = "rock-3";
88         label = "Hard Green";
89         min_solidity = 0.7;
90         mid_solidity = 1.0;
91         max_solidity = 1.0;
92 };
93 green_slab = green_coarse {
94         label = "Green Slab";
95         shape = uniform_low_slab;
96         generate = false;
97 };
98 green_stair = green_coarse {
99         label = "Green Stair";
100         shape = uniform_stair;
101         generate = false;
102 };
103
104 blue_coarse = white_coarse {
105         texture = "rock-1";
106         rgb_mod = [ 0.2, 0.2, 0.8 ];
107         outline = [ 0.75, 0.75, 0.75 ];
108         label = "Coarse Blue";
109         mid_solidity = 0.5;
110         max_solidity = 0.75;
111         min_humidity = 0.0;
112         mid_humidity = 1.0;
113         min_temperature = -1.0;
114         mid_temperature = 0.0;
115         max_temperature = 1.0;
116 };
117 blue_smooth = blue_coarse {
118         texture = "rock-2";
119         label = "Smooth Blue";
120         mid_solidity = 0.6;
121         max_solidity = 1.0;
122 };
123 blue_hard = blue_coarse {
124         texture = "rock-3";
125         label = "Hard Blue";
126         min_solidity = 0.7;
127         mid_solidity = 1.0;
128         max_solidity = 1.0;
129 };
130 blue_slab = blue_hard {
131         label = "Blue Slab";
132         shape = uniform_low_slab;
133         generate = false;
134 };
135 blue_stair = blue_hard {
136         label = "Blue Stair";
137         shape = uniform_stair;
138         generate = false;
139 };
140
141 // trying out some more "realistic" variants
142 dirt = {
143         texture = "grain";
144         rgb_mod = [ 0.5, 0.35, 0.2 ];
145         label = "Dirt";
146         place_sound = "thump";
147         remove_sound = "plop";
148         shape = uniform_block;
149         generate = true;
150         mid_solidity = 0.6;
151         max_solidity = 0.8;
152 };
153 grass = dirt {
154         rgb_mod = [ 0.0, 0.2, 0 ];
155         label = "Grass";
156         mid_solidity = 0.55;
157         max_solidity = 0.65;
158         min_humidity = 0.1;
159         mid_humidity = 0.8;
160 };
161 fiber = grass {
162         texture = "lines";
163         label = "Fiber";
164 };
165 log = dirt {
166         shape = pipe_block;
167         // TODO: hmm, this calls for color mods per texture or per face
168         textures = [ "lines", "rects" ];
169         label = "Log";
170 };
171 stone = dirt {
172         rgb_mod = [ 0.6, 0.6, 0.6 ];
173         label = "Stone";
174         mid_solidity = 0.75;
175         max_solidity = 1.0;
176 };
177 stone_panel = stone {
178         texture = "panel";
179         label = "Stone Panel";
180         commonness = 0.75;
181 };
182 stone_brick = stone {
183         texture = "brick";
184         label = "Stone Brick";
185         commonness = 0.5;
186 };
187 snow = dirt {
188         rgb_mod = [ 0.9, 0.9, 1 ];
189         label = "Snow";
190         mid_solidity = 0.5;
191         max_solidity = 0.7;
192         min_temperature = -0.5;
193         mid_temperature = -0.25;
194         max_temperature = 0.0;
195 };
196 ice = snow {
197         texture = "panel";
198         label = "Ice";
199         min_solidity = 0.6;
200         mid_solidity = 0.65;
201         max_solidity = 0.75;
202 };
203 sand = dirt {
204         rgb_mod = [ 0.93, 0.9, 0.66 ];
205         label = "Sand";
206         mid_humidity = -0.9;
207         max_humidity = 0.0;
208         min_solidity = 0.5;
209         mid_solidity = 0.5;
210         max_solidity = 0.65;
211         min_temperature = 0.1;
212         mid_temperature = 0.7;
213 };
214 sandstone = sand {
215         texture = "panel";
216         label = "Sandstone";
217         min_solidity = 0.55;
218         mid_solidity = 0.7;
219         max_solidity = 0.75;
220 };
221
222 grav_spherical = {
223         texture = "gravity-neutral";
224         label = "Spherical Gravity";
225         place_sound = "thump";
226         remove_sound = "plop";
227         shape = uniform_block;
228         gravity = Radial(15);
229 };
230 grav_directed = {
231         textures = [ "gravity-directed", "gravity-neutral" ];
232         label = "Directed Gravity";
233         place_sound = "thump";
234         remove_sound = "plop";
235         shape = pipe_block;
236         // 15x8x15 box with 10 units gravity downwards
237         gravity = CuboidField([ 0, -10, 0 ], [ -7.5, -0.5, -7.5 ], [ 7.5, 7.5, 7.5 ]);
238 };
239
240 light = {
241         texture = "rock-2";
242         rgb_mod = [ 0.8, 0.8, 0.2 ];
243         label = "Light";
244         place_sound = "thump";
245         remove_sound = "plop";
246         luminosity = 15;
247         shape = uniform_block;
248         generate = true;
249         mid_solidity = 0.5;
250         max_solidity = 0.75;
251         commonness = 0.125;
252 };
253
254 debug = {
255         texture = "debug";
256         label = "Debug Cube";
257         place_sound = "thump";
258         remove_sound = "plop";
259         shape = uniform_block;
260 };