Compare commits

...

5 Commits

Author SHA1 Message Date
Wuzzy ba323c7670 Version 1.5.1 2022-05-13 23:53:49 +02:00
Wuzzy b221493219 Fix exporting the wrong Y values for Y slices 2022-05-13 23:53:07 +02:00
Wuzzy 100f3c65c5 Add compability mode for minetest.get_translator 2022-01-30 02:30:39 +01:00
Wuzzy 82afdd8c1b Version 1.5.0 2021-09-20 20:12:05 +02:00
Wuzzy 259a6c72d5 Update translation 2021-09-20 20:01:56 +02:00
4 changed files with 12 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Schematic Editor [`schemedit`]
## Version
1.4.3
1.5.1
## Description
This is a mod which allows you to edit and export schematics (`.mts` files).

View File

@ -1,4 +1,9 @@
local S = minetest.get_translator("schemedit")
local S
if minetest.get_translator then
S = minetest.get_translator("schemedit")
else
S = function(s) return s end
end
local F = minetest.formspec_escape
local schemedit = {}
@ -415,7 +420,7 @@ schemedit.add_form("main", {
local slice_list = {}
for _, i in pairs(slist) do
slice_list[#slice_list + 1] = {
ypos = pos.y + i.ypos,
ypos = i.ypos,
prob = schemedit.lua_prob_to_schematic_prob(i.prob),
}
end

View File

@ -75,6 +75,8 @@ Place schematic at the position specified or the current player position (loaded
<schematic name>[.mts] [-c] [<x> <y> <z>]=<Schematic-Name>[.mts] [-c] [<x> <y> <z>]
No schematic file specified.=Keinen Schematic-Namen angegeben.
Schematic file could not be loaded!=Schematic-Datei konnte nicht geladen werden!
List schematic files in world path=Schematic-Dateien im Weltpfad auflisten
No schematic files.=Keine Schematic-Dateien.
Convert .mts schematic file to .lua file (loaded from @1)=„.mts“-Schematicdatei zu „.lua“-Datei konvertieren (geladen von @1)
<schematic name>[.mts] [comments]=<Schematic-Name>[.mts] [comments]
Failed!=Fehlgeschlagen!

View File

@ -75,6 +75,8 @@ Place schematic at the position specified or the current player position (loaded
<schematic name>[.mts] [-c] [<x> <y> <z>]=
No schematic file specified.=
Schematic file could not be loaded!=
List schematic files in world path=
No schematic files.=
Convert .mts schematic file to .lua file (loaded from @1)=
<schematic name>[.mts] [comments]=
Failed!=