From 9580f413671236e658c02897acd6daadcfdba368 Mon Sep 17 00:00:00 2001 From: Elkien3 Date: Wed, 22 Aug 2018 03:25:31 +0500 Subject: [PATCH] change rules --- config.lua | 8 ++++---- init.lua | 3 +-- rules-english.lua | 34 ++++++++++++++++------------------ 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/config.lua b/config.lua index 3d154c6..8388653 100644 --- a/config.lua +++ b/config.lua @@ -10,10 +10,10 @@ interact.default_language = "english" --1 is the top one by the question, 2 is the bottom left one, 3 is the bottom right one. --Make sure these agree with your answers! -interact.quiz1 = true -interact.quiz2 = true -interact.quiz3 = false -interact.quiz4 = true +interact.quiz1 = false +interact.quiz2 = false +interact.quiz3 = true +interact.quiz4 = false interact.quiz_multi = 3 --Which screens to show. diff --git a/init.lua b/init.lua index 60a348f..fc72e0b 100644 --- a/init.lua +++ b/init.lua @@ -1,8 +1,6 @@ rule_table = {} rule_language = {} dofile(minetest.get_modpath("interact") .. "/rules-english.lua") --I put the rules in their own file so that they don't get lost/overlooked! -dofile(minetest.get_modpath("interact") .. "/rules-russian.lua") -dofile(minetest.get_modpath("interact") .. "/rules-deutsch.lua") dofile(minetest.get_modpath("interact") .. "/config.lua") local rule1 = 0 @@ -203,6 +201,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) privs.interact = true minetest.set_player_privs(name, privs) minetest.log("action", "Granted " ..name.. " interact.") + minetest.chat_send_all(name.. " passed the rules test, welcome him/her into CitySim") end elseif fields.submit then rule1 = 0 diff --git a/rules-english.lua b/rules-english.lua index 673f67d..b245bf2 100644 --- a/rules-english.lua +++ b/rules-english.lua @@ -8,34 +8,32 @@ secondaryname = nil, --secondary name, usually the language name in english, or rules = [[ Rules: -1. PVP is allowed. Don't Combat log! +1. PVP is allowed. 2. Don't be *overly* cruel, destructive, or inappropriate. 3. Keep swearing to a minimum, and don't spam. -4. No "Dating" or the like. -5. Don't clear out entire forests without replanting. -6. If you raid a kingdom while it's members are offline, you may not destroy or steal much. -7. Please keep your builds medieval-ish times, and follow the laws of physics. -8. Hacked clients or csms that give a pvp advantage are disallowed. (However, lagging through walls is allowed.) +4. No "Dating" in global chat. +5. Alternate accounts (alts) are not allowed. contact admin if you have a friend that needs an account. +6. Hacked clients or csms that give a pvp advantage are not allowed. -Remember: A some destruction during war is O.K. just "Don't be *overly* cruel" +Remember: these are only the server rules. players can still lock you up for other crimes. ]], --The questions on the rules, if the quiz is used. --The checkboxes for the first 4 questions are in config.lua -question1 = "Is PVP is allowed?", -question2 = "Should you replant after your tree genocide?", -question3 = "Can you give online girls big, online smooches?", -question4 = "Can you destroy a bit of your enemies's stuff every once in a while?", -multiquestion = "What building style to use?", +question1 = "Are hacked clients or mods that give you a pvp advantage allowed?", +question2 = "Are alternative accounts allowed?", +question3 = "Can you get locked up by players if you steal?", +question4 = "Will you be banned for stealing a little bit?", +multiquestion = "Is PVP allowed?", --The answers to the multiple choice questions. Only one of these should be true. -mq_answer1 = "Modern, super tall Skyscrapers.", -mq_answer2 = "Space stations, up in the sky.", -mq_answer3 = "Medieval, with no flying parts.", +mq_answer1 = "No.", +mq_answer2 = "Only if you agree.", +mq_answer3 = "Yes, even if you don't agree.", --The first screen-- --The text at the top. -s1_header = "Hello, welcome to Persistent Kingdoms!", +s1_header = "Hello, welcome to CitySim!", --Lines one and two. Make sure each line is less than 70 characters, or they will run off the screen. s1_l2 = "Could you please tell me if you like to grief a lot?", s1_l3 = "Griefing is destroying places and generally making a mess.", @@ -44,7 +42,7 @@ s1_b1 = "No, I don't.", s1_b2 = "Yes, I do!", --The message to send kicked griefers. -msg_grief = "A *lot* of griefing is looked down upon, though some war destruction might be ok.", +msg_grief = "A *lot* of griefing is looked down upon, even though some is allowed by the server.", --The second screen-- --Lines one and two. Make sure each line is less than 70 characters, or they will run off the screen. @@ -99,5 +97,5 @@ quiz_fail_msg = "You answered a question incorrectly. type in '/rules' to try ag --The messages send to the player after interact is granted. interact_msg1 = "Thanks for accepting the rules, you now are able to interact with things.", -interact_msg2 = "Happy Kingdoming! Do /guide for help getting started!", +interact_msg2 = "Have fun! do /guide to help getting started!", } \ No newline at end of file