mirror of
https://github.com/Sokomine/travelnet.git
synced 2024-08-18 20:44:06 +02:00
added inventory image for elevator
This commit is contained in:
parent
f325e41170
commit
57d8d3b4d3
26
elevator.lua
26
elevator.lua
@ -35,7 +35,7 @@ minetest.register_node("travelnet:elevator", {
|
||||
"travelnet_elevator_inside_bottom.png", -- front view
|
||||
"travelnet_elevator_inside_bottom.png", -- backward view
|
||||
},
|
||||
inventory_image = "travelnet_inv.png",
|
||||
inventory_image = "travelnet_elevator_inv.png",
|
||||
|
||||
groups = {cracky=1,choppy=1,snappy=1},
|
||||
|
||||
@ -129,23 +129,23 @@ minetest.register_node("travelnet:elevator_top", {
|
||||
"travelnet_elevator_inside_top.png", -- front view
|
||||
"travelnet_elevator_inside_top.png", -- backward view
|
||||
},
|
||||
inventory_image = "travelnet_inv.png",
|
||||
inventory_image = "travelnet_elevator_inv.png",
|
||||
|
||||
light_source = 10,
|
||||
|
||||
groups = {cracky=1,choppy=1,snappy=1,not_in_creative_inventory=1},
|
||||
})
|
||||
|
||||
if( minetest.get_modpath("technic") ~= nil ) then
|
||||
minetest.register_craft({
|
||||
output = "travelnet:elevator",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "technic:motor", "default:steel_ingot", },
|
||||
{"default:steel_ingot", "technic:control_logic_unit", "default:steel_ingot", },
|
||||
{"default:steel_ingot", "moreores:copper_ingot", "default:steel_ingot", }
|
||||
}
|
||||
})
|
||||
else
|
||||
--if( minetest.get_modpath("technic") ~= nil ) then
|
||||
-- minetest.register_craft({
|
||||
-- output = "travelnet:elevator",
|
||||
-- recipe = {
|
||||
-- {"default:steel_ingot", "technic:motor", "default:steel_ingot", },
|
||||
-- {"default:steel_ingot", "technic:control_logic_unit", "default:steel_ingot", },
|
||||
-- {"default:steel_ingot", "moreores:copper_ingot", "default:steel_ingot", }
|
||||
-- }
|
||||
-- })
|
||||
--else
|
||||
minetest.register_craft({
|
||||
output = "travelnet:elevator",
|
||||
recipe = {
|
||||
@ -154,7 +154,7 @@ else
|
||||
{"default:steel_ingot", "default:glass", "default:steel_ingot", }
|
||||
}
|
||||
})
|
||||
end
|
||||
--end
|
||||
|
||||
|
||||
minetest.register_node("travelnet:elevator_door_steel_open", {
|
||||
|
2
init.lua
2
init.lua
@ -17,8 +17,10 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Version: 2.0 (with elevators!)
|
||||
|
||||
Changelog:
|
||||
26.06.13 - added inventory image for elevator (created by VanessaE)
|
||||
21.06.13 - bugfix: wielding an elevator while digging a door caused the elevator_top to be placed
|
||||
- leftover floating elevator_top nodes can be removed by placing a new travelnet:elevator underneath them and removing that afterwards
|
||||
- homedecor-doors are now opened and closed correctly as well
|
||||
|
BIN
textures/travelnet_elevator_inv.png
Normal file
BIN
textures/travelnet_elevator_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
Reference in New Issue
Block a user