wip
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
-- Imports & Exports -------------------------------------------------------------------------------
|
||||
|
||||
local core = _G["core"]
|
||||
local dump = _G["dump"]
|
||||
local C = _G["jvmi_constants"]
|
||||
local core = _G.core
|
||||
|
||||
|
||||
-- Constants ---------------------------------------------------------------------------------------
|
||||
|
||||
local C = dofile(core.get_game_info().path.."/common/constants.lua")
|
||||
|
||||
local SINGLEPLAYER_PRIVS = {
|
||||
debug = true,
|
||||
fast = true,
|
||||
@@ -91,7 +92,6 @@ function private.set_starting_pos(player_name, delays)
|
||||
if floor_node and node.name == "air" then
|
||||
local floor_def = core.registered_nodes[floor_node.name]
|
||||
if floor_def.walkable then
|
||||
core.log("info", "Moved player to "..dump(pos, ""))
|
||||
player:set_pos(pos)
|
||||
return
|
||||
end
|
||||
|
||||
@@ -2,4 +2,3 @@ name = jvmi_player
|
||||
title = Jules Verne's Mysterious Island / Player
|
||||
description = configuring the player and his abilities
|
||||
author = tungstonminer
|
||||
depends = jvmi_constants
|
||||
|
||||
Reference in New Issue
Block a user