-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
729 lines (661 loc) · 20 KB
/
init.lua
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
--[[
Minetest mod:
* columnia by Glunggi
* (former Stairs Copyright by(C) 2011-2012 Kahrl <kahrl@gmx.net>
* Copyright (C) 2011-2012 celeron55, Perttu Ahola)
* improvements: wsor4035, verymilan,
See README.txt for licensing and other information.
]]
columnia = {}
-- The Blueprint
minetest.register_craftitem("columnia:blueprint", {
description = "Column Blueprint",
inventory_image = "columnia_blueprint.png",
})
minetest.register_craft({
output = 'columnia:blueprint',
recipe = {
{'default:paper', 'group:stick', 'default:paper'},
{'default:paper', 'default:coal_lump', 'default:paper'},
{'default:paper', 'group:stick', 'default:paper'},
}
})
-- Bracket
minetest.register_node("columnia:bracket", {
description = 'Bracket (Column)',
tiles = {"columnia_rusty.png",},
drawtype = "nodebox",
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.25, 0, 0.4375, 0.25, 0.5, 0.5},
{-0.1875, -0.5, -0.1875, 0.1875, -0.375, 0.1875},
{-0.0625, -0.375, -0.0625, 0.0625, 0.1875, 0.0625},
{-0.0625, 0.1875, -0.0625, 0.0625, 0.3125, 0.4375},
{-0.1875, 0.0625, 0.3125, 0.1875, 0.4375, 0.4375},
{-0.125, -0.375, -0.125, 0.125, -0.25, 0.125},
},
},
groups = {choppy=2, oddly_breakable_by_hand=2,},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'columnia:bracket 4',
recipe = {
{"default:steel_ingot", "columnia:blueprint", ""},
{"", "default:steel_ingot", ""},
{"", "default:steel_ingot", ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
-- Lamp
minetest.register_node("columnia:lamp_ceiling", {
description = "Ceiling Lamp (Column)",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
inventory_image = "columnia_lamp_inv.png",
tiles = {
"columnia_rusty.png", "columnia_lamp.png", "columnia_lamp.png",
"columnia_lamp.png", "columnia_lamp.png", "columnia_lamp.png"
},
sunlight_propagates = true,
light_source = 13,
walkable = false,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
node_box = {
type = "fixed",
fixed = {
{-0.1875, 0.4375, -0.1875, 0.1875, 0.5, 0.1875},
{-0.125, 0.375, -0.125, 0.125, 0.4375, 0.125},
},
},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_craft({
output = 'columnia:lamp_ceiling 4',
recipe = {
{"columnia:blueprint", "default:steel_ingot", ""},
{"", "default:torch", ""},
{"", "default:glass", ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
-- Rusty_Block
minetest.register_node("columnia:rusty_block", {
description = "Rusty Block",
tiles = {"columnia_rusty_block.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'columnia:rusty_block 8',
recipe = {
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"default:steel_ingot", "columnia:blueprint", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
-- Now the Column
-- Node will be called columnia:column_mid_<subname>
function columnia.register_column_mid(subname, recipeitem, groups, images, description, sounds)
minetest.register_node(":columnia:column_mid_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, 0.5, 0.25},
},
},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
return itemstack
end
local p0 = pointed_thing.under
local p1 = pointed_thing.above
local param2 = 0
local placer_pos = placer:getpos()
if placer_pos then
local dir = {
x = p1.x - placer_pos.x,
y = p1.y - placer_pos.y,
z = p1.z - placer_pos.z
}
param2 = minetest.dir_to_facedir(dir)
end
if p0.y-1 == p1.y then
param2 = param2 + 20
if param2 == 21 then
param2 = 23
elseif param2 == 23 then
param2 = 21
end
end
return minetest.item_place(itemstack, placer, pointed_thing, param2)
end,
})
-- for replace ABM
minetest.register_node(":columnia:column_mid_" .. subname.."upside_down", {
replace_name = "columnia:column_mid_" .. subname,
groups = {slabs_replace=1},
})
minetest.register_craft({
output = 'columnia:column_mid_' .. subname .. ' 2',
recipe = {
{"", recipeitem, ""},
{"", "columnia:blueprint", ""},
{"", recipeitem, ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
end
-- Node will be called columnia:column_top_<subname>
function columnia.register_column_top(subname, recipeitem, groups, images, description, sounds)
minetest.register_node(":columnia:column_top_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, 0.5, 0.25},
{-0.5, 0.25, -0.5, 0.5, 0.5, 0.5},
{-0.375, 0, -0.375, 0.375, 0.5, 0.375},
},
},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
return itemstack
end
local p0 = pointed_thing.under
local p1 = pointed_thing.above
local param2 = 0
local placer_pos = placer:getpos()
if placer_pos then
local dir = {
x = p1.x - placer_pos.x,
y = p1.y - placer_pos.y,
z = p1.z - placer_pos.z
}
param2 = minetest.dir_to_facedir(dir)
end
if p0.y-1 == p1.y then
param2 = param2 + 20
if param2 == 21 then
param2 = 23
elseif param2 == 23 then
param2 = 21
end
end
return minetest.item_place(itemstack, placer, pointed_thing, param2)
end,
})
-- for replace ABM
minetest.register_node(":columnia:column_top_" .. subname.."upside_down", {
replace_name = "columnia:column_top_" .. subname,
groups = {slabs_replace=1},
})
minetest.register_craft({
output = 'columnia:column_top_' .. subname .. ' 4',
recipe = {
{recipeitem, recipeitem, recipeitem},
{"", recipeitem, ""},
{"", "columnia:blueprint", ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
end
-- Node will be called columnia:column_bottom_<subname>
function columnia.register_column_bottom(subname, recipeitem, groups, images, description, sounds)
minetest.register_node(":columnia:column_bottom_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, 0.5, 0.25},
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
{-0.375, -0.5, -0.375, 0.375, 0, 0.375},
},
},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
return itemstack
end
local p0 = pointed_thing.under
local p1 = pointed_thing.above
local param2 = 0
local placer_pos = placer:getpos()
if placer_pos then
local dir = {
x = p1.x - placer_pos.x,
y = p1.y - placer_pos.y,
z = p1.z - placer_pos.z
}
param2 = minetest.dir_to_facedir(dir)
end
if p0.y-1 == p1.y then
param2 = param2 + 20
if param2 == 21 then
param2 = 23
elseif param2 == 23 then
param2 = 21
end
end
return minetest.item_place(itemstack, placer, pointed_thing, param2)
end,
})
-- for replace ABM
minetest.register_node(":columnia:column_bottom_" .. subname.."upside_down", {
replace_name = "columnia:column_bottom_" .. subname,
groups = {slabs_replace=1},
})
minetest.register_craft({
output = 'columnia:column_bottom_' .. subname .. ' 4',
recipe = {
{"", "columnia:blueprint", ""},
{"", recipeitem, ""},
{recipeitem, recipeitem, recipeitem},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
end
-- Node will be called columnia:column_crosslink<subname>
function columnia.register_column_crosslink(subname, recipeitem, groups, images, description, sounds)
minetest.register_node(":columnia:column_crosslink_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, 0.5, 0.25},
{-0.5, 0, -0.25, 0.5, 0.5, 0.25},
{-0.25, 0, -0.5, 0.25, 0.5, 0.5},
{-0.4375, 0.0625, -0.4375, 0.4375, 0.4375, 0.4375},
},
},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
return itemstack
end
local p0 = pointed_thing.under
local p1 = pointed_thing.above
local param2 = 0
local placer_pos = placer:getpos()
if placer_pos then
local dir = {
x = p1.x - placer_pos.x,
y = p1.y - placer_pos.y,
z = p1.z - placer_pos.z
}
param2 = minetest.dir_to_facedir(dir)
end
if p0.y-1 == p1.y then
param2 = param2 + 20
if param2 == 21 then
param2 = 23
elseif param2 == 23 then
param2 = 21
end
end
return minetest.item_place(itemstack, placer, pointed_thing, param2)
end,
})
-- for replace ABM
minetest.register_node(":columnia:column_crosslink_" .. subname.."upside_down", {
replace_name = "columnia:column_crosslink_" .. subname,
groups = {slabs_replace=1},
})
minetest.register_craft({
output = 'columnia:column_crosslink_' .. subname .. ' 4',
recipe = {
{"", recipeitem, ""},
{recipeitem, "columnia:blueprint", recipeitem},
{"", recipeitem, ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
end
-- Node will be called columnia:column_link<subname>
function columnia.register_column_link(subname, recipeitem, groups, images, description, sounds)
minetest.register_node(":columnia:column_link_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.25, 0, -0.5, 0.25, 0.5, 0.5},
},
},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
return itemstack
end
local p0 = pointed_thing.under
local p1 = pointed_thing.above
local param2 = 0
local placer_pos = placer:getpos()
if placer_pos then
local dir = {
x = p1.x - placer_pos.x,
y = p1.y - placer_pos.y,
z = p1.z - placer_pos.z
}
param2 = minetest.dir_to_facedir(dir)
end
if p0.y-1 == p1.y then
param2 = param2 + 20
if param2 == 21 then
param2 = 23
elseif param2 == 23 then
param2 = 21
end
end
return minetest.item_place(itemstack, placer, pointed_thing, param2)
end,
})
-- for replace ABM
minetest.register_node(":columnia:column_link_" .. subname.."upside_down", {
replace_name = "columnia:column_link_" .. subname,
groups = {slabs_replace=1},
})
minetest.register_craft({
output = 'columnia:column_link_' .. subname .. ' 2',
recipe = {
{recipeitem, "columnia:blueprint", recipeitem},
{"", "", ""},
{"", "", ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
end
-- Node will be called columnia:column_linkdown<subname>
function columnia.register_column_linkdown(subname, recipeitem, groups, images, description, sounds)
minetest.register_node(":columnia:column_linkdown_" .. subname, {
description = description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
node_box = {
type = "fixed",
fixed = {
{-0.25, 0, -0.5, 0.25, 0.5, 0.5},
{-0.125, -0.5, -0.125, 0.125, 0, 0.125},
{-0.1875, -0.5, -0.1875, 0.1875, -0.375, 0.1875},
{-0.1875, -0.125, -0.1875, 0.1875, 0, 0.1875},
},
},
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
return itemstack
end
local p0 = pointed_thing.under
local p1 = pointed_thing.above
local param2 = 0
local placer_pos = placer:getpos()
if placer_pos then
local dir = {
x = p1.x - placer_pos.x,
y = p1.y - placer_pos.y,
z = p1.z - placer_pos.z
}
param2 = minetest.dir_to_facedir(dir)
end
if p0.y-1 == p1.y then
param2 = param2 + 20
if param2 == 21 then
param2 = 23
elseif param2 == 23 then
param2 = 21
end
end
return minetest.item_place(itemstack, placer, pointed_thing, param2)
end,
})
-- for replace ABM
minetest.register_node(":columnia:column_linkdown_" .. subname.."upside_down", {
replace_name = "columnia:column_linkdown_" .. subname,
groups = {slabs_replace=1},
})
minetest.register_craft({
output = 'columnia:column_linkdown_' .. subname .. ' 3',
recipe = {
{recipeitem, "columnia:blueprint", recipeitem},
{"", recipeitem, ""},
{"", "", ""},
},
replacements = {{"columnia:blueprint", "columnia:blueprint"}},
})
end
-- Nodes will be called columnia:{column}_<subname>
function columnia.register_column_ia(
subname, recipeitem, groups, images, desc_column_mid, desc_column_top, desc_column_bottom,
desc_column_crosslink, desc_column_link, desc_column_linkdown, sounds
)
columnia.register_column_mid(subname, recipeitem, groups, images, desc_column_mid, sounds)
columnia.register_column_top(subname, recipeitem, groups, images, desc_column_top, sounds)
columnia.register_column_bottom(subname, recipeitem, groups, images, desc_column_bottom, sounds)
columnia.register_column_crosslink(subname, recipeitem, groups, images, desc_column_crosslink, sounds)
columnia.register_column_link(subname, recipeitem, groups, images, desc_column_link, sounds)
columnia.register_column_linkdown(subname, recipeitem, groups, images, desc_column_linkdown, sounds)
end
columnia.register_column_ia("rusty_block", "columnia:rusty_block",
{cracky=3},
{"columnia_rusty_block.png"},
"Rusty Column",
"Rusty Column Top",
"Rusty Column Bottom",
"Rusty Column Crosslink",
"Rusty Column Link",
"Rusty Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("stone", "default:stone",
{cracky=3},
{"default_stone.png"},
"Stone Column",
"Stone Column Top",
"Stone Column Bottom",
"Stone Column Crosslink",
"Stone Column Link",
"Stone Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("stonebrick", "default:stonebrick",
{cracky=3},
{"default_stone_brick.png"},
"Stone Brick Column",
"Stone Brick Column Top",
"Stone Brick Column Bottom",
"Stone Brick Column Crosslink",
"Stone Brick Column Link",
"Stone Brick Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("desert_stonebrick", "default:desert_stonebrick",
{cracky=3},
{"default_desert_stone_brick.png"},
"Desert Stone Brick Column",
"Desert Stone Brick Column Top",
"Desert Stone Brick Column Bottom",
"Desert Stone Brick Column Crosslink",
"Desert Stone Brick Column Link",
"Desert Stone Brick Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("desert_stone", "default:desert_stone",
{cracky=3},
{"default_desert_stone.png"},
"Desert Stone Column",
"Desert Stone Column Top",
"Desert Stone Column Bottom",
"Desert Stone Column Crosslink",
"Desert Stone Column Link",
"Desert Stone Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("cobble", "default:cobble",
{cracky=3},
{"default_cobble.png"},
"Cobble Column",
"Cobble Column Top",
"Cobble Column Bottom",
"Cobble Column Crosslink",
"Cobble Column Link",
"Cobble Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("brick", "default:brick",
{cracky=3},
{"default_brick.png"},
"Brick Column",
"Brick Column Top",
"Brick Column Bottom",
"Brick Column Crosslink",
"Brick Column Link",
"Brick Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("sandstone", "default:sandstone",
{crumbly=2,cracky=2},
{"default_sandstone.png"},
"Sandstone Column",
"Sandstone Column Top",
"Sandstone Column Bottom",
"Sandstone Column Crosslink",
"Sandstone Column Link",
"Sandstone Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("sandstonebrick", "default:sandstonebrick",
{crumbly=2,cracky=2},
{"default_sandstone_brick.png"},
"Sandstone Brick Column",
"Sandstone Brick Column Top",
"Sandstone Brick Column Bottom",
"Sandstone Brick Column Crosslink",
"Sandstone Brick Column Link",
"Sandstone Brick Column Linkdown",
default.node_sound_stone_defaults()
)
columnia.register_column_ia("wood", "default:wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_wood.png"},
"Wooden Column",
"Wooden Column Top",
"Wooden Column Bottom",
"Wooden Column Crosslink",
"Wooden Column Link",
"Wooden Column Linkdown",
default.node_sound_wood_defaults())
columnia.register_column_ia("junglewood", "default:junglewood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_junglewood.png"},
"Junglewood Column",
"Junglewood Column Top",
"Junglewood Column Bottom",
"Junglewood Column Crosslink",
"Junglewood Column Link",
"Junglewood Column Linkdown",
default.node_sound_wood_defaults())
columnia.register_column_ia("pinewood", "default:pine_wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_pine_wood.png"},
"Pinewood Column",
"Pinewood Column Top",
"Pinewood Column Bottom",
"Pinewood Column Crosslink",
"Pinewood Column Link",
"Pinewood Column Linkdown",
default.node_sound_wood_defaults())
columnia.register_column_ia("acacia", "default:acacia_wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{"default_acacia_wood.png"},
"Acacia Tree Column",
"Acacia Tree Column Top",
"Acacia Tree Column Bottom",
"Acacia Tree Column Crosslink",
"Acacia Tree Column Link",
"Acacia Tree Column Linkdown",
default.node_sound_wood_defaults())
if core.get_modpath( 'moretrees' ) then
local morewood = {
{ name='beech', description='Beech Tree' },
{ name='apple_tree', description='Apple Tree' },
{ name='oak', description='Oak Tree' },
{ name='sequoia', description='Giant Sequoia' },
{ name='birch', description='Birch Tree' },
{ name='palm', description='Palm Tree', },
{ name='spruce', description='Spruce Tree' },
{ name='willow', description='Willow Tree' },
{ name='rubber_tree', description='Rubber Tree' },
{ name='fir', description='Douglas Fir' }
}
for _,t in pairs( morewood ) do
print('register: '.. t.name)
columnia.register_column_ia( t.name, 'moretrees:' .. t.name ..'_planks',
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{ 'moretrees_' .. t.name .. '_wood.png' },
t.description .. ' Column',
t.description .. ' Column Top',
t.description .. ' Column Bottom',
t.description .. ' Column Crosslink',
t.description .. ' Column Link',
t.description .. ' Column Linkdown',
default.node_sound_wood_defaults())
end
end
if core.get_modpath('moreblocks') then
stairsplus:register_all(
'columnia',
'rusty_block',
'columnia:rusty_block',
{
description = 'Rusty Block',
tiles = {
'columnia_rusty_block.png'
},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
}
)
end