-
Notifications
You must be signed in to change notification settings - Fork 1
/
castle_excalibur.lua
36 lines (35 loc) · 1.42 KB
/
castle_excalibur.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
--EXCALIBUR
minetest.register_node("castle:excalibur", {
description = "Excalibur in the rock",
drawtype = "nodebox",
tiles = {'excalibur_top.png','excalibur_front.png','excalibur_front.png','excalibur_front.png','excalibur_front.png','excalibur_front.png'},
inventory_image = "excalibur_front.png",
-- wield_image = "default_torch_on_floor.png",
paramtype = "light",
paramtype2 = "facedir",
node_box={
type= "fixed",
fixed = {{-0.5,-0.5,-0.5,0.5,-0.375,0.5},
{-0.25,-0.375,-0.25,0.25,-0.25,0.25},
{-0.125,-0.125,-0.125,0.125,-0.25,0.125},
{-0.015625,-0.5,-0.015625,0.015625,0.421875,0.015625},
{-0.03125,0.34375,-0.03125,0.03125,0.40625,0.03125},
{-0.046875,0.359375,-0.015625,0.046875,0.390625,0.015625},
{-0.015625,0.359375,-0.046875,0.015625,0.390625,0.046875},
{-0.09375,0.1875,-0.015625,0.09375,0.21875,0.015625},
{-0.109375,0.171875,-0.015625,-0.0625,0.203125,0.015625},
{-0.125,0.15625,-0.015625,-0.109375,0.1875,0.015625},
{0.0625,0.171875,-0.015625,0.109375,0.203125,0.015625},
{0.109375,0.15625,-0.015625,0.125,0.1875,0.015625},},
selection_box= {-0.5,-0.5,-0.5,0.5,-0.5,0.5},
},
sunlight_propagates = false,
-- is_ground_content = false,
-- walkable = false,
diggable = false,
damage_per_second = 1,
light_source = LIGHT_MAX-10,
groups = {choppy=2,dig_immediate=3,flammable=1,attached_node=1,hot=2},
-- legacy_wallmounted = true,
sounds = default.node_sound_defaults(),
})