summaryrefslogtreecommitdiff
path: root/mesecons_hydroturbine/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-05-20 03:40:59 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-05-20 03:40:59 -0400
commitfec43a324358b2f104e07951fcb00f1bc79a25dc (patch)
treef51d81d2647aabafcbd7a20d2328db742275bb84 /mesecons_hydroturbine/init.lua
parent5612f842439daf042ebe65bd04fd66414e6d46bf (diff)
downloadmesecons-fec43a324358b2f104e07951fcb00f1bc79a25dc.tar
mesecons-fec43a324358b2f104e07951fcb00f1bc79a25dc.tar.gz
mesecons-fec43a324358b2f104e07951fcb00f1bc79a25dc.tar.bz2
mesecons-fec43a324358b2f104e07951fcb00f1bc79a25dc.tar.xz
mesecons-fec43a324358b2f104e07951fcb00f1bc79a25dc.zip
reworked hydroturbine model for the same reasons
also shrunk the base part down by a very tiny amount to help avoid z-fighting with neighboring water (scaled to 0.9995 percent)
Diffstat (limited to 'mesecons_hydroturbine/init.lua')
-rw-r--r--mesecons_hydroturbine/init.lua16
1 files changed, 13 insertions, 3 deletions
diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua
index 2eb1a64..d1c08f7 100644
--- a/mesecons_hydroturbine/init.lua
+++ b/mesecons_hydroturbine/init.lua
@@ -6,11 +6,16 @@
minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", {
drawtype = "mesh",
mesh = "jeija_hydro_turbine.obj",
- tiles = {"jeija_hydro_turbine_off.png"},
+ tiles = {
+ "jeija_hydro_turbine_sides_off.png",
+ "jeija_hydro_turbine_top_bottom.png",
+ "jeija_hydro_turbine_turbine_top_bottom.png",
+ "jeija_hydro_turbine_turbine_misc.png"
+ },
inventory_image = "jeija_hydro_turbine_inv.png",
wield_scale = {x=0.75, y=0.75, z=0.75},
groups = {dig_immediate=2},
- description="Water Turbine",
+ description="Water Turbine",
paramtype = "light",
selection_box = {
type = "fixed",
@@ -26,7 +31,12 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", {
drawtype = "mesh",
mesh = "jeija_hydro_turbine.obj",
wield_scale = {x=0.75, y=0.75, z=0.75},
- tiles = {"jeija_hydro_turbine_on.png"},
+ tiles = {
+ "jeija_hydro_turbine_sides_on.png",
+ "jeija_hydro_turbine_top_bottom.png",
+ "jeija_hydro_turbine_turbine_top_bottom.png",
+ "jeija_hydro_turbine_turbine_misc.png"
+ },
inventory_image = "jeija_hydro_turbine_inv.png",
drop = "mesecons_hydroturbine:hydro_turbine_off 1",
groups = {dig_immediate=2,not_in_creative_inventory=1},