New textures (#6)
Textures by Ammoth, optimized with optipng -o2 -strip all
25
control.lua
@ -232,12 +232,12 @@ minetest.register_node("towercrane:mast_ctrl_on", {
|
|||||||
description = S("Tower Crane Mast Ctrl On"),
|
description = S("Tower Crane Mast Ctrl On"),
|
||||||
drawtype = "node",
|
drawtype = "node",
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl_on.png",
|
"towercrane_base.png^towercrane_button_on.png",
|
||||||
"towercrane_mast_ctrl_on.png",
|
"towercrane_base.png^towercrane_button_on.png",
|
||||||
},
|
},
|
||||||
-- switch the crane OFF
|
-- switch the crane OFF
|
||||||
on_rightclick = function (pos, node, clicker)
|
on_rightclick = function (pos, node, clicker)
|
||||||
@ -255,6 +255,7 @@ minetest.register_node("towercrane:mast_ctrl_on", {
|
|||||||
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
light_source = 3,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
@ -264,12 +265,12 @@ minetest.register_node("towercrane:mast_ctrl_off", {
|
|||||||
description = S("Tower Crane Mast Ctrl Off"),
|
description = S("Tower Crane Mast Ctrl Off"),
|
||||||
drawtype = "node",
|
drawtype = "node",
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl.png",
|
"towercrane_base.png",
|
||||||
"towercrane_mast_ctrl_off.png",
|
"towercrane_base.png^towercrane_button_off.png",
|
||||||
"towercrane_mast_ctrl_off.png",
|
"towercrane_base.png^towercrane_button_off.png",
|
||||||
},
|
},
|
||||||
-- switch the crane ON
|
-- switch the crane ON
|
||||||
on_rightclick = function (pos, node, clicker)
|
on_rightclick = function (pos, node, clicker)
|
||||||
|
48
init.lua
@ -240,14 +240,14 @@ end
|
|||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
minetest.register_node("towercrane:base", {
|
minetest.register_node("towercrane:base", {
|
||||||
description = S("Tower Crane Base"),
|
description = S("Tower Crane Base"),
|
||||||
inventory_image = "towercrane_invent.png",
|
inventory_image = "[inventorycube{towercrane_mast.png{towercrane_mast.png{towercrane_mast.png",
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_base_top.png",
|
"towercrane_base.png^towercrane_arrow.png",
|
||||||
"towercrane_base.png",
|
"towercrane_base.png^towercrane_screws.png",
|
||||||
"towercrane_base.png",
|
"towercrane_base.png^towercrane_screws.png",
|
||||||
"towercrane_base.png",
|
"towercrane_base.png^towercrane_screws.png",
|
||||||
"towercrane_base.png",
|
"towercrane_base.png^towercrane_screws.png",
|
||||||
"towercrane_base.png",
|
"towercrane_base.png^towercrane_screws.png",
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -309,12 +309,7 @@ minetest.register_node("towercrane:base", {
|
|||||||
minetest.register_node("towercrane:balance", {
|
minetest.register_node("towercrane:balance", {
|
||||||
description = S("Tower Crane Balance"),
|
description = S("Tower Crane Balance"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_base.png",
|
"towercrane_base.png^towercrane_screws.png",
|
||||||
"towercrane_base.png",
|
|
||||||
"towercrane_base.png",
|
|
||||||
"towercrane_base.png",
|
|
||||||
"towercrane_base.png",
|
|
||||||
"towercrane_base.png",
|
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -328,11 +323,10 @@ minetest.register_node("towercrane:mast", {
|
|||||||
drawtype = "glasslike_framed",
|
drawtype = "glasslike_framed",
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_mast.png",
|
"towercrane_mast.png",
|
||||||
"towercrane_mast.png",
|
{
|
||||||
"towercrane_mast.png",
|
name = "towercrane_mast.png",
|
||||||
"towercrane_mast.png",
|
backface_culling = false,
|
||||||
"towercrane_mast.png",
|
},
|
||||||
"towercrane_mast.png",
|
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -346,11 +340,10 @@ minetest.register_node("towercrane:arm", {
|
|||||||
drawtype = "glasslike_framed",
|
drawtype = "glasslike_framed",
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_arm.png",
|
"towercrane_arm.png",
|
||||||
"towercrane_arm.png",
|
{
|
||||||
"towercrane_arm.png",
|
name = "towercrane_arm.png",
|
||||||
"towercrane_arm.png",
|
backface_culling = false,
|
||||||
"towercrane_arm.png",
|
},
|
||||||
"towercrane_arm.png",
|
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -364,11 +357,10 @@ minetest.register_node("towercrane:arm2", {
|
|||||||
drawtype = "glasslike_framed",
|
drawtype = "glasslike_framed",
|
||||||
tiles = {
|
tiles = {
|
||||||
"towercrane_arm2.png",
|
"towercrane_arm2.png",
|
||||||
"towercrane_arm2.png",
|
{
|
||||||
"towercrane_arm2.png",
|
name = "towercrane_arm2.png",
|
||||||
"towercrane_arm2.png",
|
backface_culling = false,
|
||||||
"towercrane_arm2.png",
|
},
|
||||||
"towercrane_arm2.png",
|
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 336 B |
BIN
textures/towercrane_arrow.png
Normal file
After Width: | Height: | Size: 112 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 597 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
textures/towercrane_button_off.png
Normal file
After Width: | Height: | Size: 538 B |
BIN
textures/towercrane_button_on.png
Normal file
After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
BIN
textures/towercrane_screws.png
Normal file
After Width: | Height: | Size: 80 B |