summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-08-26 22:28:48 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-08-26 22:31:56 -0400
commit2e4c2e26674c377e2667f34ae9804e2c8fcf136c (patch)
tree9698c7d335387794792c962dd6af03a4d632a82a
parent6ecb115465168d701bd84f21307432c3846e5073 (diff)
downloadunifieddyes-2e4c2e26674c377e2667f34ae9804e2c8fcf136c.tar
unifieddyes-2e4c2e26674c377e2667f34ae9804e2c8fcf136c.tar.gz
unifieddyes-2e4c2e26674c377e2667f34ae9804e2c8fcf136c.tar.bz2
unifieddyes-2e4c2e26674c377e2667f34ae9804e2c8fcf136c.tar.xz
unifieddyes-2e4c2e26674c377e2667f34ae9804e2c8fcf136c.zip
add "***" to all other warning/info msgs
-rw-r--r--init.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/init.lua b/init.lua
index 26bed25..c9fb916 100644
--- a/init.lua
+++ b/init.lua
@@ -651,7 +651,7 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing)
if not def then return end
if minetest.is_protected(pos, player_name) then
- minetest.chat_send_player(player_name, "Sorry, someone else owns that node.")
+ minetest.chat_send_player(player_name, "*** Sorry, someone else owns that node.")
return
end
@@ -664,7 +664,7 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing)
end
if not def.palette then
- minetest.chat_send_player(player_name, "That node can't be colored.")
+ minetest.chat_send_player(player_name, "*** That node can't be colored.")
return
end
@@ -688,12 +688,12 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing)
if not idx then
suff = " Besides, "..string.sub(painting_with, 5).." can't be applied to that node."
end
- minetest.chat_send_player(player_name, "You're in survival mode, and you're out of "..string.sub(painting_with, 5).."."..suff)
+ minetest.chat_send_player(player_name, "*** You're in survival mode, and you're out of "..string.sub(painting_with, 5).."."..suff)
return
end
if not idx then
- minetest.chat_send_player(player_name, string.sub(painting_with, 5).." can't be applied to that node.")
+ minetest.chat_send_player(player_name, "*** "..string.sub(painting_with, 5).." can't be applied to that node.")
return
end
@@ -995,10 +995,10 @@ minetest.register_tool("unifieddyes:airbrush", {
local newcolor = unifieddyes.color_to_name(node.param2, def)
if not newcolor then
- minetest.chat_send_player(player_name, "That node is uncolored.")
+ minetest.chat_send_player(player_name, "*** That node is uncolored.")
return
end
- minetest.chat_send_player(player_name, "Switching to dye:"..newcolor.." to match that node.")
+ minetest.chat_send_player(player_name, "*** Switching to dye:"..newcolor.." to match that node.")
unifieddyes.player_current_dye[player_name] = "dye:"..newcolor
end
end
@@ -1025,7 +1025,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local dye = unifieddyes.player_selected_dye[player_name]
unifieddyes.player_current_dye[player_name] = dye
unifieddyes.player_selected_dye[player_name] = nil
- minetest.chat_send_player(player_name, "Selected "..string.sub(dye, 5).." for the airbrush.")
+ minetest.chat_send_player(player_name, "*** Selected "..string.sub(dye, 5).." for the airbrush.")
return
else
local inv = player:get_inventory()