Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
This commit is contained in:
parent
95945c0306
commit
a0c893ca0b
1124 changed files with 64294 additions and 763 deletions
9
mods/futil/minetest/texture.lua
Normal file
9
mods/futil/minetest/texture.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
-- https://github.com/minetest/minetest/blob/9fc018ded10225589d2559d24a5db739e891fb31/doc/lua_api.txt#L453-L462
|
||||
function futil.escape_texture(texturestring)
|
||||
-- store in a variable so we don't return both rvs of gsub
|
||||
local v = texturestring:gsub("[%^:]", {
|
||||
["^"] = "\\^",
|
||||
[":"] = "\\:",
|
||||
})
|
||||
return v
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue