flowerpot and other stuff
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.5 KiB |
@ -104,8 +104,8 @@ minetest.register_node("decoblocks:vase", {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
|
||||
},
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
groups = {cracky = 2, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
|
||||
@ -127,6 +127,6 @@ minetest.register_node("decoblocks:Ancient_vase", {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
|
||||
},
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
groups = {cracky = 2, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
BIN
mods/decoblocks/textures/Ancient_vase.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
mods/decoblocks/textures/vase.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
@ -812,7 +812,6 @@ doors.register_fencegate("doors:gate_aspen_wood", {
|
||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}
|
||||
})
|
||||
|
||||
|
||||
----fuels----
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -1,4 +1,4 @@
|
||||
License of source code
|
||||
License of source code
|
||||
----------------------
|
||||
|
||||
The MIT License (MIT)
|
||||
@ -30,6 +30,8 @@ https://opensource.org/licenses/MIT
|
||||
Licenses of media (textures, models and sounds)
|
||||
-----------------------------------------------
|
||||
|
||||
Copyright (C) 2017 tobyplowy(aka toby109tt) all new textures
|
||||
|
||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||
Copyright (C) 2011-2016 Fernando Zapata
|
||||
Copyright (C) 2014-2016 celeron55
|
||||
|
BIN
mods/doors/textures/doors_aspen_wood_door.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
mods/doors/textures/doors_aspen_wood_door_item.png
Normal file
After Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 795 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 239 B |
3
mods/flowerpots/credits.txt
Normal file
@ -0,0 +1,3 @@
|
||||
all textures and models are made by tobyplowy(aka toby109tt) and code is by D00med and tobyplowy(aka toby109tt) and minetest core devs please give credit if used!
|
||||
|
||||
|
1
mods/flowerpots/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
3
mods/flowerpots/init.lua
Normal file
@ -0,0 +1,3 @@
|
||||
local path = minetest.get_modpath("flowerpots")
|
||||
|
||||
dofile(path.."/nodes.lua")
|
69
mods/flowerpots/models/flowerpot.obj
Normal file
@ -0,0 +1,69 @@
|
||||
# Blender v2.78 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib flowerpot.mtl
|
||||
o Cube_Cube.001
|
||||
v -0.376017 -1.015283 0.376017
|
||||
v -0.376017 -0.263249 0.376017
|
||||
v -0.376017 -0.263249 -0.376017
|
||||
v -0.376017 -1.015283 -0.376017
|
||||
v 0.376017 -0.263249 -0.376017
|
||||
v 0.376017 -1.015283 -0.376017
|
||||
v 0.376017 -0.263249 0.376017
|
||||
v 0.376017 -1.015283 0.376017
|
||||
v -0.250565 -0.558776 0.250565
|
||||
v -0.250565 -0.558776 -0.250565
|
||||
v -0.250565 -0.263350 -0.250565
|
||||
v -0.250565 -0.263350 0.250565
|
||||
v 0.250565 -0.558776 -0.250565
|
||||
v 0.250565 -0.263350 -0.250565
|
||||
v 0.250565 -0.558776 0.250565
|
||||
v 0.250565 -0.263350 0.250565
|
||||
vt 0.5625 0.6250
|
||||
vt 0.5625 0.8125
|
||||
vt 0.3750 0.8125
|
||||
vt 0.3750 0.6250
|
||||
vt 0.1875 0.8125
|
||||
vt 0.1875 0.6250
|
||||
vt -0.0000 0.8125
|
||||
vt 0.0000 0.6250
|
||||
vt 0.7500 0.6250
|
||||
vt 0.7500 0.8125
|
||||
vt 0.3750 0.8125
|
||||
vt 0.5625 0.8125
|
||||
vt 0.5625 1.0000
|
||||
vt 0.3750 1.0000
|
||||
vt 0.3750 1.0000
|
||||
vt 0.1875 1.0000
|
||||
vt 0.3750 0.4375
|
||||
vt 0.2500 0.4375
|
||||
vt 0.2500 0.5000
|
||||
vt 0.3750 0.5000
|
||||
vt 0.1250 0.4375
|
||||
vt 0.1250 0.5000
|
||||
vt -0.0000 0.4375
|
||||
vt -0.0000 0.5000
|
||||
vt 0.5000 0.4375
|
||||
vt 0.5000 0.5000
|
||||
vt 0.1250 0.5000
|
||||
vt 0.1250 0.6250
|
||||
vt 0.2500 0.6250
|
||||
vt 0.2500 0.5000
|
||||
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 1
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 4/4/2 3/3/2 5/5/2 6/6/2
|
||||
f 6/6/3 5/5/3 7/7/3 8/8/3
|
||||
f 8/9/4 7/10/4 2/2/4 1/1/4
|
||||
f 4/11/5 6/12/5 8/13/5 1/14/5
|
||||
f 5/5/6 3/3/6 2/15/6 7/16/6
|
||||
f 9/17/3 10/18/3 11/19/3 12/20/3
|
||||
f 10/18/4 13/21/4 14/22/4 11/19/4
|
||||
f 13/21/1 15/23/1 16/24/1 14/22/1
|
||||
f 15/25/2 9/17/2 12/20/2 16/26/2
|
||||
f 10/27/6 9/28/6 15/29/6 13/30/6
|
90
mods/flowerpots/models/flowerpot_with_Xflower.obj
Normal file
@ -0,0 +1,90 @@
|
||||
# Blender v2.78 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib flowerpot_with_Xflower.mtl
|
||||
o Cube_Cube.001
|
||||
v -0.376017 -1.015283 0.376017
|
||||
v -0.376017 -0.263249 0.376017
|
||||
v -0.376017 -0.263249 -0.376017
|
||||
v -0.376017 -1.015283 -0.376017
|
||||
v 0.376017 -0.263249 -0.376017
|
||||
v 0.376017 -1.015283 -0.376017
|
||||
v 0.376017 -0.263249 0.376017
|
||||
v 0.376017 -1.015283 0.376017
|
||||
v -0.250565 -0.558776 0.250565
|
||||
v -0.250565 -0.558776 -0.250565
|
||||
v -0.250565 -0.263350 -0.250565
|
||||
v -0.250565 -0.263350 0.250565
|
||||
v 0.250565 -0.558776 -0.250565
|
||||
v 0.250565 -0.263350 -0.250565
|
||||
v 0.250565 -0.558776 0.250565
|
||||
v 0.250565 -0.263350 0.250565
|
||||
v -0.677552 -0.564356 0.677766
|
||||
v -0.677552 1.848188 0.677767
|
||||
v 0.677280 -0.564356 -0.677066
|
||||
v 0.677280 1.848188 -0.677066
|
||||
v 0.677280 -0.564356 0.677767
|
||||
v 0.677280 1.848188 0.677767
|
||||
v -0.677552 -0.564356 -0.677066
|
||||
v -0.677552 1.848188 -0.677066
|
||||
vt 1.0000 0.0000
|
||||
vt 1.0000 0.6250
|
||||
vt 0.5000 0.6250
|
||||
vt 0.5000 -0.0000
|
||||
vt 1.0000 0.0000
|
||||
vt 1.0000 0.6250
|
||||
vt 0.5000 0.6250
|
||||
vt 0.5000 -0.0000
|
||||
vt 0.5625 0.6250
|
||||
vt 0.5625 0.8125
|
||||
vt 0.3750 0.8125
|
||||
vt 0.3750 0.6250
|
||||
vt 0.1875 0.8125
|
||||
vt 0.1875 0.6250
|
||||
vt -0.0000 0.8125
|
||||
vt 0.0000 0.6250
|
||||
vt 0.7500 0.6250
|
||||
vt 0.7500 0.8125
|
||||
vt 0.3750 0.8125
|
||||
vt 0.5625 0.8125
|
||||
vt 0.5625 1.0000
|
||||
vt 0.3750 1.0000
|
||||
vt 0.3750 1.0000
|
||||
vt 0.1875 1.0000
|
||||
vt 0.3750 0.4375
|
||||
vt 0.2500 0.4375
|
||||
vt 0.2500 0.5000
|
||||
vt 0.3750 0.5000
|
||||
vt 0.1250 0.4375
|
||||
vt 0.1250 0.5000
|
||||
vt -0.0000 0.4375
|
||||
vt -0.0000 0.5000
|
||||
vt 0.5000 0.4375
|
||||
vt 0.5000 0.5000
|
||||
vt 0.1250 0.5000
|
||||
vt 0.1250 0.6250
|
||||
vt 0.2500 0.6250
|
||||
vt 0.2500 0.5000
|
||||
vn -0.7071 0.0000 -0.7071
|
||||
vn -0.7071 0.0000 0.7071
|
||||
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 17/1/1 18/2/1 20/3/1 19/4/1
|
||||
f 21/5/2 22/6/2 24/7/2 23/8/2
|
||||
s 1
|
||||
f 1/9/3 2/10/3 3/11/3 4/12/3
|
||||
f 4/12/4 3/11/4 5/13/4 6/14/4
|
||||
f 6/14/5 5/13/5 7/15/5 8/16/5
|
||||
f 8/17/6 7/18/6 2/10/6 1/9/6
|
||||
f 4/19/7 6/20/7 8/21/7 1/22/7
|
||||
f 5/13/8 3/11/8 2/23/8 7/24/8
|
||||
f 9/25/5 10/26/5 11/27/5 12/28/5
|
||||
f 10/26/6 13/29/6 14/30/6 11/27/6
|
||||
f 13/29/3 15/31/3 16/32/3 14/30/3
|
||||
f 15/33/4 9/25/4 12/28/4 16/34/4
|
||||
f 10/35/8 9/36/8 15/37/8 13/38/8
|
48
mods/flowerpots/nodes.lua
Normal file
@ -0,0 +1,48 @@
|
||||
|
||||
minetest.register_node("flowerpots:flower_pot", {
|
||||
description = "Flower Pot",
|
||||
drawtype = "mesh",
|
||||
mesh = "flowerpot.obj",
|
||||
tiles = {
|
||||
"flowerpot.png",
|
||||
},
|
||||
visual_scale = 0.5,
|
||||
wield_image = "flowerpot_item.png",
|
||||
wield_scale = {x=1.0, y=1.0, z=1.0},
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
inventory_image = "flowerpot_item.png",
|
||||
groups = {cracky = 2, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("flowerpots:flower_pot_lavender", {
|
||||
description = "Flower Pot With Lavender Flower",
|
||||
drawtype = "mesh",
|
||||
mesh = "flowerpot_with_Xflower.obj",
|
||||
tiles = {
|
||||
"flowerpot_lavender.png",
|
||||
},
|
||||
visual_scale = 0.5,
|
||||
wield_image = "flowerpot_item.png",
|
||||
wield_scale = {x=1.0, y=1.0, z=1.0},
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}
|
||||
},
|
||||
inventory_image = "flowerpot_item.png",
|
||||
groups = {cracky = 2, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
BIN
mods/flowerpots/textures/flowerpot.png
Normal file
After Width: | Height: | Size: 975 B |
BIN
mods/flowerpots/textures/flowerpot_item.png
Normal file
After Width: | Height: | Size: 856 B |
BIN
mods/flowerpots/textures/flowerpot_lavender.png
Normal file
After Width: | Height: | Size: 1.4 KiB |