Mods / DinamicMazeMod
Author: MelliRunH
Side: Both
Created: May 22nd at 4:36 PM
Last modified: May 22nd at 4:40 PM
Downloads: 45
Follow Unfollow 18
Latest release (for Vintage Story 1.20.10, outdated):
dinamicmazemod.zip
1-click install
Hello, This mod follows a basic algorithm for generating mazes in Vintage Story. I wanted to leave version 1 here for you to use for events or constructions in your corners. With the /maze command, generate a maze where you're positioned, and in the configuration, you'll see a space that says: "defaultSize": "large", //options->> small medium large mazeWidth = Config.defaultSize switch"small" "=>",25,"medium" "=>",50,"large" "=>",150,"_" "=>",150
Those are the sizes and dimensions of the space you'll have.
I hope you like it and do good tasks, events, or whatever idea comes to mind. Currently, I don't intend to continue with the code for too long, but I might do so later, so I'll try to keep the source code on GitHub as much as possible in case anyone wants to add more stuff and such, it's welcome :)
-The only current command in this version:
-/maze //create a maze as you have it configured, normally it's in "large" format
------------------------------------------------------------------
Config-------
{
remember to have the "game:admin" privilege to be able to use the command
"gamemode"":"defaultSize": "large", //options->> small medium large mazeWidth = Config.defaultSize switch "small" "=>",25,"medium" "=>",50,"large" "=>",150,"_" "=>",150
"pedestalBlock": "game:mudbrick-light", //the starting block
"mazeHeight": 11, //the height of the maze
"trapChance": 0.25, //Chance of traps in the maze
"rewardChance": 0.15, //Chance of rewards in the maze
"mazeDurationSeconds": 1600, //The duration of the maze in seconds
"allowCommandActivation": true, //Whether the maze can be activated with a command
"announceCoordinates": true, //Whether the maze coordinates are announced
"maxPlayers": 20, //Maximum number of players in the maze
"mazeDifficulty": "Hard", //Difference of the maze
"enableRanking": true, //Whether ranking is enabled
"eventIntervalSeconds": 60, //Time interval between events
"wallBlockTypes": [ //Wall block types
"game:claybricks-uneven-four-soldier-fire",
"game:diamond-stone-clean"
],
"floorBlock": "game:mudbrick-light", //Block
of floor"rewardBlock": "game:chest-east", // reward block
"trapBlock": "game:trap-spike", // trap block
"startMessage": "The dynamic maze has begun!", // start message
"successMessage": "Congratulations, you have completed the maze!", // success message
"failMessage": "You have failed the maze.", // failure message
"possibleRewards": [ // possible rewards
"game:metalbit-steel",
"game:charcoal"
],
"autoRegenerate": true, // whether to automatically regenerate the maze
"regenerateIntervalMinutes": 30, // time interval between regenerations
"allowBlockBreaking": false, // whether to allow block breaking
"allowBlockPlacement": false, // whether to allow block placement
"enableDebugLogging": true, // whether to enable logging debug
"penaltyFreezeSeconds": 15 // freeze penalty in seconds
}
Each time you use /maze, a different maze will be generated.
--Important note: Sorting and other features in this release are not yet supported by commands, but are ready and tested. It's the maze

| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.0 | dinamicmazemod | 45 | May 22nd at 4:40 PM | dinamicmazemod.zip | 1-click install | ||
|
De esta manera,v1 | |||||||
@LunaGore Dandole al botón seguir creo que ya serviría jaja igualmente gracias :)
I wish there was a like feature for mods, lol