add some todos, remove superfluous text

This commit is contained in:
Li0n 2022-02-27 16:48:43 +01:00
parent 34b3f58d86
commit 974944704f
1 changed files with 5 additions and 3 deletions

View File

@ -13,6 +13,8 @@ local rumble_duration_max_standard = 5
-- command to choose a word/name that triggers notification rumble
-- notification mode: trigger rumble from specific words written by either yourself or others
-- condense on/off commands into single commands. eg .chatlog on and .chatlog off instead of .chatlog_on and .chatlog_off
-- make a GUI for all the settings
-- make a section in the code where all default settings can be changed
local rumble_strength_max = rumble_strength_max_standard
@ -166,7 +168,7 @@ minetest.register_chatcommand("resume", {
-- command 8
minetest.register_chatcommand("notifications_on", {
description = "turns on notification mode: triggers rumble for every received message",
func = function(text)
func = function()
notification_mode = true
minetest.display_chat_message("notification mode: on")
end,
@ -175,7 +177,7 @@ minetest.register_chatcommand("notifications_on", {
-- command 9
minetest.register_chatcommand("notifications_off", {
description = "turns off notification mode: does not trigger rumble for received messages",
func = function(text)
func = function()
notification_mode = false
minetest.display_chat_message("notification mode: off")
end,
@ -184,7 +186,7 @@ minetest.register_chatcommand("notifications_off", {
-- command 10
minetest.register_chatcommand("chat_trigger", {
description = "if set, will only trigger notification rumbles for a specific word or name typed after the command",
func = function(text)
func = function()
chat_trigger = text
minetest.display_chat_message("notification trigger: "..chat_trigger)
end,