version 0.21
This commit is contained in:
parent
bd1233aaf1
commit
c8d70b992c
1717 changed files with 68882 additions and 0 deletions
24
mods/command/info.lua
Normal file
24
mods/command/info.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
INFO_BLANK = "To find out more about certain items type the command '/info' with the params 'update', 'version', 'creative', 'suprise'"
|
||||
INFO_VERSION = "0.1"
|
||||
INFO_UPDATE = "I think nether ... but lot of monster before"
|
||||
INFO_CREATIVE = "Type the command '/gamemode ' and use the params '0' or 's' for survival and '1' or 'c' for creative"
|
||||
|
||||
|
||||
minetest.register_chatcommand("info", {
|
||||
params = "(blank) | update | version | creative",
|
||||
description = "To get info on stuff.",
|
||||
func = function(name, param)
|
||||
if param == "" then
|
||||
minetest.chat_send_player(name, INFO_BLANK)
|
||||
end
|
||||
if param == "update" then
|
||||
minetest.chat_send_player(name, INFO_UPDATE)
|
||||
end
|
||||
if param == "version" then
|
||||
minetest.chat_send_player(name, INFO_VERSION)
|
||||
end
|
||||
if param == "creative" then
|
||||
minetest.chat_send_player(name, INFO_CREATIVE)
|
||||
end
|
||||
end
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue