Rando: Shuffle 100 Gold Skulltula Reward (#1944)
* Shuffle 100 token reward * Add 100 token hint * 100 GS Shuffle: Fix name inconsistency * Add 10 tokens to plentiful pool * Ganon's Boss Key on 100 GS Reward * Golden Skull Token -> Gold Skulltula Token * Properly disable 100 GS reward shuffle check box * Use enums for 100 GS shuffle * Fix mismatched LUS * Fix CVar calls * ADD: French translation * Only add extra tokens in Tokensanity Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>
This commit is contained in:
@@ -148,7 +148,10 @@ static int GetMaxGSCount() {
|
||||
//Get the max amount of GS which could be useful from token reward locations
|
||||
int maxUseful = 0;
|
||||
//If the highest advancement item is a token, we know it is useless since it won't lead to an otherwise useful item
|
||||
if (Location(KAK_50_GOLD_SKULLTULA_REWARD)->GetPlacedItem().IsAdvancement() && Location(KAK_50_GOLD_SKULLTULA_REWARD)->GetPlacedItem().GetItemType() != ITEMTYPE_TOKEN) {
|
||||
if (Location(KAK_100_GOLD_SKULLTULA_REWARD)->GetPlacedItem().IsAdvancement() && Location(KAK_100_GOLD_SKULLTULA_REWARD)->GetPlacedItem().GetItemType() != ITEMTYPE_TOKEN) {
|
||||
maxUseful = 100;
|
||||
}
|
||||
else if (Location(KAK_50_GOLD_SKULLTULA_REWARD)->GetPlacedItem().IsAdvancement() && Location(KAK_50_GOLD_SKULLTULA_REWARD)->GetPlacedItem().GetItemType() != ITEMTYPE_TOKEN) {
|
||||
maxUseful = 50;
|
||||
}
|
||||
else if (Location(KAK_40_GOLD_SKULLTULA_REWARD)->GetPlacedItem().IsAdvancement() && Location(KAK_40_GOLD_SKULLTULA_REWARD)->GetPlacedItem().GetItemType() != ITEMTYPE_TOKEN) {
|
||||
|
||||
Reference in New Issue
Block a user