Update mods talking about pro requirements, add Discord link in Help tab (#813)

* Update mods talking about pro requirements

* Update chest.lua

* Update chest.lua

* Update init.lua
This commit is contained in:
LoneWolfHT 2021-02-25 09:29:53 -08:00 committed by GitHub
parent 9e20609ed6
commit da3d7487f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,4 @@
local color = "#66A0FF" color = "#66A0FF"
local items = { local items = {
"", "",
color .. "Game Play", color .. "Game Play",
@ -10,8 +10,8 @@ local items = {
"* Use medkits to replenish health gradually.", "* Use medkits to replenish health gradually.",
"* Gain more score by killing more than you die, or by capturing the flag.", "* Gain more score by killing more than you die, or by capturing the flag.",
"* Players are immune for 5 seconds after they respawn.", "* Players are immune for 5 seconds after they respawn.",
"* Access the pro section of the chest by achieving a 2k+ score and", "* Access the pro section of the chest by achieving 2k+ score,",
" killing 2 people for every death.", " killing 3 people for every 2 deaths, and capturing the flag at least 10 times",
"", "",
color .. "Team Co-op", color .. "Team Co-op",
@ -30,7 +30,12 @@ local items = {
color .. "Contact Moderators", color .. "Contact Moderators",
"", "",
"* Report people who sabotage using /report." "* Report people using /report or the #reports channel in Discord",
"",
color .. "Other",
"",
"* Capture The Flag Discord: https://discord.gg/vcZTRPX",
} }
for i = 1, #items do for i = 1, #items do
items[i] = minetest.formspec_escape(items[i]) items[i] = minetest.formspec_escape(items[i])

View file

@ -102,7 +102,7 @@ for _, chest_color in pairs(colors) do
else else
formspec = formspec .. "label[4.75,3;" .. formspec = formspec .. "label[4.75,3;" ..
minetest.formspec_escape("You need at least 10000" .. minetest.formspec_escape("You need at least 10000" ..
"\nscore, 1.5+ KD and 10+\ncaptures to access the\npro section") .. "]" "\nscore, 1.5+ KD, and 10+\ncaptures to access the\npro section") .. "]"
end end
formspec = formspec .. formspec = formspec ..

View file

@ -60,7 +60,7 @@ function random_messages.read_messages()
"Use team doors (steel) to stop the enemy walking into your base.", "Use team doors (steel) to stop the enemy walking into your base.",
"Craft 6 cobbles and 1 steel ingot together to make reinforced cobble.", "Craft 6 cobbles and 1 steel ingot together to make reinforced cobble.",
"Sprint by pressing the fast key (E) when you have stamina.", "Sprint by pressing the fast key (E) when you have stamina.",
"Like CTF? Give feedback using /report, and consider donating at rubenwardy.com/donate", "Like CTF? Give feedback using /report, and consider joining the Discord",
"Want to submit your own map? Visit ctf.rubenwardy.com to get involved.", "Want to submit your own map? Visit ctf.rubenwardy.com to get involved.",
"Using limited resources for building structures that don't strengthen your base's defences is discouraged.", "Using limited resources for building structures that don't strengthen your base's defences is discouraged.",
"To report misbehaving players to moderators, please use /report <name> <action>", "To report misbehaving players to moderators, please use /report <name> <action>",
@ -78,7 +78,6 @@ function random_messages.read_messages()
"Medics cause troops within 10 metres to regenerate health faster.", "Medics cause troops within 10 metres to regenerate health faster.",
"Hitting your enemy does more damage than not hitting them.", "Hitting your enemy does more damage than not hitting them.",
"Press right mouse button or double-tap the screen to activate scope while wielding a sniper rifle.", "Press right mouse button or double-tap the screen to activate scope while wielding a sniper rifle.",
"The 'Updates' tab in your inventory will show some of the latest updates to CTF",
} }
end end