Skip to content

Instantly share code, notes, and snippets.

@DamianDominoDavis
Last active November 8, 2021 20:24
Show Gist options
  • Save DamianDominoDavis/c89a5c14fff43e3c4b4b18d9deddfbbf to your computer and use it in GitHub Desktop.
Save DamianDominoDavis/c89a5c14fff43e3c4b4b18d9deddfbbf to your computer and use it in GitHub Desktop.
string kmb_num(float x) {
for i from 9 to 3 by 3
if (x >= 10**i)
return to_int(x / 10**i) + string[]{'k','M','B'}[i/3 - 1];
return x.to_int();
}
boolean have_familiar_or_pocket(familiar f) {
static buffer b = visit_url('familiarnames.php');
return f.have_familiar() || b.contains_text('the ' + f);
}
void main() {
boolean[familiar] fams;
familiar[item] hatches;
item[int] them;
int[item] prices;
foreach f in $familiars[] {
if(f.hatchling==$item[none])
continue;
fams[f] = f.have_familiar_or_pocket();
hatches[f.hatchling] = f;
them[them.count()] = f.hatchling;
prices[f.hatchling] = f.hatchling.historical_price();
}
sort them by prices[value];
for pow from 0 to 9 {
foreach i,it in them
if (prices[it]>=10**pow && prices[it]<10**(pow+1))
print(prices[it].kmb_num() + ' '
+ (hatches[it].have_familiar()? '&#10004;':'&#10006;') + ' '
+ (it.to_int()>=9762 && it.to_int()<=9806?'Pokéfam '+it:it+' => '+hatches[it]));
print();
}
}
299 ✔ baby killer bee => Killer Bee
400 ✔ piece of coral => Pet Coral
570 ✔ rewinged stab bat => Stab Bat
875 ✔ tiny barrel => Lil' Barrel Mimic
925 ✔ blood-faced volleyball => Blood-Faced Volleyball
950 ✔ barrrnacle => Barrrnacle
990 ✔ maple leaf => Whirling Maple Leaf
1k ✔ balloon monkey => Howling Balloon Monkey
1k ✔ star starfish => Star Starfish
1k ✔ sabre-toothed lime cub => Sabre-Toothed Lime
1k ✔ squirming egg sac => Dataspider
1k ✔ sleeping wereturtle => Wereturtle
2k ✔ pet rock => Pet Rock
2k ✔ sleeping snowy owl => Snowy Owl
3k ✔ Bowlet => Bowlet
3k ✔ topiary skunk => Topiary Skunk
3k ✔ cocoa egg => Cocoabo
3k ✔ goat => Angry Goat
3k ✔ fertilized ghuol egg => Ghuol Whelp
4k ✔ potato sprout => Levitating Potato
4k ✔ pregnant mushroom => Baby Gravy Fairy
5k ✔ smiling rat => Smiling Rat
7k ✖ syncopated turtle => Syncopated Turtle
7k ✔ ghost pickle on a stick => Ghost Pickle on a Stick
7k ✔ leprechaun hatchling => Leprechaun
8k ✔ makeshift crane => Origami Towel Crane
8k ✔ Star Spawn => Adorable Space Buddy
8k ✔ frigid mote => Ninja Snowflake
9k ✔ woim => Oily Woim
9k ✔ toothsome rock => Toothsome Rock
10k ✔ hovering sombrero => Hovering Sombrero
10k ✔ spooky pirate skeleton => Spooky Pirate Skeleton
15k ✔ Xiblaxian holo-buddy simcode => Xiblaxian Holo-Companion
17k ✔ cute meteoroid => Cute Meteor
18k ✔ pristine piranha seed => Piranha Plant
19k ✔ Unspeakachu => Unspeakachu
19k ✔ unwound clockwork grapefruit => Clockwork Grapefruit
24k ✔ midget clownfish => Midget Clownfish
26k ✔ grouper fangirl => Grouper Groupie
28k ✔ urchin roe => Urchin Urchin
29k ✔ teddy borg => Teddy Borg
37k ✔ teddy bear => Teddy Bear
38k ✔ baby cuddlefish => Cuddlefish
39k ✔ Pokéfam Ungulant
40k ✔ evil teddy bear => Evil Teddy Bear
46k ✔ peppermint rhino baby => Peppermint Rhino
50k ✔ Cornbeefadon => Cornbeefadon
50k ✔ scary death orb => Scary Death Orb
54k ✖ shuddering cow skull => Restless Cow Skull
75k ✖ grinning turtle => Grinning Turtle
78k ✔ Bulky Buddy Box => Bulky Buddy Box
80k ✔ deactivated MicroMechaMech => MagiMechTech MicroMechaMech
83k ✖ software bug => Software Bug
85k ✔ Disgeist => Disgeist
87k ✔ Pokéfam Vaporpoise
140k ✔ Pokéfam Sequestrian
145k ✔ Pokéfam Mechamelion
160k ✖ skulldozer egg => Mini-Skulldozer
180k ✔ Pokéfam Vulgure
190k ✔ Pokéfam Ruffalo
200k ✔ Pokéfam Turpin
200k ✔ Pokéfam Morphan
200k ✔ Pokéfam Flan
200k ✔ Pokéfam Gazelleton
220k ✔ wriggling severed nose => Nosy Nose
222k ✔ Pokéfam Glamare
230k ✔ Pokéfam Smashmoth
267k ✔ imitation crab zoea => Imitation Crab
279k ✔ Pokéfam Waifuton
295k ✖ pair of ragged claws => Pair of Ragged Claws
300k ✔ Pokéfam Pillowbug
300k ✔ Pokéfam Wullabye
321k ✔ Pokéfam Snoutlet
325k ✔ Pokéfam Bluzzard
325k ✔ Pokéfam Aiolion
330k ✔ Pokéfam Trafikoan
380k ✔ Pokéfam Oppossum
382k ✔ zombie dinosaur egg => Baby Z-Rex
388k ✖ inert sludgepuppy => Sludgepuppy
399k ✔ Pokéfam Lepardner
400k ✔ Pokéfam Gorillape
450k ✔ Pokéfam Shudder
475k ✔ exotic parrot egg => Exotic Parrot
475k ✔ Pokéfam Ghosprey
499k ✔ dried gelatinous cube => Gelatinous Cubeling
500k ✔ Pokéfam Straypler
550k ✔ Pokéfam Pimpsqueak
585k ✔ holiday log => Holiday Log
599k ✔ Pokéfam Sledgehamster
600k ✔ Pokéfam Cycloney
600k ✔ Pokéfam Nursine
600k ✔ Pokéfam Cantelope
680k ✔ magic dragonfish fry => Magic Dragonfish
796k ✔ rock lobster => Rock Lobster
876k ✔ Pokéfam Wendtigo
899k ✔ Pokéfam Slotter
900k ✔ Pokéfam Globmule
900k ✔ Pokéfam Squib
999k ✔ Pokéfam Dressage
999k ✔ Pokéfam Peaclock
999k ✔ Pokéfam Bicycle
1M ✖ newborn kobold => Feral Kobold
1M ✖ warbear drone assembler => Warbear Drone
1M ✔ Pokéfam Faux
1M ✖ BRICKO egg => BRICKO chick
1M ✔ yule pup => Yule Hound
1M ✔ Pokéfam Mustardigrade
2M ✔ Pokéfam Turtive
2M ✔ Pokéfam Caramel
2M ✔ Pokéfam Amanitee
2M ✔ pottery barn owl figurine => Pottery Barn Owl
3M ✖ hot egg => Flaming Face
4M ✖ Deactivated O. A. F. => O.A.F.
4M ✔ Pokéfam Ched
4M ✔ Pokéfam Carpricorn
5M ✖ pile of loose snow => Snow Angel
5M ✖ twitching space egg => Twitching Space Critter
7M ✔ Pokéfam Vamprey
9M ✖ baby bark scorpion => Bark Scorpion
11M ✔ deactivated putty buddy => Putty Buddy
12M ✔ Mini-Crimbot crate => Mini-Crimbot
20M ✔ mutant rattlesnake egg => Baby Mutant Rattlesnake
22M ✔ Mu => Mu
24M ✔ mutant cactus bud => Mutant Cactus Bud
24M ✖ mutant fire ant egg => Mutant Fire Ant
25M ✖ panicked kernel => Baby Bugged Bugbear
25M ✖ pet bad vibe => Bad Vibe
30M ✖ candy cornucopia => Sugar Fruit Fairy
34M ✖ cotton candy cocoon => Cotton Candy Carnie
35M ✖ Underworld sapling => Underworld Bonsai
36M ✖ mutant gila monster egg => Mutant Gila Monster
39M ✔ God Lobster Egg => God Lobster
40M ✔ kitten burglar => Cat Burglar
43M ✖ bottled Vampire Vintner => Vampire Vintner
43M ✔ shortest-order cook => Shorter-Order Cook
45M ✖ stuffed-shirt scarecrow => Fancypants Scarecrow
49M ✖ bad penguin egg => Penguin Goodfella
49M ✖ floaty stone sphere => He-Boulder
50M ✖ yuletide troll chrysalis => Ancient Yuletide Troll
50M ✖ Gratitude chocolate (octopus-filled) => Choctopus
53M ✖ adventurer clone egg => Mini-Adventurer
64M ✖ Small Medium => Happy Medium
65M ✖ llama lama cria => Llama Lama
67M ✔ sinistral homunculus => Left-Hand Man
68M ✔ red-spotted snapper roe => Red-Nosed Snapper
68M ✔ strange helix fossil => Helix Fossil
86M ✖ xo-skeleton-in-a-box => XO Skeleton
90M ✖ Crimbo P. R. E. S. S. I. E. => Crimbo P. R. E. S. S. I. E.
90M ✖ sane hatrack => Mad Hatrack
90M ✔ baby camelCalf => Melodramedary
95M ✖ Moping Artistic Goth Kid => Artistic Goth Kid
98M ✖ fist turkey outline => Fist Turkey
111M ✖ Schmalz's First Prize Beer => Mini-Hipster
113M ✔ packaged Pocket Professor => Pocket Professor
140M ✖ hopeful candle => Optimistic Candle
150M ✖ Hanukkimbo dreidl => Hanukkimbo Dreidl
150M ✖ kerosene-soaked skip => Garbage Fire
177M ✖ elf sleeper agent => Elf Operative
180M ✖ hibernating robot reindeer => Robot Reindeer
199M ✖ deactivated nanobots => Nanorhino
220M ✖ still grill => Galloping Grill
243M ✖ glowing frisbee => Rogue Program
249M ✖ deanimated reanimator's coffin => Reanimated Reanimator
250M ✖ astral badger => Astral Badger
250M ✔ mysterious chest => Li'l Xenomorph
250M ✖ disconnected intergnat => Intergnat
255M ✖ pygmy bugbear shaman => Pygmy Bugbear Shaman
288M ✔ spooky rattling cigar box => Disembodied Hand
300M ✖ bottled green pixie => Green Pixie
310M ✖ dandy lion cub => Dandy Lion
350M ✖ infant sandworm => Baby Sandworm
400M ✔ space planula => Space Jellyfish
437M ✔ Crimbo sapling => Crimbo Shrub
439M ✖ KoLHS Pep Squad Box => Steam-Powered Cheerleader
444M ✖ fairy-worn boots => Pair of Stomping Boots
488M ✖ homeless hobo spirit => Spirit Hobo
499M ✖ The Kloop in the Coop => Blavious Kloop
500M ✖ unwound cymbal-playing monkey => Cymbal-Playing Monkey
500M ✖ sweet nutcracker => Sweet Nutcracker
500M ✖ March hat => Wild Hare
500M ✖ class five ecto-larva => Gluttonous Green Ghost
500M ✖ Apathargic Bandersnatch => Frumious Bandersnatch
500M ✖ squamous polyp => Squamous Gibberer
500M ✖ organ grinder => Knob Goblin Organ Grinder
500M ✖ li'l orphan tot => Trick-or-Treating Tot
516M ✖ machine elf capsule => Machine Elf
599M ✖ a cute angel => Obtuse Angel
660M ✖ Comma Chameleon egg => Comma Chameleon
660M ✖ wizard action figure => Wizard Action Figure
678M ✖ passed-out psychedelic bear => Psychedelic Bear
700M ✖ sleeping piano cat => Piano Cat
750M ✖ Dark Jill-O-Lantern => Jill-O-Lantern
750M ✖ crimbo elfling => Crimbo Elf
750M ✖ doppelshifter egg => Doppelshifter
750M ✖ siesta-ing Casagnova gnome => Casagnova Gnome
775M ✖ Unagnimated Gnome => Reagnimated Gnome
777M ✖ yellow puck with a bow on it => Ms. Puck Man
788M ✖ unwound mechanical songbird => Mechanical Songbird
800M ✖ unemployed hunchbacked minion => Hunchbacked Minion
850M ✖ praying Grim Brother => Grim Brother
858M ✖ hippo tutu => Hippo Ballerina
880M ✖ perfectly ordinary frog => Dancing Frog
888M ✖ deflated inflatable dodecapede => Inflatable Dodecapede
900M ✖ avatar of the Unconscious Collective => Unconscious Collective
921M ✖ The Groose in the Hoose => Bloovian Groose
924M ✖ rehearsing dramatic hedgehog => Dramatic Hedgehog
939M ✖ hibernating Grimstone Golem => Grimstone Golem
947M ✖ coffee sprite => Coffee Pixie
950M ✖ suspicious stocking => Stocking Mimic
950M ✖ Professor of Spelunkology => Adventurous Spelunker
950M ✖ yellow puck => Puck Man
950M ✖ orphan baby yeti => Baby Yeti
998M ✖ unpowered Robortender => Robortender
999M ✖ basking robin => Rockin' Robin
999M ✖ golden monkey statuette => Golden Monkey
999M ✖ hungover chauvinist pig => Chauvinist Pig
999M ✖ dreaming Jung man => Angry Jung Man
999M ✔ Stooper => Stooper
999M ✖ Cheshire Bitten => Cheshire Bat
999M ✖ silk garter snake => Feather Boa Constrictor
999M ✖ emo roe => Emo Squid
999M ✖ personal raindrop => Personal Raincloud
999M ✖ calm attention-deficit demon => Attention-Deficit Demon
999M ✖ miniscule temporal rip => Temporal Riftlet
999M ✖ jitterbug larva => Jitterbug
999M ✖ nervous tick egg => Nervous Tick
999M ✖ uniclops egg => Uniclops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment