πŸ› οΈConfiguration

Available Minigames

Alchemy Table

Game ID: alchemy

    ['alchemy'] = {
        settings = {
            ['regular'] = {
                timeLimit = 60,
                recipeLength = 8,
                ingredientCount = 16,
                ingredientLibrary = {
                    { id = 1, name = "Dragon Scale", icon = "πŸ‰" },
                    { id = 2, name = "Phoenix Feather", icon = "πŸ”₯" },
                    { id = 3, name = "Moonstone", icon = "πŸŒ™" },
                    { id = 4, name = "Star Dust", icon = "✨" },
                    -- ect
                }
            },
        },
    },

Weight Balance

Game ID: scale


Hammer Strength

Game ID: hammer


Bruteforce Minigame

Game ID: heat


Command Configuration

  • Description: Controls whether the test command for minigames is enabled or disabled.

  • Default: true

  • Usage: When enabled, allows the use of /startCraftingMinigame command for testing purposes.


Command Usage

When Config.CommandEnabled is set to true, you can use the following command:

Parameters:

  • minigame: The type of minigame to start

    • Available options: circuit, enigma, morse, bruteforce, tuning

  • mode: Settings mode from Config (default: regular)

Examples:


Export Function

  • Description: Programmatically start a minigame from another resource.

  • Parameters:

    • minigame (string): The minigame type to start

    • mode (string): Settings mode

  • Returns: Boolean indicating success or failure of the minigame

  • Example Usage:


Integration

To integrate these minigames into your scripts:

  1. Integration Example:


Sound Configuration

Path: html/config.js

  • Description: Controls the volume level for minigame sound effects.

  • Range: 0.0 to 1.0 (0% to 100%)

  • Default: 0.5 (50%)


Last updated