mirror of
https://github.com/Sokomine/travelnet.git
synced 2024-10-27 10:59:32 +01:00
added inventory image
This commit is contained in:
parent
fdcc41224a
commit
20257135bc
7
init.lua
7
init.lua
@ -1,6 +1,7 @@
|
||||
--
|
||||
-- Changelog:
|
||||
-- 20.03.13 - fixed bug that made it impossible to remove stations from the net
|
||||
-- 20.03.13 - addet inventory image provided by VanessaE
|
||||
-- - fixed bug that made it impossible to remove stations from the net
|
||||
-- - if the station a player beamed to no longer exists, the station will be removed automaticly
|
||||
-- - with the travelnet_attach priv, you can now attach your box to the nets of other players
|
||||
-- - in newer versions of Minetest, the players yaw is set so that he/she looks out of the receiving box
|
||||
@ -343,7 +344,7 @@ travelnet.on_receive_fields = function(pos, formname, fields, player)
|
||||
yaw = 270;
|
||||
end
|
||||
|
||||
player:setyaw( yaw ); -- this is only supported in recent versions of MT
|
||||
player:set_view_yaw( yaw ); -- this is only supported in recent versions of MT
|
||||
end
|
||||
|
||||
end
|
||||
@ -429,7 +430,7 @@ minetest.register_node("travelnet:travelnet", {
|
||||
"travelnet_travelnet_back.png", -- front view
|
||||
"travelnet_travelnet_front.png", -- backward view
|
||||
},
|
||||
-- inventory_image = minetest.inventorycube("travelnet_travelnet.png"),
|
||||
inventory_image = "travelnet_inv.png",
|
||||
|
||||
groups = {choppy=2,dig_immediate=2,attached_node=1},
|
||||
|
||||
|
BIN
textures/travelnet_inv.png
Normal file
BIN
textures/travelnet_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Loading…
Reference in New Issue
Block a user