lostcalpolydude

Pick a Card

Jul 5th, 2015
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. # Save as choice.ash
  2. buffer page;
  3.  
  4. void addText( string initialText, string addedText )
  5. {
  6. int index = index_of( page, initialText );
  7. if ( index == -1 ) return;
  8. index += length( initialText );
  9. insert( page, index, " - " + addedText );
  10. }
  11.  
  12.  
  13. void main()
  14. {
  15. page = visit_url();
  16. if( !page.contains_text( 'bgcolor=blue><b>Pick a Card</b>' ) )
  17. {
  18. page.write();
  19. return;
  20. }
  21.  
  22. addText( "X of Clubs", "PvP Fights" );
  23. addText( "X of Diamonds", "cubic zirconia" );
  24. addText( "X of Hearts", "bubblegum hearts" );
  25. addText( "X of Spades", "shovels, spading string" );
  26. addText( "X of Papayas", "papayas" );
  27. addText( "X of Kumquats", "kumquats" );
  28. addText( "X of Salads", "delicious salad" );
  29. addText( "X of Cups", "random booze" );
  30. addText( "X of Coins", "valuable coins" );
  31. addText( "X of Swords", "random swords" );
  32. addText( "X of Wands", "random buffs" );
  33. addText( "0 - The Fool", "20 turns of +200% moxie" );
  34. addText( "I - The Magician", "20 turns of +200% myst" );
  35. addText( "II - The High Priestess", "fight a hippy" );
  36. addText( "III - The Empress", "500 myst substats" );
  37. addText( "IV - The Emperor", "fight The Emperor" );
  38. addText( "V - The Hierophant", "fight a dude" );
  39. addText( "VI - The Lovers", "500 moxie substats" );
  40. addText( "VII - The Chariot", "fight a construct" );
  41. addText( "IX - The Hermit", "fight The Hermit" );
  42. addText( "X - The Wheel of Fortune", "20 turns of +100% item" );
  43. addText( "XI - Strength", "20 turns of +200% muscle" );
  44. addText( "XII - The Hanged Man", "fight an orc" );
  45. addText( "XIII - Death", "fight an undead" );
  46. addText( "XIV - Temperance", "fight a hobo" );
  47. addText( "XV - The Devil", "fight a demon" );
  48. addText( "XVI - The Tower", "tower key" );
  49. addText( "XVII - The Star", "fight a constellation" );
  50. addText( "XVIII - The Moon", "fight a horror" );
  51. addText( "XXI - The World", "500 muscle substats" );
  52. addText( "Plains", "white mana" );
  53. addText( "Swamp", "black mana" );
  54. addText( "Mountain", "red mana" );
  55. addText( "Forest", "green mana" );
  56. addText( "Island", "blue mana" );
  57. addText( "Healing Salve", "get skill" );
  58. addText( "Dark Ritual", "get skill" );
  59. addText( "Lightning Bolt", "get skill" );
  60. addText( "Giant Growth", "get skill" );
  61. addText( "Ancestral Recall", "get skill" );
  62. addText( "The Hive", "fight a bug" );
  63. addText( "Goblin Sapper", "fight a goblin" );
  64. addText( "Fire Elemental", "fight an elemental" );
  65. addText( "Unstable Portal", "fight a weird" );
  66. addText( "Lead Pipe", "1h club, +50 HP, +100% mus" );
  67. addText( "Rope", "1h whip, +2 mus stats, 10 fam wt" );
  68. addText( "Wrench", "1h utensil, +50 MP, 100% spell damage" );
  69. addText( "Candlestick", "1h wand, 2 myst stats, +100% myst" );
  70. addText( "Knife", "1h knife, +50% meat, +100% moxie" );
  71. addText( "Revolver", "1h pistol, +2 moxie stats, +50% init" );
  72. addText( "Professor Plum", "plums" );
  73. addText( "Spare Tire", "tires" );
  74. addText( "Extra Tank", "full meat tank" );
  75. addText( "Sheep", "3 stone wool" );
  76. addText( "Year of Plenty", "5 random food" );
  77. addText( "Mine", "1 of each ore" );
  78. addText( "Laboratory", "5 random potions" );
  79. addText( "Werewolf", "fight a beast" );
  80. addText( "Go Fish", "fight a fish" );
  81. addText( "Plantable Greeting Card", "fight a plant" );
  82. addText( "Pirate Birthday Card", "fight a pirate" );
  83. addText( "Christmas Card", "fight an elf" );
  84. addText( "Gift Card", "get a gift card" );
  85. addText( "Suit Warehouse Discount Card", "fight a penguin" );
  86. addText( "1952 Mickey Mantle", "10k autosell" );
  87. addText( "Slimer Trading Card", "fight a slime" );
  88. addText( "Aquarius Horoscope", "fight a mer-kin" );
  89. addText( "Hunky Fireman Card", "fight a humanoid" );
  90. addText( "Green Card", "fight a legal alien" );
  91. addText( "The Race Card", "20 turns of +200% init" );
  92.  
  93.  
  94. page.write();
  95. return;
  96. }
Advertisement
Add Comment
Please, Sign In to add comment