Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is a goal list for TTYD Bingo v1.3.
- Each goal in the script is placed under a certain bingoList. There are 25 bingoLists numbered from 1 to 25, and they represent the goal's "length." The bingoList number associated with a particular goal should be based upon objective length rather than difficulty, but for the sake of this script, I tried to factor difficulty in a little. A good rule of thumb for me was ranking goals based 90% on length and 10% on difficulty. After each goal is assigned to a bingoList, the script can generate a bingo card. This is a portion of the bingo-v4.js that manages length (it's called difficulty, but it's actually length.)
- function difficulty(i) {
- var x = 0;
- var y = 0;
- i--; // i = 0 on square 0,0; 24 on square 4,4
- x = i%5; // take x position
- x = 5+(SEED-x); // randomize it with the seed
- y = Math.floor(i/5); // same for y... except:
- y = 5+(Math.floor(SEED/10)-y); // randomize it using the tens place
- //results.append("<br/>index: " + i + " | x: " + x + " | y: " + y);
- if (SEED > MAX_SEED/2) { // one in two chance of swapping x and y to rotate the board
- var temp = x;
- x = y;
- y = temp;
- }
- x = x%5;
- y = y%5;
- // mirror the board sometimes
- if (SEED > MAX_SEED*(3/4)) {
- x = mirror(x);
- y = mirror(y);
- }
- else if (SEED > MAX_SEED*(2/4)) {
- x = mirror(x);
- }
- else if (SEED > MAX_SEED*(1/4)) {
- y = mirror(y);
- }
- var value = (5*((x+2*y)%5)) + ((x+3*y)%5); // magic square generator
- if (MODE == "short") { value = Math.floor(value/2); } // if short mode, limit difficulty
- else if (MODE == "long") { value = Math.floor((value + 25) / 2); }
- value++;
- //results.append("<br/>VALUE: " + value);
- return value;
- }
- The script attempts to add up each row/column/diagonal to a certain number (determined by the seed and selected card length.) This is to ensure proper balance among all 12 options for normal bingo games. Because of this, relegating certain goals to a specific card length selection is not an option. All we can do is assign them to a bingoList in attempt to balance out the card.
- Another thing taken into account is the goal "type." Each bingo goal is assigned one or more of these types to discourage too much synergy (too many tasks occurring in the same area, with the same equipment, etc.) Take this goal for example:
- bingoList[18] = [
- {name: "Defeat an Amazy Dayzee", types: ["twilight", "pit"]},
- You can encounter Amazy Dayzees in both Twilight Trail and the Pit of 100 Trials. If this goal was in the same row as "All 10 Twilight Town/Twilight Trail/Creepy Steeple Star Pieces," a racer might be more inclined to head to chapter 4 if it means completing two goals, which is completely fine. The types make goals less likely to appear in the same row/column/diagonal, but they don't make it impossible. If two goals with the same type end up in the same row/column/diagonal, the magic number that the row has to add up to is increased. This means that the set of five goals will be objectively longer on their own than some other options, but the added synergy makes up for it.
- Types are also used to completely discourage two goals from being done together for reasons against synergy:
- bingoList[14] = [
- {name: "15 BP", types: ["stat1, stat2, stat3, stat4"]},
- {name: "30 FP", types: ["stat1, stat2, stat3, stat4"]},
- These goals are perfectly manageable on their own, but their length increase quite substantially when they are paired together. The more types a row has in common, the less likely they are to occur together, so the stat goals each have four similar types.
- Following is a list of all the goals in the current bingo script, followed by their types:
- bingoList[1]
- Defeat Gus | rogueport
- Double Pain & Slow Go | rogueport, charlieton
- Simplifier & Unsimplifier | howz
- bingoList[2]
- Jumpman & Hammerman | rogueport, charlieton
- Complete Garf's Trouble | rogueport, prologue, trouble
- Complete McGoomba's Trouble | rogueport, prologue, trouble
- Complete Arfur's Trouble | rogueport, prologue, trouble
- bingoList[3]
- Complete Mousimillan's Trouble | rogueport, trouble
- Complete Bomberto's Trouble | rogueport, trouble
- Super Rank Goombella | shine
- Super Rank Koops | shine
- bingoList[4]
- Special Card | hooktail, trouble
- Spike Shield | sewers, end
- Complete Plenn T's Trouble | petalburg, trouble
- Flower Saver | dazzle, steeple, 4
- HP Plus, HP Plus P, & FP Plus | hooktail, boggly, fahr, glitz
- bingoList[5]
- Happy Heart & Happy Heart P | petalburg, sewers
- Shroom Fry | recipe
- Koopa Tea | petalburg, recipe, 1
- Fresh Juice | recipe
- Heart Finder, Flower Finder, & Item Hog | dazzle
- bingoList[6]
- 15 Tattle Log Entries | tattle
- All 4 Boggly Woods Star Pieces | boggly, 2
- All 4 Great Tree Shine Sprites | tree, 2
- All 6 Great Tree Star Pieces | tree 2
- Damage Dodge & Damage Dodge P | sewers, tree
- W Emblem | rogueport, charlieton
- bingoList[7]
- At Least 10 Rogueport Star Pieces | rogueport
- HP Drain P | poshley
- Double Dip | rogueport
- Whacka Bump | keelhaul
- Gold Card | rogueport, trouble
- All 5 Hooktail Castle Star Pieces | hooktail, 1
- All 5 Petal Meadows/Petalburg Star Pieces | petalburg, 1
- Complete Puni Elder's Trouble | tree, trouble
- Donate 300 Coins to Lumpy | rogueport
- Super Rank Flurrie | shine, rogueport
- bingoList[8]
- At Least 15 Rogueport Sewers Star Pieces | sewers
- Double Dip P | fahr
- Both Fahr Outpost Shine Sprites | fahr
- All 6 Fahr Outpost Star Pieces | fahr
- Dubious Paper | glitz, 3
- Mousse Cake | recipe
- Fried Egg | tree, 2, recipe
- Redeem Ice Storm from 20 Shop Points | item
- bingoList[9]
- Silver Card | trouble, pit
- Tornado Jump | steeple, parlor
- Power Plus & Power Plus P | glitz, steeple
- Charge & Charge P | boggly, glitz, 3
- Defeat the KP Koopas | glitz, 3
- 10 Recipes | recipe
- bingoList[10]
- Complete Jolene's Trouble | glitz, trouble, 3
- Dried Bouquet | trouble
- All 4 Poshley Heights Star Pieces | poshley
- Spaghetti | poshley, recipe
- Hammer Throw | steeple, 4, parlor
- All 3 Twilight Town Star Pieces | twilight, 4
- Complete Merlee's Trouble | sewers, trouble, recipe
- bingoList[11]
- 30 Tattle Log Entries | tattle
- Super Rank 3 Partners | shine
- Autograph | train, 6, end
- At Least 3 Excess Express Star Pieces | train, 6, end
- Ms. Mowz | hooktail, trouble
- Both Glitzville Shine Sprites | glitz, 3
- B-List Star | stat1, stat2
- bingoList[12]
- Super Rank Yoshi | shine
- Defeat an X-Yux | fortress, 7
- Collect the Star Piece on the Moon | fortress, 7
- Platinum Card | trouble, poshley
- Defeat the Armored Harriers | glitz, 3
- bingoList[13]
- Couple's Cake | grotto, trouble, recipe
- All 10 Glitzville Star Pieces | glitz, 3
- Up Arrow | hooktail, shine
- Defend Plus P | sewers, grotto
- bingoList[14]
- 15 BP | stat1, stat2, stat3, stat4
- 30 FP | stat1, stat2, stat3, stat4
- 30 HP | stat1, stat2, stat3, stat4
- All 6 Keelhaul Key Star Pieces | keelhaul
- 15 Shine Sprites | shine
- Super Rank Bobbery | 5, shine
- bingoList[15]
- Defend Plus | sewers, twilight, 4
- Zap Tap | pit
- Money Money | parlor, trouble
- HP Drain (Badge) | rogueport
- Defeat Magnus von Grapple 2.0 | fortress, 7
- bingoList[16]
- All 4 Pirate's Grotto Star Pieces
- All 7 Inn Coupons | twilight, keelhaul, massinventory
- Ultra Rank Bobbery | shine
- Meteor Meal | twilight, trouble, recipe
- bingoList[17]
- Lucky Start | steeple, 4
- Complete Goldbob's Trouble | poshley, 7
- P-Down, D-Up | grotto, 5
- Golden Leaf | steeple, 4
- All 5 Pirate's Grotto Shine Sprites | grotto, 5
- bingoList[18]
- Defeat an Amazy Dayzee | twilight, pit
- All 3 Creepy Steeple Shine Sprites | steeple, 4
- All 5 Attack FX Badges | trouble, hooktail, howz
- Defeat Cortez | grotto, 5
- Defeat a Spunia | sewers, 5
- bingoList[19]
- Defeat Bowser (Glitzville) | glitz, 3
- Ultra Rank Ms. Mowz | shine
- bingoList[20]
- Ultra Rank 3 Partners | shine
- 25 Shine Sprites | shine
- 30 Unique Badges | howz
- bingoList[21]
- Jelly Ultra | recipe
- Coconut Bomb | recipe
- Boo Sheet from Zess T. | recipe, rogueport
- Zess Dinner | recipe
- bingoList[22]
- All 10 Twilight Town/Twilight Trail/Creepy Steeple Star Pieces | twilight, 4
- Coconut Bomb | recipe
- Choco Cake | recipe, trouble
- Both Elevator Keys in X-Naut Fortress | fortress, 7
- 45 Tattle Log Entries | tattle
- Coco Candy, Honey Candy, & Jelly Candy | recipe, massinventory
- bingoList[23]
- All or Nothing | palace, 8
- Defeat Doopliss (Creepy Steeple or Palace of Shadows) | twilight, 4, palace, 8
- bingoList[24]
- Defeat Gloomtail | palace, 8
- P-Up, D-Down P | palace, 8
- Super Rank Vivian | rogueport, shine
- bingoList[25]
- Strange Sack | long
- Quick Change & Pity Flower | pit, dazzle, long
- Lots of work needs to be done as far as balancing is concerned (especially regarding types.) I already plan to cut several of the goals listed, as well as make edits and add more in the future.
Add Comment
Please, Sign In to add comment