diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-11 08:02:40 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-11 08:02:40 -0700 |
commit | f665f430fc94165a8c2d01f7d09fc327eee66c58 (patch) | |
tree | c1b02017df39c903a917b71e32fae282b5d661e5 /node_controllers.lua | |
parent | e682130266799f7b320a9b56964963bb348cc1cb (diff) |
fix bug in player-movement code, and also turn controller tints into a texture for easier modding by end users
Diffstat (limited to 'node_controllers.lua')
-rw-r--r-- | node_controllers.lua | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/node_controllers.lua b/node_controllers.lua index 50c6a4e..85d2550 100644 --- a/node_controllers.lua +++ b/node_controllers.lua @@ -128,12 +128,12 @@ minetest.register_node("digtron:auto_controller", { is_ground_content = false, -- Aims in the +Z direction by default tiles = { - "digtron_plate.png^[transformR90^[colorize:#88000030", - "digtron_plate.png^[transformR270^[colorize:#88000030", - "digtron_plate.png^[colorize:#88000030", - "digtron_plate.png^[transformR180^[colorize:#88000030", - "digtron_plate.png^[colorize:#88000030", - "digtron_plate.png^digtron_control.png^[colorize:#88000030", + "digtron_plate.png^[transformR90^digtron_auto_control_tint.png", + "digtron_plate.png^[transformR270^digtron_auto_control_tint.png", + "digtron_plate.png^digtron_auto_control_tint.png", + "digtron_plate.png^[transformR180^digtron_auto_control_tint.png", + "digtron_plate.png^digtron_auto_control_tint.png", + "digtron_plate.png^digtron_control.png^digtron_auto_control_tint.png", }, drawtype = "nodebox", @@ -201,12 +201,12 @@ minetest.register_node("digtron:pusher", { is_ground_content = false, -- Aims in the +Z direction by default tiles = { - "digtron_plate.png^[transformR90^[colorize:#00880030", - "digtron_plate.png^[transformR270^[colorize:#00880030", - "digtron_plate.png^[colorize:#00880030", - "digtron_plate.png^[transformR180^[colorize:#00880030", - "digtron_plate.png^[colorize:#00880030", - "digtron_plate.png^digtron_control.png^[colorize:#00880030", + "digtron_plate.png^[transformR90^digtron_pusher_tint.png", + "digtron_plate.png^[transformR270^digtron_pusher_tint.png", + "digtron_plate.png^digtron_pusher_tint.png", + "digtron_plate.png^[transformR180^digtron_pusher_tint.png", + "digtron_plate.png^digtron_pusher_tint.png", + "digtron_plate.png^digtron_control.png^digtron_pusher_tint.png", }, drawtype = "nodebox", |