Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Luanti contributions, part 4

Here is a summary of what I've been up to in the Luanti world since the last time.

  • Mod respawn new "teleport_choose" feature

    I added a teleport_choose formspec so you can easily teleport to your destinations. It pairs nicely with snippets:button with this command:

    -- this dot dot dot means the parameters, and snippets button node will run this snippet
    -- with one parameter, the name of the player who used it
    local name = ...
    core.log("action",name .. " opened teleport_choose.")
    respawn.choose(name,nil,true)
    

    Screenshot of teleport_choose feature

  • Mod sickles improvements

    I fixed up scythes so that they correctly replant other plants that they already affected. It wasn't my intention that they work on potatoes and beetroots, but since they did, I fixed it so they replant them at level 0 or 1. Also, the scythe now also waits 2 seconds before pulling seeds from your inventory, because in Mineclonia, item drops do not immediately enter your inventory for being deducted (as "replanting" the seed).

Comments