This commit is contained in:
Milan 2018-08-04 16:31:14 +02:00
commit a81f3fb9a6
3 changed files with 16 additions and 0 deletions

View File

@ -17,5 +17,6 @@ mobs_better_rat ?
mobs_slimes ?
mobs_sandworm ?
pkarcs?
unified_inventory?
wiki
unifieddyes

View File

@ -18,3 +18,6 @@ end
if minetest.get_modpath("technic") then
dofile(minetest.get_modpath("illuna").."/technic.lua")
end
if minetest.get_modpath("unified_inventory") then
dofile(minetest.get_modpath("illuna").."/unified_inventory.lua")
end

12
unified_inventory.lua Normal file
View File

@ -0,0 +1,12 @@
unified_inventory.register_button("illuna_travelcenter", {
type = "image",
image = "travelnet_inv.png",
tooltip = "Teleport to the Travelcenter",
hide_lite = true,
action = function(player, param)
local player = minetest.get_player_by_name(name)
local travelcenterPos = minetest.setting_get("travelcenter_pos")
player:setpos(travelcenterPos)
--minetest.chat_send_player(name, core.colorize(color_success, "Alrighty, have fun exploring."))
end
})