9/24/2023 0 Comments Minetest fullscreen mod# The result of the forced division operation has no remainder and is an integer forceInt : true answer : "(Nn*n+n)/(Nn-n)" - title : "What is the part of the plant that uses light to make food?" # multiple choice type : "select" options : - leaves Title : "What's the year?" answer : 2021 - title : "18/7=?" # LUA string pattern matching method answer : "/^2%.%.%.+4/" # the lua string pattern: 2.4 (three dots and more) - title : "$calc=?" # Four Arithmetic Operation Types type : calc Title : "What's my favor color?" answer : red # the item count, optional the defaults to 1 count : 1 - id : woodĬount : 3 # List of Quiz quiz : # If there is no quiz type, the default type is "text" - id : favorColor # optional, the defaults to default mod mod : default # optional, for translation title : Coal Block # The maximum gameplay time, the unit is minutes, 0 means disabled totalPlayTime : 30 # The minimum rest time after the gameplay, the unit is minutes, 0 means disabled restTime : 20 # Whether to skip questions that have already been answered correctly # The number indicates the number of correct answers, 0 means disabled skipAnswered : 1 # Check interval, in seconds checkInterval : 5 # Interval between responses, in minutes idleInterval : 5 # When the gameplay time is up, the delay time for kicking out the player, the unit is second kickDelay : 2 # A random prize given for correct answers awards : # the item name to give # Item name see: minetest_game/mods/default/a - id : coalblock # quiz_config.yml 文件 # The permission given to the player after a successful answer, the default is "interact,shout" grant : interact ,shout Mandatory admin breaks: Whether admins also follow game time and breaksĪll parameter configuration information of the Quiz game challenge module is stored in its configuration file.Answer immediately after entering: whether to answer the question immediately after entering the game.Check interval (seconds): The interval for checking the answer internally, if the answer is wrong, the answer dialog box will pop up again.Interval between questions (minutes): After every minutes of playing in the game, you must answer the questions.Rest time (minutes): It is mandatory to rest for at least this number of minutes before entering the game.Game time (minutes): the longest single game time.The third tab page is Advance Config: # Advance Config Edit: edit an existing prize (need to select one first).Here you can manage the prizes after the correct answer, and each time you answer correctly, the prizes in the list will be randomly selected. The second tab page is Prize List: # Awards Click Cancel to abandon the modification and not save it to the file. Remember, you must click the Confirm button to save at the end. Answer: It is the serial number of the option (starting from 1), if it is a multiple choice, the serial numbers are separated by commas, and there are no spaces in between.Yes/No: Answers to true/ false questions.Numerical values: Answers to questions of numerical type.The answer supports Lua character pattern matching open in new window, if the answer is pattern matching string, then the answer must be wrapped with two /.Text: The answer is a question of text type.Force Integer (forceInt): For division, whether to force the result to be an integer.The remainder is separated from the quotient by at least three dots. Note, division can only be the last operation.: Randomly specify an arithmetic operator.: A single digit with a randomly specified range of numbers.N: capital N means a random non-zero one-digit number (1-9).n: lowercase n means a random one-digit number (0-9).Answer: It is the rules for making questions, and the rules are defined as follows:.Title: $calc will be replaced by the four arithmetic problems.Four operations: random four operations, the rules are in the answer.In order to avoid the configuration file being overwritten when the component is updated, please copy the configuration file to the mod_data/quiz/ directory for modification.The default configuration file is under mods/quiz/config.yml,.If you are using the Windows system, please directly edit the configuration file of the quiz mod in mod_data folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |