From 30c28d882fd9063e00e36c30c798ceadbe6ac206 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 24 Nov 2014 11:26:32 -0500 Subject: adjust wield scale of hydroturbine, give it proper inv img --- mesecons_hydroturbine/init.lua | 4 ++++ .../textures/jeija_hydro_turbine_inv.png | Bin 0 -> 4884 bytes 2 files changed, 4 insertions(+) create mode 100644 mesecons_hydroturbine/textures/jeija_hydro_turbine_inv.png (limited to 'mesecons_hydroturbine') diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index b1343c7..2eb1a64 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -7,6 +7,8 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { drawtype = "mesh", mesh = "jeija_hydro_turbine.obj", tiles = {"jeija_hydro_turbine_off.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", paramtype = "light", @@ -23,7 +25,9 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { 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"}, + inventory_image = "jeija_hydro_turbine_inv.png", drop = "mesecons_hydroturbine:hydro_turbine_off 1", groups = {dig_immediate=2,not_in_creative_inventory=1}, description="Water Turbine", diff --git a/mesecons_hydroturbine/textures/jeija_hydro_turbine_inv.png b/mesecons_hydroturbine/textures/jeija_hydro_turbine_inv.png new file mode 100644 index 0000000..4cc9f20 Binary files /dev/null and b/mesecons_hydroturbine/textures/jeija_hydro_turbine_inv.png differ -- cgit v1.2.3