Change "cleaner" chat command to "ctool"

This commit is contained in:
Jordan Irwin 2021-07-30 16:30:52 -07:00
parent 3a708a03b6
commit c98f6a656e
3 changed files with 9 additions and 10 deletions

View file

@ -9,4 +9,3 @@ TODO:
- add "xrotate" & "zrorate" modes for pencil
- fix pencil "write" mode when pointing to side of node (node gets placed below)
- move HTML docs to gh-pages branch
- change "cleaner" chat command to something like "cleanertool" or "ctool"

View file

@ -2,6 +2,12 @@
v1.2
----
- added API
- added support for unregistering ores (unsafe)
- added setting for enabling "unsafe" methods & commands
- all types are loaded from <world_path>/cleaner.json file
- added localization support
- added Spanish localization
- added pencil tool for erasing, adding, & swapping nodes
- added chat commands:
- remove_entities
- remove_nodes
@ -9,13 +15,7 @@ v1.2
- replace_nodes
- find_unknown_nodes
- remove_ores (unsafe)
- added support for unregistering ores (unsafe)
- added setting for enabling "unsafe" methods & commands
- all types are loaded from <world_path>/cleaner.json file
- added localization support
- added Spanish localization
- added pencil tool for erasing, adding, & swapping nodes
- added "cleaner" chat command for managing pencil tool settings
- ctool (manages pencil tool settings)
v1.1
----

View file

@ -465,10 +465,10 @@ end
--- Manages settings for wielded cleaner tool.
--
-- @chatcmd cleaner
-- @chatcmd ctool
-- @param action Action to execute. Can be "status", "setmode", or "setnode".
-- @param value Mode or node to be set for tool.
core.register_chatcommand("cleaner", {
core.register_chatcommand("ctool", {
privs = {server=true},
description = S("Manage settings for wielded cleaner tool.") .. "\n\n"
.. S("Params:") .. "\n action: Action to execute. Can be one of \"status\", \"setmode\", or \"setnode\"."