Compare commits

...

5 Commits

Author SHA1 Message Date
Wuzzy 243e8a67d4 Update for 0.4.16 settings syntax 2017-06-20 16:56:03 +02:00
Wuzzy a4cf09ae4f Version 1.3.1 2016-11-19 00:22:56 +01:00
Wuzzy 3e88c431aa Use new doc_items field names 2016-11-16 06:41:06 +01:00
Wuzzy d4e271061e Fix outdated intllib boilerplate 2016-11-09 02:25:41 +01:00
Wuzzy af154e66a6 Remove in_doc 2016-11-02 22:37:36 +01:00
2 changed files with 5 additions and 6 deletions

View File

@ -9,7 +9,7 @@ If `static_spawnpoint` is set, the Origin will be set one node length below
that point instead.
## Current version
The current version is 1.3.0.
The current version is 1.3.1.
## Technical notes
The mod tries to ensure that the Origin will only be set once per world.

View File

@ -5,8 +5,7 @@ version 1.3.0
local S
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
S = intllib.Getter()
else
S = function ( s ) return s end
end
@ -24,7 +23,7 @@ do
origin.exists = false
end
origin.settings.force_singlenode = minetest.setting_getbool("origin_force_singlenode")
origin.settings.force_singlenode = minetest.settings:get_bool("origin_force_singlenode")
if origin.settings.force_singlenode == nil then
origin.settings.force_singlenode = true
end
@ -32,8 +31,8 @@ end
minetest.register_node("origin:origin",{
description = S("The Origin"),
x_doc_items_longdesc = S("The Origin is the starting block of this world. On the Origin the earliest visitors of this world arrive and it is the first block at which all other blocks can be built to, so that builders can build their architectural masterpieces in a world which would be (usually) empty otherwise."),
groups = { not_in_creative_inventory = 1, in_doc = 1, immortal = 1 },
_doc_items_longdesc = S("The Origin is the starting block of this world. On the Origin the earliest visitors of this world arrive and it is the first block at which all other blocks can be built to, so that builders can build their architectural masterpieces in a world which would be (usually) empty otherwise."),
groups = { not_in_creative_inventory = 1, immortal = 1 },
diggable = false,
tiles = {"origin_origin.png"},
sounds = { footstep = "origin_origin_footstep" },