forked from mirror/Archipelago
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
236 lines
10 KiB
Python
236 lines
10 KiB
Python
#from worlds.glover import GloverWorld
|
|
|
|
#Advice that you can actually use in the Glover Archipelago.
|
|
actual_advice = [
|
|
"You can jump through the star marks in the wayroom.",
|
|
"You can cartwheel in place of jumping to cross horizontal gaps.",
|
|
"Trap items show up with false names. Remember your settings, and look for typos!",
|
|
"You can defeat some enemies by pushing them off edges.",
|
|
"On average, it takes 62 garibs to unlock a star mark.",
|
|
"There are 1497 Garibs in Glover. There are 326 Garib Groups.",
|
|
"You can release the bowling ball to break objects if it has enough speed.",
|
|
"The crystal can float, is fast, and gives double points when getting garibs.",
|
|
"Locate ball, locate garibs, and throw all prevent you from falling.",
|
|
"Use spell items wisely. They can let you skip logic.",
|
|
"You move faster using the D Pad than with the analog stick.",
|
|
"Skip the fear boss by fist slamming the second shortest pillar twice.",
|
|
"You can sheild in space boss by pressing Z.",
|
|
"Fist slamming bouncy balls gives more height than jumping on them.",
|
|
"Swish and Dennis count as enemies.",
|
|
"While you are a frog, press B to short hop.",
|
|
"There are 89 extra lives, 33 potions, and 35 Tips in Glover.",
|
|
"Getting a Star Mark above the numbered wayroom gates opens the bonus level.",
|
|
"Beating a boss also gives you a star mark above that gate.",
|
|
"Bouncing off slopes gives you extra speed.",
|
|
"Only the ball bearing and bowling ball can sink.",
|
|
"You can damage the whale using the crystal.",
|
|
"The well contains many hints. Use them to plan ahead.",
|
|
"Atl?, Crn?, Pht?, FoF? and Otw! can all be beaten without items.",
|
|
"Avoid hitting the wizard cutouts in Carnival Bonus. They spawn targets.",
|
|
"You don't need the speed potion if you have the right items.",
|
|
"Traps that change your ball may act as a boon in the right context.",
|
|
"If you get a check and die, you still got the check.",
|
|
"Using a checkpoint also checks its location.",
|
|
"You can dribble in place of jumping.",
|
|
"If you've touched the ball once, you'll respawn with it.",
|
|
"You can cartwheel past the icicles in Prehistoric 1.",
|
|
"You can collect lives, garibs and checkpoints remotely with the ball.",
|
|
"Sometimes, you gotta leave the ball behind to progress.",
|
|
"The push item exists for a reason.",
|
|
"If you have locate ball, you can transform the ball remotely.",
|
|
"Out of This World 1 is the only starting level that spawns you with the ball.",
|
|
"You don't need quickswap to get ontop of the ball.",
|
|
"There are 128 enemies in Glover. Most are defeated with Fist Slam.",
|
|
"There are 81 Switches and 60 Checkpoints in Glover.",
|
|
"Pirates and Carnival unlock at the same time. So do Prehistoric and Fortress of Fear.",
|
|
"You can't open bonus gates or talk to wayroom tips on easy mode.",
|
|
"Different BizHawk cores reduce different types of lag.",
|
|
"Catching a tossed ball midair makes you act like you're grounded.",
|
|
"Mashing Quickswap builds speed.",
|
|
"Transforming the ball will let you sink while holding balls that float.",
|
|
"There's a hidden platform out of bounds behind the Prehistoric boss.",
|
|
"Out of This World 3's Magnet can be ridden.",
|
|
"The Hercules Potion is only truly required for 1 check.",
|
|
"You can predict what levels are coming based on garibs you recieve.",
|
|
"Jump diagonally from the corners of platforms in Atlantis Bonus.",
|
|
"You don't need to beat a level to get a star mark for it."
|
|
]
|
|
|
|
#References
|
|
references = [
|
|
"Look Glover, Ropes! We can use these to climb big pits!",
|
|
"It's so sad the wizard got cursed with changema.",
|
|
"Stop! You have violated the law!",
|
|
"I used to be a Glove like you. Then I took a Garib to the knee.",
|
|
"Crystal wizard garib gang. We love casting spells."
|
|
]
|
|
|
|
#World specific hints
|
|
world_tables = {
|
|
"A Hat in Time" : [
|
|
"Peck!",
|
|
"Could you use yarn to make more Glovers?",
|
|
"Wait for opertune times to buy spells from shops using Pons."
|
|
],
|
|
"A Link to the Past" : [
|
|
"Wait for opertune times to buy spells from shops using Rupees.",
|
|
"Crystals are important for A Link to the Past too.",
|
|
"It's dangerous to go alone. Take this!",
|
|
"Traps in A Link to the Past are disguised."
|
|
],
|
|
"APQuest" : [
|
|
"Hearts are important to APQuest too."
|
|
],
|
|
"Sudoku" : [
|
|
"Harder Sudoku Puzzles are likely to reveal Garibs."
|
|
],
|
|
"Banjo-Tooie" : [
|
|
"The Wizard used to have a wife until she was obsessed with bears and birds.",
|
|
"Colourful magical creatures used to live here. The Wizard used their magic to brew wild potions.",
|
|
"EEKUM BOOKUM.",
|
|
"JINJO!!!",
|
|
"The Wizard enjoys racing with a strange winged creature. Thank the clouds she's trapped in the mines."
|
|
],
|
|
"Blasphemous" : [
|
|
"Be ready when Blasphemous players are near shops.",
|
|
"A severed Glove that tightly grasps a bowling ball, sometimes afflicted by curses."
|
|
],
|
|
"Bomb Rush Cyberfunk" : [
|
|
"Score isn't just important to Bomb Rush Cyberfunk. Your score earns you extra lives!"
|
|
],
|
|
"Bumper Stickers" : [
|
|
"If you have a trap hinted for Bumper Stickers, avoid it!"
|
|
],
|
|
"Choo-Choo Charles" : [
|
|
"Wait for opertune times to buy spells from shops using Scrap.",
|
|
"My Pickles!",
|
|
"He's not taking enough damage, get some headshots!",
|
|
"If only you could send Samtex to Choo-Choo Charles...",
|
|
"You cannot dribble Charles Eggs."
|
|
],
|
|
"Celeste 64" : [
|
|
"Glover can double jump.",
|
|
"Cross-Stitch is kinda like Badaline when you think about it."
|
|
],
|
|
"Celeste (Open World)" : [
|
|
"Getting Crystals are important to Celeste too.",
|
|
"Glover can double jump.",
|
|
"You cannot dribble Ice Balls.",
|
|
"You cannot dribble Fire Balls.",
|
|
"Celeste Open World also cares about Checkpoints.",
|
|
"Celeste Open World also has Trap Link.",
|
|
"Cross-Stitch is kinda like Badaline when you think about it."
|
|
],
|
|
"ChecksFinder" : [
|
|
"You cannot dribble mines."
|
|
],
|
|
"Castlevania 64" : [
|
|
"Castlevania 64s Special Gem looks awfully familiar...",
|
|
"Wait for opertune times to buy spells from shops using Gold.",
|
|
"Sun Cards do not count towards garib counts.",
|
|
"Castlevania 64 is also won by activating a crystal in a castle basement."
|
|
],
|
|
"Castlevania - Circle of the Moon" : [
|
|
"Is Glover more of a Magic Gauntlet?",
|
|
"Castlevania Circle of the Moon also care about potions."
|
|
],
|
|
"Civilization VI" : [
|
|
"The Wizard is going for a Science Victory.",
|
|
"Cross-Stitch has declared War on the Crystal Castle."
|
|
],
|
|
"Dark Souls III" : [
|
|
"Spells are important to Dark Souls III as well.",
|
|
"Cross-Stitch, scourge of the crystal kingdom.",
|
|
"You cannot dribble the Skeleton Ball.",
|
|
"You cannot dribble the Fireball.",
|
|
"Glover's a kind of Sorcerer Glove when you think about it.",
|
|
"Getting 7 Crystal Lizards will not beat Glover.",
|
|
"The Wizard is a kind of Crystal Sage when you think about it."
|
|
],
|
|
"Donkey Kong Country 3" : [
|
|
"You would think Glover would like Fire Ball Frenzy..."
|
|
],
|
|
"DLCQuest" : [
|
|
"Wait for opertune times to buy spells from shops using Coins.",
|
|
"DLCQuest also bundles their main collectable."
|
|
],
|
|
"DOOM 1993" : [],
|
|
"DOOM II" : [],
|
|
"Factorio" : [
|
|
"Work together with Factorio players to unlock spells at opertune times."
|
|
],
|
|
"Faxanadu" : [
|
|
"Wait for opertune times to buy spells from shops using Gold.",
|
|
"Potions are important for Faxanadu too.",
|
|
"Once you collect Glover, your attack power will increase for 20 seconds.",
|
|
"Death is also a spell in Faxanadu."
|
|
],
|
|
"Final Fantasy" : [
|
|
"Wait for opertune times to buy spells from shops using Gold.",
|
|
"Final Fantasy also cares about their spells.",
|
|
"Do not let Titan eat the crystals.",
|
|
"Glover can use a lot of magic points without resting.",
|
|
"The black mage looks awfully familiar...",
|
|
"You can't use 7 Crystal Eyes to free the wizard."
|
|
],
|
|
"Final Fantasy Mystic Quest" : [
|
|
"Is Glovers Companion the ball?"
|
|
],
|
|
"Heretic" : [
|
|
"Corvus should not use the wizards crystals as ammo."
|
|
],
|
|
"Hollow Knight" : [
|
|
"Shaw!",
|
|
"Wait for opertune times to buy spells from shops using Geo.",
|
|
"Even if you could, I would not dribble the Arcane Egg.",
|
|
"Get The Knight's nails far away from the rubber ball."
|
|
],
|
|
"Hylics 2" : [
|
|
"Glover must have a lot of will to spam gestures like that."
|
|
],
|
|
"Inscryption" : [
|
|
"Cross-Stitch suggests using the card Frank And Stein.",
|
|
"Please let me off of the Gem Fiend. I'm scared."
|
|
],
|
|
"Jak and Daxter: The Precursor Legacy" : [
|
|
"Jak and Daxter Orbs can also be sent in bundles."
|
|
],
|
|
"Super Mario 64" : [
|
|
"There were plans to have Glover be Mario's Glove.",
|
|
"Shoutouts to Simpleflips."
|
|
],
|
|
"Super Mario Sunshine" : [
|
|
"Shine Get!",
|
|
"What's this icky, paint-like ball? It's moving!",
|
|
"Glover's a Chuckster!"
|
|
],
|
|
"The Grinch" : [
|
|
"Ya Grinched!"
|
|
]
|
|
}
|
|
|
|
#Jokes
|
|
jokes = [
|
|
"L.",
|
|
"Oh, cool. I did all that for one Garib.",
|
|
"AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA",
|
|
"Pickle?"
|
|
]
|
|
|
|
def generate_tip_table(self) -> list[str]:
|
|
tip_table : list[str] = []
|
|
tip_table.extend(actual_advice)
|
|
tip_table.extend(jokes)
|
|
|
|
#Saying hi
|
|
for player_name in list(self.multiworld.player_name.values()):
|
|
if player_name == self.player_name:
|
|
tip_table.append("Hi " + player_name + "!")
|
|
else:
|
|
tip_table.append("Say hi to " + player_name + " for me.")
|
|
|
|
#Game connections
|
|
for world_name in list(self.multiworld.world_name_lookup.keys()):
|
|
if world_name in world_tables:
|
|
tip_table.extend(world_tables[world_name])
|
|
return tip_table |