mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-15 04:41:22 +00:00
Change "cleaner" chat command to "ctool"
This commit is contained in:
parent
3a708a03b6
commit
c98f6a656e
3 changed files with 9 additions and 10 deletions
1
TODO.txt
1
TODO.txt
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
----
|
||||
|
|
4
chat.lua
4
chat.lua
|
@ -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\"."
|
||||
|
|
Loading…
Add table
Reference in a new issue