Paul Ouellette
Paul Ouellette
While the engine does support it, replacements support for cooking recipes is not documented in lua_api.txt and I can't think of any case where it would make sense.
Are you sure you're using Minetest Game 5.2.0? This was fixed in https://github.com/minetest/minetest_game/commit/72697119116fb3be38b35c97b637afd7d0cb4cbf. @orbea that's the intended behavior. https://github.com/minetest/minetest/blob/3014e8b33b3d14165cc207be13631f4ee9a8fd2e/doc/lua_api.txt#L5071-L5073
To not exit when using `--help` you can override the action of the help option: ```lua parser:add_help { action = function() print(parser:get_help()) end } ``` To not exit when parsing...
`minetest.registered_schematics` is nil before and after use of `minetest.register_schematic` so I don't think it exists.
The intended behavior is that each replacement gets applied only once (so recipe 1 should have the same number of replacements as 3, and 2 should have the same numbers...
I'll verify that it's correct and submit it when I get a chance, but until then anyone else can feel free to do so.
@tenplus1, when I read the code I concluded that the intended behavior is that each replacement table specifies the replacement of a single input item, so that recipe should only...
I'm guessing you use zsh. Zsh does not split words by default. You need to add `-y` to `shellopts`. See https://github.com/gokcehan/lf/wiki/Tips#split-words-by-default-in-zsh. This should probably be mentioned in the documentation.
Maybe use `:map` with no arguments instead (like vim)?
It works fine if you set ifs to "\n" as recommended in the documentation (except if your filename has a new line in it).