Advertisement
finaltidus

roboprofit.ash

Jan 6th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1.  
  2.  
  3. int averageTurnsUsed = 480; //daily turns used
  4. int robartenderWeight = 65; //expected familiar weight
  5. int baseMeatDrop = 250; //avg base meat drop from enemies (this is for barf mt.)
  6. float combatFreq = 0.96; //what about noncombat tho (this is for barf mt.)
  7.  
  8.  
  9. static boolean [item] itemDrops = $items[
  10. briefcase,
  11. stick,
  12. uncooked chorizo,
  13. cast,
  14. tooth,
  15. disturbing fanfic,
  16. bloody clown pants,
  17. asbestos crossbow string,
  18. filthy hippy poncho,
  19. gob of wet hair,
  20. filthy poultice,
  21. linoleum stick,
  22. plastic passion fruit,
  23. linoleum crossbow string,
  24. mesh cap,
  25. alphabet gum,
  26. valuable trinket,
  27. lovecat tail,
  28. skeleton bone,
  29. ghuol egg,
  30. dead guy's watch,
  31. rusty metal shaft,
  32. dirty hobo gloves,
  33. loose teeth,
  34. white lightning,
  35. broken skull,
  36. spring,
  37. furry pants,
  38. stringy sinew,
  39. pretty flower,
  40. skewer,
  41. bat guano,
  42. rat appendix,
  43. old leather wallet,
  44. box,
  45. old coin purse,
  46. ice-cold six-pack,
  47. worthless knick-knack,
  48. leather mask,
  49. gnoll teeth,
  50. asbestos stick,
  51. asbestos sword hilt,
  52. spiked femur,
  53. stuffing,
  54. length of string,
  55. catgut,
  56. Mad Train wine,
  57. tasket,
  58. yak skin,
  59. cog,
  60. empty meat tank,
  61. urinal cake,
  62. [2108]rock,
  63. barbed-wire fence,
  64. yeti fur,
  65. googly eye,
  66. meat from yesterday,
  67. batgut,
  68. penguin skin,
  69. blood flower,
  70. disease,
  71. sprocket,
  72. foon,
  73. mullet wig,
  74. pr0n legs,
  75. Pine-Fresh air freshener,
  76. ice-cold fotie,
  77. wooden block,
  78. squashed frog,
  79. pine tar,
  80. hemp string,
  81. ice-cold Willer,
  82. beer lens,
  83. worthless gewgaw,
  84. fruitcake,
  85. stench powder,
  86. fat stacks of cash,
  87. hippopotamus skin,
  88. chrome stick,
  89. razor-sharp can lid,
  90. tenderizing hammer,
  91. sleaze nuggets,
  92. worthless trinket,
  93. linoleum sword hilt,
  94. felt,
  95. enormous belt buckle,
  96. lihc eye,
  97. hermit permit,
  98. chrome crossbow string,
  99. rusty metal ring,
  100. lead necklace,
  101. flaming crutch,
  102. big rock,
  103. ice-cold Sir Schlitz,
  104. pirate pelvis,
  105. Mob Penguin cellular phone,
  106. chrome sword hilt
  107. ];
  108.  
  109. //candies that drop (this list is not completely correct im 100% sure.)
  110. static boolean [item] itemDrops2 = $items[
  111. orange and black Crimboween candy,
  112. Sugar Cog,
  113. candy brain,
  114. giant yellow gummi ingot,
  115. Elvish delight,
  116. chocolate seal-clubbing club,
  117. Comet Drop,
  118. strawberry-flavored Hob-O,
  119. Wint-O-Fresh mint,
  120. Cold Hots candy,
  121. giant yellow gummi bear,
  122. giant green gummi ingot,
  123. Mr. Mediocrebar,
  124. Bit O' Ectoplasm,
  125. PlexiPips,
  126. sugar shirt,
  127. cotton candy cone,
  128. candycaine powder,
  129. Piddles,
  130. honey-dipped locust,
  131. gummi canary,
  132. breath mint,
  133. Gummi-DNA,
  134. elderly jawbreaker,
  135. chocolate disco ball,
  136. Crimbo peppermint bark,
  137. chocolate-covered caviar,
  138. Nuclear Blastball,
  139. delicious comfit?,
  140. Daffy Taffy,
  141. red drunki-bear,
  142. Yummy Tummy bean,
  143. cotton candy bale,
  144. Steal This Candy,
  145. yellow drunki-bear,
  146. peppermint twist,
  147. orange candy heart,
  148. gummi snake,
  149. yellow candy heart,
  150. black candy heart,
  151. sugar sheet,
  152. Polka Pop,
  153. Crimbo fudge,
  154. chocolate stolen accordion,
  155. Now and Earlier,
  156. bag of many confections,
  157. tamarind-flavored chewing gum,
  158. cotton candy skoshe,
  159. Angry Farmer's Wife Candy,
  160. white chocolate chips,
  161. Rock Pops,
  162. green gummi ingot,
  163. Crimbo candied pecan,
  164. nanite-infested candy cane,
  165. candy cane,
  166. Wax Flask,
  167. cotton candy plug,
  168. marzipan skull,
  169. crazy little Turkish delight,
  170. honey stick,
  171. sugar shorts,
  172. licorice root,
  173. garbage-juice-flavored Hob-O,
  174. holly-flavored Hob-O,
  175. chocolate pasta spoon,
  176. pickle-flavored chewing gum,
  177. sugar shard,
  178. white candy heart,
  179. BitterSweetTarts,
  180. Fudgie Roll,
  181. sugar chapeau,
  182. pink candy heart,
  183. bazookafish bubble gum,
  184. explosion-flavored chewing gum,
  185. jabañero-flavored chewing gum,
  186. sugar shank,
  187. chocolate filthy lucre,
  188. cotton candy pinch,
  189. dubious peppermint,
  190. Tasty Fun Good rice candy,
  191. cotton candy pillow,
  192. sugar shillelagh,
  193. alphabet gum,
  194. peanut brittle shield,
  195. giant green gummi bear,
  196. red gummi ingot,
  197. fruitfilm,
  198. fudge spork,
  199. Gummi-Gnauga,
  200. lavender candy heart,
  201. candied kobold,
  202. Atomic Pop,
  203. double-ice gum,
  204. piece of after eight,
  205. Comet Pop,
  206. brown sugar cane,
  207. sugar shield,
  208. irradiated candy cane,
  209. spooky sap,
  210. cotton candy smidgen,
  211. sterno-flavored Hob-O,
  212. lime-and-chile-flavored chewing gum,
  213. green candy heart,
  214. candy stake,
  215. pixellated candy heart,
  216. peppermint sprout,
  217. yellow gummi ingot,
  218. Everlasting Deckswabber,
  219. children of the candy corn,
  220. Angry Farmer candy,
  221. frostbite-flavored Hob-O,
  222. stick of "gum",
  223. abandoned candy,
  224. giant red gummi ingot,
  225. chocolate turtle totem,
  226. sugar-coated pine cone,
  227. Necbro wafers,
  228. pile of candy,
  229. candy skeleton,
  230. Good 'n' Slimy,
  231. fry-oil-flavored Hob-O,
  232. Senior Mints,
  233. sugar shotgun,
  234. chocolate saucepan,
  235. ribbon candy,
  236. gummi salamander,
  237. licorice boa,
  238. Pain Dip,
  239. green drunki-bear,
  240. pack of chewing gum,
  241. giant red gummi bear
  242. ];
  243.  
  244. //HEAP PROFIT
  245. int totalValue = 0;
  246. int totalItems = 0;
  247.  
  248. foreach it in itemDrops {
  249. int thePrice = (mall_price(it));
  250. if (thePrice == (autosell_price(it)*2) || thePrice == 100){
  251. thePrice = autosell_price(it); //mall min items price reduced to autosell.
  252. }
  253. if(thePrice > 15000){
  254. thePrice = 15000; //reduce price of high priced low sales items
  255. }
  256. totalValue = totalValue + thePrice;
  257. totalItems++;
  258. }
  259. float heapDrinkPrice = (mall_price($item[Newark])/averageTurnsUsed);
  260. float heapMeatPerAdv = ((totalValue/totalItems) * .25) - heapDrinkPrice;
  261. print("Heap (25% Drop): " + heapMeatPerAdv.to_int() + " MPA. (" + averageTurnsUsed + " turn est.)" );
  262.  
  263.  
  264.  
  265. //CANDY PROFIT
  266. int totalValue2 = 0;
  267. int totalItems2 = 0;
  268.  
  269. foreach it in itemDrops2 {
  270. int thePrice2 = (mall_price(it));
  271. if (thePrice2 == (autosell_price(it)*2) || thePrice2 == 100){
  272. thePrice2 = autosell_price(it); //mall min items price reduced to autosell.
  273. }
  274. if(thePrice2 > 15000){
  275. thePrice2 = 15000; //reduce price of high priced low sales items
  276. }
  277. totalValue2 = totalValue2 + thePrice2;
  278. totalItems2++;
  279. }
  280. float candyDrinkPrice = (mall_price($item[Feliz Navidad])/averageTurnsUsed);
  281. float candyMeatPerAdv = ((totalValue2/totalItems2) * .25) - candyDrinkPrice;
  282. print("Candy (25% Drop): " + candyMeatPerAdv.to_int() + " MPA. ("+ averageTurnsUsed + " turn est.)" );
  283.  
  284.  
  285. //MEAT PROFIT
  286. float meatDrinkPrice = (mall_price($item[drive-by shooting]));
  287. float initalMeatBonus = (220.0 * robartenderWeight)** 0.5 + (2.0 * robartenderWeight) - 6.0; //standard lep.
  288. float doubleMeatBonus = (220.0 * (robartenderWeight * 2))** 0.5 + (2.0 * (robartenderWeight * 2)) - 6.0; //double lep
  289. float finalMeatBonus = (doubleMeatBonus - initalMeatBonus);
  290. float bonusProfit = (((averageTurnsUsed * combatFreq) * (baseMeatDrop * finalMeatBonus)) / 100) - meatDrinkPrice;
  291. float meatMeatPerAdv = (bonusProfit/averageTurnsUsed);
  292. print("Meat (Double Lep.): " + meatMeatPerAdv.to_int() + " MPA. ("+ averageTurnsUsed + " turn est.)");
  293.  
  294.  
  295. //TOTAL PROFIT
  296. float theTotalMPA = candyMeatPerAdv + heapMeatPerAdv + meatMeatPerAdv;
  297. print("Total MPA Gain: " + theTotalMPA.to_int());
  298. print((theTotalMPA*averageTurnsUsed).to_int() + " Meat Per Day at " + averageTurnsUsed + " Turn Estimate.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement