some random stuff
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 203 B |
11
mods/decoblocks/models/candle.mtl
Normal file
@ -0,0 +1,11 @@
|
||||
# Blender MTL File: 'None'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl None
|
||||
Ns 0
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.8 0.8 0.8
|
||||
Ks 0.8 0.8 0.8
|
||||
d 1
|
||||
illum 2
|
||||
map_Kd C:\Games\minetest-0.4.15-win64\games\minetestia\mods\decoblocks\textures\decoblocks_candle.png
|
252
mods/decoblocks/models/candle.obj
Normal file
@ -0,0 +1,252 @@
|
||||
# Blender v2.78 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib candle.mtl
|
||||
o Cube_Cube.001
|
||||
v -0.375027 -1.009877 0.375027
|
||||
v -0.375027 0.229441 0.375027
|
||||
v -0.375027 -1.009877 -0.375027
|
||||
v -0.375027 0.229441 -0.375027
|
||||
v 0.375027 -1.009877 0.375027
|
||||
v 0.375027 0.229441 0.375027
|
||||
v 0.375027 -1.009877 -0.375027
|
||||
v 0.375027 0.229441 -0.375027
|
||||
v 0.370845 -1.009602 0.187023
|
||||
v 0.370845 -0.655717 0.187023
|
||||
v 0.370845 -1.009602 -0.000063
|
||||
v 0.370845 -0.655717 -0.000063
|
||||
v 0.557931 -1.009602 0.187023
|
||||
v 0.557931 -0.655717 0.187023
|
||||
v 0.557931 -1.009602 -0.000063
|
||||
v 0.557931 -0.655717 -0.000063
|
||||
v -0.560220 -1.009602 0.000476
|
||||
v -0.560220 -0.655717 0.000476
|
||||
v -0.560220 -1.009602 -0.186611
|
||||
v -0.560220 -0.655717 -0.186611
|
||||
v -0.373133 -1.009602 0.000476
|
||||
v -0.373133 -0.655717 0.000476
|
||||
v -0.373133 -1.009602 -0.186611
|
||||
v -0.373133 -0.655717 -0.186611
|
||||
v -0.187970 -1.009602 -0.372777
|
||||
v -0.187970 -0.655717 -0.372777
|
||||
v -0.187970 -1.009602 -0.559863
|
||||
v -0.187970 -0.655717 -0.559863
|
||||
v -0.000883 -1.009602 -0.372777
|
||||
v -0.000883 -0.655717 -0.372777
|
||||
v -0.000883 -1.009602 -0.559863
|
||||
v -0.000883 -0.655717 -0.559863
|
||||
v -0.000860 -1.009602 -0.372777
|
||||
v -0.000860 -0.832703 -0.372777
|
||||
v -0.000860 -1.009602 -0.559863
|
||||
v -0.000860 -0.832703 -0.559863
|
||||
v 0.186835 -1.009602 -0.372777
|
||||
v 0.186835 -0.832703 -0.372777
|
||||
v 0.186835 -1.009602 -0.559863
|
||||
v 0.186835 -0.832703 -0.559863
|
||||
v -0.000860 -1.009602 0.560229
|
||||
v -0.000860 -0.832703 0.560229
|
||||
v -0.000860 -1.009602 0.373142
|
||||
v -0.000860 -0.832703 0.373142
|
||||
v 0.186835 -1.009602 0.560229
|
||||
v 0.186835 -0.832703 0.560229
|
||||
v 0.186835 -1.009602 0.373142
|
||||
v 0.186835 -0.832703 0.373142
|
||||
v -0.559810 -1.009602 0.186883
|
||||
v -0.559810 -0.832703 0.186883
|
||||
v -0.559810 -1.009602 -0.000203
|
||||
v -0.559810 -0.832703 -0.000203
|
||||
v -0.372115 -1.009602 0.186883
|
||||
v -0.372115 -0.832703 0.186883
|
||||
v -0.372115 -1.009602 -0.000203
|
||||
v -0.372115 -0.832703 -0.000203
|
||||
v -0.093424 0.223583 0.093424
|
||||
v -0.093424 0.601591 0.093424
|
||||
v -0.093424 0.223583 -0.093424
|
||||
v -0.093424 0.601591 -0.093424
|
||||
v 0.093424 0.223583 0.093424
|
||||
v 0.093424 0.601591 0.093424
|
||||
v 0.093424 0.223583 -0.093424
|
||||
v 0.093424 0.601591 -0.093424
|
||||
vt 0.7500 0.3125
|
||||
vt 0.7500 0.7500
|
||||
vt 0.5000 0.7500
|
||||
vt 0.5000 0.3125
|
||||
vt 0.2500 0.7500
|
||||
vt 0.2500 0.3125
|
||||
vt -0.0000 0.7500
|
||||
vt -0.0000 0.3125
|
||||
vt 1.0000 0.3125
|
||||
vt 1.0000 0.7500
|
||||
vt 0.5000 0.7500
|
||||
vt 0.7500 0.7500
|
||||
vt 0.7500 1.0000
|
||||
vt 0.5000 1.0000
|
||||
vt 0.5000 1.0000
|
||||
vt 0.2500 1.0000
|
||||
vt 0.4375 0.0000
|
||||
vt 0.4375 0.1250
|
||||
vt 0.3750 0.1250
|
||||
vt 0.3750 0.0000
|
||||
vt 0.3125 0.1250
|
||||
vt 0.3125 0.0000
|
||||
vt 0.2500 0.1250
|
||||
vt 0.2500 0.0000
|
||||
vt 0.5000 0.0000
|
||||
vt 0.5000 0.1250
|
||||
vt 0.3750 0.1250
|
||||
vt 0.4375 0.1250
|
||||
vt 0.4375 0.1875
|
||||
vt 0.3750 0.1875
|
||||
vt 0.3750 0.1875
|
||||
vt 0.3125 0.1875
|
||||
vt 0.6875 -0.0000
|
||||
vt 0.6875 0.1250
|
||||
vt 0.6250 0.1250
|
||||
vt 0.6250 -0.0000
|
||||
vt 0.5625 0.1250
|
||||
vt 0.5625 -0.0000
|
||||
vt 0.5000 0.1250
|
||||
vt 0.5000 -0.0000
|
||||
vt 0.7500 -0.0000
|
||||
vt 0.7500 0.1250
|
||||
vt 0.6250 0.1250
|
||||
vt 0.6875 0.1250
|
||||
vt 0.6875 0.1875
|
||||
vt 0.6250 0.1875
|
||||
vt 0.6250 0.1875
|
||||
vt 0.5625 0.1875
|
||||
vt 0.9375 0.0000
|
||||
vt 0.9375 0.1250
|
||||
vt 0.8750 0.1250
|
||||
vt 0.8750 0.0000
|
||||
vt 0.8125 0.1250
|
||||
vt 0.8125 0.0000
|
||||
vt 0.7500 0.1250
|
||||
vt 0.7500 0.0000
|
||||
vt 1.0000 0.0000
|
||||
vt 1.0000 0.1250
|
||||
vt 0.8750 0.1250
|
||||
vt 0.9375 0.1250
|
||||
vt 0.9375 0.1875
|
||||
vt 0.8750 0.1875
|
||||
vt 0.8750 0.1875
|
||||
vt 0.8125 0.1875
|
||||
vt 0.9375 0.1875
|
||||
vt 0.9375 0.2500
|
||||
vt 0.8750 0.2500
|
||||
vt 0.8750 0.1875
|
||||
vt 0.8125 0.2500
|
||||
vt 0.8125 0.1875
|
||||
vt 0.7500 0.2500
|
||||
vt 0.7500 0.1875
|
||||
vt 1.0000 0.1875
|
||||
vt 1.0000 0.2500
|
||||
vt 0.8750 0.2500
|
||||
vt 0.9375 0.2500
|
||||
vt 0.9375 0.3125
|
||||
vt 0.8750 0.3125
|
||||
vt 0.8750 0.3125
|
||||
vt 0.8125 0.3125
|
||||
vt 0.6875 0.1875
|
||||
vt 0.6875 0.2500
|
||||
vt 0.6250 0.2500
|
||||
vt 0.6250 0.1875
|
||||
vt 0.5625 0.2500
|
||||
vt 0.5625 0.1875
|
||||
vt 0.5000 0.2500
|
||||
vt 0.5000 0.1875
|
||||
vt 0.7500 0.1875
|
||||
vt 0.7500 0.2500
|
||||
vt 0.6250 0.2500
|
||||
vt 0.6875 0.2500
|
||||
vt 0.6875 0.3125
|
||||
vt 0.6250 0.3125
|
||||
vt 0.6250 0.3125
|
||||
vt 0.5625 0.3125
|
||||
vt 0.4375 0.1875
|
||||
vt 0.4375 0.2500
|
||||
vt 0.3750 0.2500
|
||||
vt 0.3750 0.1875
|
||||
vt 0.3125 0.2500
|
||||
vt 0.3125 0.1875
|
||||
vt 0.2500 0.2500
|
||||
vt 0.2500 0.1875
|
||||
vt 0.5000 0.1875
|
||||
vt 0.5000 0.2500
|
||||
vt 0.3750 0.2500
|
||||
vt 0.4375 0.2500
|
||||
vt 0.4375 0.3125
|
||||
vt 0.3750 0.3125
|
||||
vt 0.3750 0.3125
|
||||
vt 0.3125 0.3125
|
||||
vt 0.1875 -0.0000
|
||||
vt 0.1875 0.1250
|
||||
vt 0.1250 0.1250
|
||||
vt 0.1250 -0.0000
|
||||
vt 0.0625 0.1250
|
||||
vt 0.0625 -0.0000
|
||||
vt -0.0000 0.1250
|
||||
vt -0.0000 -0.0000
|
||||
vt 0.2500 -0.0000
|
||||
vt 0.2500 0.1250
|
||||
vt 0.1250 0.1250
|
||||
vt 0.1875 0.1250
|
||||
vt 0.1875 0.1875
|
||||
vt 0.1250 0.1875
|
||||
vt 0.1250 0.1875
|
||||
vt 0.0625 0.1875
|
||||
vn -1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 -1.0000
|
||||
vn 1.0000 0.0000 0.0000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 0.0000
|
||||
vn 0.0000 1.0000 0.0000
|
||||
usemtl None
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||
f 5/9/4 6/10/4 2/2/4 1/1/4
|
||||
f 3/11/5 7/12/5 5/13/5 1/14/5
|
||||
f 8/5/6 4/3/6 2/15/6 6/16/6
|
||||
f 9/17/1 10/18/1 12/19/1 11/20/1
|
||||
f 11/20/2 12/19/2 16/21/2 15/22/2
|
||||
f 15/22/3 16/21/3 14/23/3 13/24/3
|
||||
f 13/25/4 14/26/4 10/18/4 9/17/4
|
||||
f 11/27/5 15/28/5 13/29/5 9/30/5
|
||||
f 16/21/6 12/19/6 10/31/6 14/32/6
|
||||
f 17/33/1 18/34/1 20/35/1 19/36/1
|
||||
f 19/36/2 20/35/2 24/37/2 23/38/2
|
||||
f 23/38/3 24/37/3 22/39/3 21/40/3
|
||||
f 21/41/4 22/42/4 18/34/4 17/33/4
|
||||
f 19/43/5 23/44/5 21/45/5 17/46/5
|
||||
f 24/37/6 20/35/6 18/47/6 22/48/6
|
||||
f 25/49/1 26/50/1 28/51/1 27/52/1
|
||||
f 27/52/2 28/51/2 32/53/2 31/54/2
|
||||
f 31/54/3 32/53/3 30/55/3 29/56/3
|
||||
f 29/57/4 30/58/4 26/50/4 25/49/4
|
||||
f 27/59/5 31/60/5 29/61/5 25/62/5
|
||||
f 32/53/6 28/51/6 26/63/6 30/64/6
|
||||
f 33/65/1 34/66/1 36/67/1 35/68/1
|
||||
f 35/68/2 36/67/2 40/69/2 39/70/2
|
||||
f 39/70/3 40/69/3 38/71/3 37/72/3
|
||||
f 37/73/4 38/74/4 34/66/4 33/65/4
|
||||
f 35/75/5 39/76/5 37/77/5 33/78/5
|
||||
f 40/69/6 36/67/6 34/79/6 38/80/6
|
||||
f 41/81/1 42/82/1 44/83/1 43/84/1
|
||||
f 43/84/2 44/83/2 48/85/2 47/86/2
|
||||
f 47/86/3 48/85/3 46/87/3 45/88/3
|
||||
f 45/89/4 46/90/4 42/82/4 41/81/4
|
||||
f 43/91/5 47/92/5 45/93/5 41/94/5
|
||||
f 48/85/6 44/83/6 42/95/6 46/96/6
|
||||
f 49/97/1 50/98/1 52/99/1 51/100/1
|
||||
f 51/100/2 52/99/2 56/101/2 55/102/2
|
||||
f 55/102/3 56/101/3 54/103/3 53/104/3
|
||||
f 53/105/4 54/106/4 50/98/4 49/97/4
|
||||
f 51/107/5 55/108/5 53/109/5 49/110/5
|
||||
f 56/101/6 52/99/6 50/111/6 54/112/6
|
||||
f 57/113/1 58/114/1 60/115/1 59/116/1
|
||||
f 59/116/2 60/115/2 64/117/2 63/118/2
|
||||
f 63/118/3 64/117/3 62/119/3 61/120/3
|
||||
f 61/121/4 62/122/4 58/114/4 57/113/4
|
||||
f 59/123/5 63/124/5 61/125/5 57/126/5
|
||||
f 64/117/6 60/115/6 58/127/6 62/128/6
|
@ -167,4 +167,30 @@ minetest.register_node("decoblocks:old_skeleton", {
|
||||
inventory_image = "decoblocks_skull_item.png",
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("decoblocks:candle", {
|
||||
description = "Candle",
|
||||
drawtype = "mesh",
|
||||
mesh = "candle.obj",
|
||||
tiles = {
|
||||
"decoblocks_candle.png",
|
||||
},
|
||||
visual_scale = 0.5,
|
||||
wield_image = "decoblocks_candle_item.png",
|
||||
wield_scale = {x=1.0, y=1.0, z=1.0},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.0, 0.3}
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.0, 0.3}
|
||||
},
|
||||
inventory_image = "decoblocks_candle_item.png",
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
|
BIN
mods/decoblocks/textures/decoblocks_candle.png
Normal file
After Width: | Height: | Size: 743 B |
BIN
mods/decoblocks/textures/decoblocks_candle_item.png
Normal file
After Width: | Height: | Size: 736 B |
@ -98,6 +98,7 @@ minetest.register_on_joinplayer(function(player)
|
||||
-- set GUI
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
player:set_inventory_formspec(default.gui_survival_form)
|
||||
|
||||
end
|
||||
player:hud_set_hotbar_image("gui_hotbar.png")
|
||||
player:hud_set_hotbar_selected_image("gui_hotbar_selected.png")
|
||||
|
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 971 B After Width: | Height: | Size: 996 B |
BIN
mods/default/textures/moon.png
Normal file
After Width: | Height: | Size: 257 B |
BIN
mods/default/textures/sun.png
Normal file
After Width: | Height: | Size: 246 B |
@ -3775,26 +3775,30 @@ minetest.register_node("witchcraft:portal", {
|
||||
groups = {cracky=3,dig_immediate=3, not_in_creative_inventory=1},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("witchcraft:candle", {
|
||||
description = "red candle",
|
||||
drawtype = "mesh",
|
||||
mesh = "candle.obj",
|
||||
tiles = {
|
||||
"witchcraft_candle_top.png",
|
||||
"witchcraft_candle_top.png",
|
||||
"witchcraft_candle.png",
|
||||
"witchcraft_candle.png",
|
||||
"witchcraft_candle.png",
|
||||
"witchcraft_candle.png"
|
||||
"witchcraft_red_candle.png",
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 0.5,
|
||||
wield_image = "witchcraft_red_candle_item.png",
|
||||
wield_scale = {x=1.0, y=1.0, z=1.0},
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
paramtype2 = "facedir",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.0625, 0.1875}, -- NodeBox1
|
||||
{-0.03125, -0.5, -0.03125, 0.03125, 0.0625, 0.03125}, -- NodeBox2
|
||||
}
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.0, 0.3}
|
||||
},
|
||||
groups = {fleshy=1, oddly_breakable_by_hand=1, dig_immediate=3},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.0, 0.3}
|
||||
},
|
||||
inventory_image = "witchcraft_red_candle_item.png",
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
|
||||
--other stuff
|
||||
|
Before Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 683 B |
BIN
mods/witchcraft/textures/witchcraft_red_candle.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
mods/witchcraft/textures/witchcraft_red_candle_item.png
Normal file
After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 342 B |