Modified the messages to be clearer and grammatically correct.
parent
d80f624788
commit
ae22804671
|
@ -67,8 +67,8 @@ function tardis.set_nav (player, owner)
|
|||
|
||||
local coords = {x = tonumber(fields.x), y = tonumber(fields.y), z = tonumber(fields.z)}
|
||||
|
||||
if (coords == nil) then
|
||||
minetest.chat_send_player (player_name, "Please Enter Valid Coords")
|
||||
if (coords == nil or coords.x == nil or coords.y == nil or coords.z == nil) then
|
||||
minetest.chat_send_player (player_name, "Please enter valid coordinates.")
|
||||
else
|
||||
tardis.tardises [owner]["destination"] = coords
|
||||
return true
|
||||
|
|
|
@ -114,7 +114,7 @@ minetest.register_node ("tardis:interior_doors", {
|
|||
player:setpos (teleport)
|
||||
else
|
||||
player_name = player:get_player_name()
|
||||
minetest.chat_send_player (player_name, "TARDIS In Vortex, Door Locked Automaticly")
|
||||
minetest.chat_send_player (player_name, "The TARDIS is in the Vortex - the doors have been locked automatically.")
|
||||
end
|
||||
end
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue