Compare commits
5 Commits
0902a26926
...
ba323c7670
Author | SHA1 | Date |
---|---|---|
Wuzzy | ba323c7670 | |
Wuzzy | b221493219 | |
Wuzzy | 100f3c65c5 | |
Wuzzy | 82afdd8c1b | |
Wuzzy | 259a6c72d5 |
|
@ -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).
|
||||
|
|
9
init.lua
9
init.lua
|
@ -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
|
||||
|
|
|
@ -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!
|
||||
|
|
|
@ -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!=
|
||||
|
|
Loading…
Reference in New Issue