From ea62f98e2d5d9cf8d5e70faf4c0f2c6dbe288ecb Mon Sep 17 00:00:00 2001 From: EagleEyeLogic <69814047+EagleEyeLogic@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:59:19 +0100 Subject: [PATCH] Update for LootGames and TooMuchLoot Chest3 (#18156) Co-authored-by: Martin Robertz --- config/LootGames/lootgames.cfg | 171 ---------------------- config/LootGames/rewards.cfg | 219 +++++++++++++++++++++++++++++ config/TooMuchLoot/loot/chest3.xml | 8 +- 3 files changed, 223 insertions(+), 175 deletions(-) delete mode 100644 config/LootGames/lootgames.cfg create mode 100644 config/LootGames/rewards.cfg diff --git a/config/LootGames/lootgames.cfg b/config/LootGames/lootgames.cfg deleted file mode 100644 index e784d60960..0000000000 --- a/config/LootGames/lootgames.cfg +++ /dev/null @@ -1,171 +0,0 @@ -# Configuration file - -debug { - # Enable debug output to fml-client-latest.log [default: false] - B:DoDebugMessages=false - - # LogLevel for the separate DungeonGenerator Logger. Valid options: info, debug, trace [default: INFO] - S:DungeonLoggerLogLevel=INFO -} - - -games { - # Enable or disable struct exploding on max failed attempts [default: true] - B:ExplodeEvent=true - - # Enable or disable struct filling with lava on max failed attempts [default: true] - B:LavaEvent=true - - # Enable or disable struct filling with monsters on max failed attempts [default: true] - B:MobEvent=true - - gol { - # Enable or disable Debugging of this game (Only enable this if you expect a bug. This will blow up your logfile...) [default: false] - B:Debug=false - - # At which stage should the playfield become a full 3x3 pattern? Set 0 to disable and keep the 4-block size; set 1 to always start with 3x3 [range: 0 ~ 4, default: 2] - I:ExpandPlayFieldAtStage=2 - I:MaxDigits=30 - - # How many attempts does a player have? 1 means the struct will fail after the first misclicked block [range: 1 ~ 256, default: 3] - I:MaxGameTries=2 - - # How many digits should be randomly choosen at game-start? [range: 1 ~ 256, default: 2] - I:StartDigits=2 - - # How long does it take to timeout a game? Value is in seconds. If no player input is done in that time, the game will go to sleep. The next player will start fresh [range: 5 ~ 600, default: 60] - I:Timeout=15 - - gamestages { - - stagei { - # Syntax: ;;; one line for each Dimension. If you use AdditionalDigitsRequired, make sure to use the same or an higher number on each stage [default: []] - S:DimensionalConfig < - - > - - # The amount of time (in milliseconds; 1000ms = 1s) to wait at playback before moving to the next color [range: 100 ~ 2000, default: 1200] - I:DisplayTime=1200 - - # The loottable for the chest in this stage [default: dungeonChest] - S:LootTable=chest1 - - # Maximum amount of items to be spawned [range: 1 ~ 256, default: 2] - I:MaxItems=8 - - # Minimum correct digits required to complete this stage and unlock the chest. This can be adjusted per-Dimension in S:DimensionalConfig [range: 1 ~ 256, default: 5] - I:MinDigitsRequired=5 - - # Minimum amount of items to be spawned [range: 1 ~ 256, default: 2] - I:MinItems=4 - - # If true, the pattern will randomize on each level in this stage [default: false] - B:RandomizeSequence=false - } - - stageii { - # Syntax: ;;; one line for each Dimension. If you use AdditionalDigitsRequired, make sure to use the same or an higher number on each stage [default: []] - S:DimensionalConfig < - - > - - # The amount of time (in milliseconds; 1000ms = 1s) to wait at playback before moving to the next color [range: 100 ~ 2000, default: 800] - I:DisplayTime=800 - - # The loottable for the chest in this stage [default: mineshaftCorridor] - S:LootTable=chest2 - - # Maximum amount of items to be spawned [range: 1 ~ 256, default: 4] - I:MaxItems=10 - - # Minimum correct digits required to complete this stage and unlock the chest. This can be adjusted per-Dimension in S:DimensionalConfig [range: 1 ~ 256, default: 10] - I:MinDigitsRequired=10 - - # Minimum amount of items to be spawned [range: 1 ~ 256, default: 4] - I:MinItems=5 - - # If true, the pattern will randomize on each level in this stage [default: false] - B:RandomizeSequence=false - } - - stageiii { - # Syntax: ;;; one line for each Dimension. If you use AdditionalDigitsRequired, make sure to use the same or an higher number on each stage [default: []] - S:DimensionalConfig < - - > - - # The amount of time (in milliseconds; 1000ms = 1s) to wait at playback before moving to the next color [range: 100 ~ 2000, default: 600] - I:DisplayTime=600 - - # The loottable for the chest in this stage [default: pyramidJungleChest] - S:LootTable=chest3 - - # Maximum amount of items to be spawned [range: 1 ~ 256, default: 6] - I:MaxItems=11 - - # Minimum correct digits required to complete this stage and unlock the chest. This can be adjusted per-Dimension in S:DimensionalConfig [range: 1 ~ 256, default: 15] - I:MinDigitsRequired=15 - - # Minimum amount of items to be spawned [range: 1 ~ 256, default: 6] - I:MinItems=6 - - # If true, the pattern will randomize on each level in this stage [default: false] - B:RandomizeSequence=false - } - - stageiv { - # Syntax: ;;; one line for each Dimension. If you use AdditionalDigitsRequired, make sure to use the same or an higher number on each stage [default: []] - S:DimensionalConfig < - - > - - # The amount of time (in milliseconds; 1000ms = 1s) to wait at playback before moving to the next color [range: 100 ~ 2000, default: 500] - I:DisplayTime=500 - - # The loottable for the chest in this stage [default: strongholdCorridor] - S:LootTable=chest4 - - # Maximum amount of items to be spawned [range: 1 ~ 256, default: 8] - I:MaxItems=12 - - # Minimum correct digits required to complete this stage and unlock the chest. This can be adjusted per-Dimension in S:DimensionalConfig [range: 1 ~ 256, default: 20] - I:MinDigitsRequired=25 - - # Minimum amount of items to be spawned [range: 1 ~ 256, default: 8] - I:MinItems=7 - - # If true, the pattern will randomize on each level in this stage [default: true] - B:RandomizeSequence=true - } - - } - - } - -} - - -main { - # Switch to enable or disable the Master-Blocks. If disabled, no minigames will spawn. You can change this ingame [default: false] - B:MinigamesEnabled=true - - # Disables downloading of donors list. It will speed-up mod loading, when you don't have an access to the Pastebin or play offline. [default: false] - B:disableDonorListDownloading=true -} - - -worldgen { - # List DimensionIDs where LootGame Dungeons are allowed to spawn, with Rhombus Size. Syntax is : [default: [0; 20]] - S:DimensionWhitelist < - 0;12 - > - - # Enable or disable RetroGen [default: false] - B:RetroGenDungeons=false - - # Enable or disable WorldGen [default: false] - B:WorldGenEnabled=true - I:WorldGenRhombusSize=12 -} - - diff --git a/config/LootGames/rewards.cfg b/config/LootGames/rewards.cfg new file mode 100644 index 0000000000..bdf967cd37 --- /dev/null +++ b/config/LootGames/rewards.cfg @@ -0,0 +1,219 @@ +# Configuration file + +rewards { + + ########################################################################################################## + # game_of_light + #--------------------------------------------------------------------------------------------------------# + # Game of Light Rewards + ########################################################################################################## + + game_of_light { + + ########################################################################################################## + # stage_1 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 1 + ########################################################################################################## + + stage_1 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: dungeonChest] + S:default_loot_table=chest1 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 8] + I:max_items=4 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 4] + I:min_items=2 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + ########################################################################################################## + # stage_2 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 2 + ########################################################################################################## + + stage_2 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: mineshaftCorridor] + S:default_loot_table=chest2 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 10] + I:max_items=6 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 5] + I:min_items=3 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + ########################################################################################################## + # stage_3 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 3 + ########################################################################################################## + + stage_3 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: pyramidJungleChest] + S:default_loot_table=chest3 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 11] + I:max_items=8 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 6] + I:min_items=4 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + ########################################################################################################## + # stage_4 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 4 + ########################################################################################################## + + stage_4 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: strongholdCorridor] + S:default_loot_table=chest4 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 12] + I:max_items=10 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 7] + I:min_items=5 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + } + + ########################################################################################################## + # minesweeper + #--------------------------------------------------------------------------------------------------------# + # Minesweeper Rewards + ########################################################################################################## + + minesweeper { + + ########################################################################################################## + # stage_1 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 1 + ########################################################################################################## + + stage_1 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: dungeonChest] + S:default_loot_table=chest1 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 8] + I:max_items=4 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 4] + I:min_items=2 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + ########################################################################################################## + # stage_2 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 2 + ########################################################################################################## + + stage_2 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: mineshaftCorridor] + S:default_loot_table=chest2 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 10] + I:max_items=6 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 5] + I:min_items=3 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + ########################################################################################################## + # stage_3 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 3 + ########################################################################################################## + + stage_3 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: pyramidJungleChest] + S:default_loot_table=chest3 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 11] + I:max_items=8 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 6] + I:min_items=4 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + ########################################################################################################## + # stage_4 + #--------------------------------------------------------------------------------------------------------# + # Rewards for stage 4 + ########################################################################################################## + + stage_4 { + # Name of the loot table, items from which will be generated in the chest of this stage. This can be adjusted per dimension in "per_dim_configs". [default: strongholdCorridor] + S:default_loot_table=chest4 + + # Maximum amount of item stacks to be generated in chest. [range: 1 ~ 256, default: 12] + I:max_items=10 + + # Minimum amount of item stacks to be generated in chest. [range: 0 ~ 256, default: 7] + I:min_items=5 + + # Here you can add different loot tables to each dimension. If dimension isn't in this list, then game will take default loot table for this stage. + # Syntax: | + # - The loottable name for the chest in this stage. + # General Example: [ "0|minecraft:chests/simple_dungeon" ] [default: ] + S:per_dim_configs < + > + } + + } + +} + + diff --git a/config/TooMuchLoot/loot/chest3.xml b/config/TooMuchLoot/loot/chest3.xml index 07af0b9987..9fa74afd11 100644 --- a/config/TooMuchLoot/loot/chest3.xml +++ b/config/TooMuchLoot/loot/chest3.xml @@ -6,11 +6,11 @@ - - + + - + @@ -57,4 +57,4 @@ - \ No newline at end of file +