From a5c188a04ede0ec2c73ab832a9aa1a58c345aaad Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Sat, 19 Sep 2020 22:10:48 -0700 Subject: [PATCH] Add prize shuffle to online yaml generator. --- WebHostLib/static/static/playerSettings.json | 32 ++++++++++++++++++++ WebHostLib/static/static/playerSettings.yaml | 5 +++ 2 files changed, 37 insertions(+) diff --git a/WebHostLib/static/static/playerSettings.json b/WebHostLib/static/static/playerSettings.json index 2ef5f5f2..dc9d6b6a 100644 --- a/WebHostLib/static/static/playerSettings.json +++ b/WebHostLib/static/static/playerSettings.json @@ -1005,6 +1005,38 @@ } } }, + "shuffle_prizes": { + "keyString": "shuffle_prizes", + "friendlyName": "Prize Shuffle", + "description": "Alters the Prizes from pulling, bonking, enemy kills, digging, and hoarders", + "inputType": "range", + "subOptions": { + "none": { + "keyString": "shuffle_prizes.none", + "friendlyName": "None", + "description": "All prizes from pulling, bonking, enemy kills, digging, hoarders are vanilla.", + "defaultValue": 0 + }, + "g": { + "keyString": "shuffle_prizes.g", + "friendlyName": "\"General\" prize shuffle", + "description": "Shuffles the prizes from pulling, enemy kills, digging, hoarders", + "defaultValue": 50 + }, + "b": { + "keyString": "shuffle_prizes.b", + "friendlyName": "Bonk prize shuffle", + "description": "Shuffles the prizes from bonking into trees.", + "defaultValue": 0 + }, + "bg": { + "keyString": "shuffle_prizes.bg", + "friendlyName": "Both", + "description": "Shuffles both of the options.", + "defaultValue": 0 + } + } + }, "timer": { "keyString": "timer", "friendlyName": "Timed Modes", diff --git a/WebHostLib/static/static/playerSettings.yaml b/WebHostLib/static/static/playerSettings.yaml index 0f8176a8..17ae306e 100644 --- a/WebHostLib/static/static/playerSettings.yaml +++ b/WebHostLib/static/static/playerSettings.yaml @@ -194,6 +194,11 @@ shop_shuffle: ip: 0 # shuffle inventories and randomize prices uip: 0 # shuffle inventories, randomize prices and shuffle capacity upgrades into the item pool # you can add more combos +shuffle_prizes: # aka drops + none: 0 # do not shuffle prize packs + g: 50 # shuffle "general" price packs, as in enemy, tree pull, dig etc. + b: 0 # shuffle "bonk" price packs + bg: 0 # shuffle both timer: none: 50 # No timer will be displayed. timed: 0 # Starts with clock at zero. Green clocks subtract 4 minutes (total 20). Blue clocks subtract 2 minutes (total 10). Red clocks add two minutes (total 10). Winner is the player with the lowest time at the end.