EstrumbiloPlease

THing (OLD)

Oct 15th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Let's make a game!
  2. name:Thing
  3. by:Thing
  4. Desc:v1<.>Added a mini prestige layer <b>Production Sacrifice</b>.<.>Added 9 achievements.<//>v2<.>Added a prestige layer - <b>Overcharge</b>.<.>Added 3 Overcharge upgradea.<.>Added 3 achievements, 2 related do overcharge and 1 for time played.
  5. version:1
  6.  
  7. Settings
  8. stylesheet:https://pastebin.com/M3pQu3iH
  9. background:http://orteil.dashnet.org/cookieclicker/img/starbg.jpg
  10.  
  11.  
  12. CSS
  13.  
  14. .thing
  15. {
  16. text-align:center
  17. }
  18.  
  19. .thing.achiev
  20. {
  21. margin: 2px;
  22. border: 4px solid #246ab0;
  23. border-radius: 20px;
  24. }
  25.  
  26. .thing.chargeButton
  27. {
  28. margin-top: 8px;
  29. margin-bottom: 8px;
  30. border: 4px solid #421a92;
  31. background-color: #5d26c9;
  32. border-radius: 20px;
  33. }
  34.  
  35. .thing.chargeUp
  36. {
  37. width: 100%;
  38. margin-bottom: 2px;
  39. border: 4px solid #421a92;
  40. background-color: #5d26c9;
  41. border-radius: 20px;
  42. }
  43.  
  44. Buttons
  45.  
  46. *Dd
  47. name:http://orteil.dashnet.org/igm/?g=Rgs8js0F
  48.  
  49. Resources
  50.  
  51. //Main resources
  52.  
  53. *thing|things
  54. name:Things
  55. desc:This are your things. Use them to make more things.
  56. start with:100
  57. class:noBackground
  58. show max
  59.  
  60. *chargePoints
  61. name:Charge Points
  62. desc:This are your Charge Points. Use them to buy more powerfull things.
  63. start with:0
  64. class:noBackground
  65. show max
  66. hidden when 0
  67.  
  68. *TEMPLATE
  69. hidden
  70.  
  71. //Misc
  72.  
  73. *thingb1
  74.  
  75. *timePlayed
  76.  
  77. *startingThings
  78. start with:100
  79.  
  80. //Amount multplier
  81.  
  82. *TEMPLATE
  83. hidden
  84.  
  85. *b1AmountMult
  86. start with:1
  87.  
  88. *b2AmountMult
  89. start with:1
  90.  
  91. *b3AmountMult
  92. start with:1
  93.  
  94. *b4AmountMult
  95. start with:1
  96.  
  97. *b5AmountMult
  98. start with:1
  99.  
  100. *b6AmountMult
  101. start with:1
  102.  
  103. *b7AmountMult
  104. start with:1
  105.  
  106. *b8AmountMult
  107. start with:1
  108.  
  109. //Generator multiplier
  110.  
  111. *TEMPLATE
  112. hidden
  113.  
  114. *b1GenMult
  115. start with:1
  116.  
  117. *b2GenMult
  118. start with:1
  119.  
  120. *b3GenMult
  121. start with:1
  122.  
  123. *b4GenMult
  124. start with:1
  125.  
  126. *b5GenMult
  127. start with:1
  128.  
  129. *b6GenMult
  130. start with:1
  131.  
  132. *THISisAoldVERSION
  133.  
  134. *b7GenMult
  135. start with:1
  136.  
  137. //Achievement multiplier
  138.  
  139. *TEMPLATE
  140. hidden
  141.  
  142. *b1AchievMult
  143. start with:1
  144.  
  145. *b2AchievMult
  146. start with:1
  147.  
  148. *b3AchievMult
  149. start with:1
  150.  
  151. *b4AchievMult
  152. start with:1
  153.  
  154. *b5AchievMult
  155. start with:1
  156.  
  157. *b6AchievMult
  158. start with:1
  159.  
  160. *b7AchievMult
  161. start with:1
  162.  
  163. *b8AchievMult
  164. start with:1
  165.  
  166. *TEMPLATE
  167. hidden
  168.  
  169. //Production Boost Stuff
  170.  
  171. *Pboost
  172. start with:100
  173.  
  174. *PboostPerUp
  175. start with:10
  176.  
  177. //Production Sacrifice Stuff
  178.  
  179. *Sboost
  180. start with:1
  181.  
  182. *SboostPerUp
  183. start with:3
  184.  
  185. //Overcharge Stuff
  186.  
  187. *totalCharge
  188.  
  189. *totalChargePoints
  190.  
  191. *chargePerUp
  192. start with:1
  193.  
  194. Buildings
  195.  
  196. *TEMPLATE
  197. tag:normalbuildings
  198.  
  199. *fgg
  200. start with:1
  201. on tick:toast THIS IS A OLD VERSION <//>UPDATED VERSION --> Rgs8js0F
  202.  
  203. *b1
  204. name:Thing Generator MK I
  205. text:Thing Generator MK I ([this * 10]%)
  206. desc:Makes <b>[thingb1:ps]</b> things every second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b1AmountMult * b1) * 100)]%</b><.>Multiplier from MK II - <b>[(b1GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b1AchievMult * 100)]%</b>
  207. on tick:yield (10 * b1AmountMult * b1GenMult * b1AchievMult * Sboost *(Pboost / 100)) thing
  208. on tick:yield (10 * b1AmountMult * b1GenMult * b1AchievMult * Sboost *(Pboost / 100)) thingb1
  209. on earn:b1AmountMult is (b1AmountMult * 2)
  210. limit:10
  211. cost:100 thing
  212. cost increase:10000%
  213.  
  214. *b2
  215. name:Thing Generator MK II
  216. text:Thing Generator MK II ([this * 10]%)
  217. desc:Multplies production of MK I by <b>[((b1GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b2AmountMult * b2) * 100)]%</b><.>Multiplier from MK III - <b>[(b2GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b2AchievMult * 100)]%</b>
  218. on tick:yield (0.1 * b2AmountMult * b2GenMult * b2AchievMult * (Pboost / 100)) b1GenMult
  219. on earn:b2AmountMult is (b2AmountMult * 2)
  220. limit:10
  221. cost:1000 thing
  222. cost increase:10000%
  223. req:1 b1
  224.  
  225. *b3
  226. name:Thing Generator MK III
  227. text:Thing Generator MK III ([this * 10]%)
  228. desc:Multplies production of MK II by <b>[((b2GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b3AmountMult * b3) * 100)]%</b><.>Multiplier from MK IV - <b>[(b3GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b3AchievMult * 100)]%</b>
  229. on tick:yield (0.1 * b3AmountMult * b3GenMult * b3AchievMult * (Pboost / 100)) b2GenMult
  230. on earn:b3AmountMult is (b3AmountMult * 2)
  231. limit:10
  232. cost:100000 thing
  233. cost increase:100000%
  234. req:1 b2
  235.  
  236. *b4
  237. name:Thing Generator MK IV
  238. text:Thing Generator MK IV ([this * 10]%)
  239. desc:Multplies production of MK III by <b>[((b3GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b4AmountMult * b4) * 100)]%</b><.>Multiplier from MK V - <b>[(b4GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b4AchievMult * 100)]%</b>
  240. on tick:yield (0.1 * b4AmountMult * b4GenMult * b4AchievMult * (Pboost / 100)) b3GenMult
  241. on earn:b4AmountMult is (b4AmountMult * 2)
  242. limit:10
  243. cost:10000000 thing
  244. cost increase:1000000%
  245. req:1 b3
  246.  
  247. *b5
  248. name:Thing Generator MK V
  249. text:Thing Generator MK V ([this * 10]%)
  250. desc:Multplies production of MK IV by <b>[((b4GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b5AmountMult * b5) * 100)]%</b><.>Multiplier from MK VI - <b>[(b5GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b5AchievMult * 100)]%</b>
  251. on tick:yield (0.1 * b5AmountMult * b5GenMult * b5AchievMult * (Pboost / 100)) b4GenMult
  252. on earn:b5AmountMult is (b5AmountMult * 2)
  253. limit:10
  254. cost:10000000000 thing
  255. cost increase:10000000%
  256. req:(b4 >= 1 and productionSacrifice >= 1)
  257.  
  258. *b6
  259. name:Thing Generator MK VI
  260. text:Thing Generator MK VI ([this * 10]%)
  261. desc:Multplies production of MK V by <b>[((b5GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b6AmountMult * b6) * 100)]%</b><.>Multiplier from MK VII - <b>[(b6GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b6AchievMult * 100)]%</b>
  262. on tick:yield (0.1 * b6AmountMult * b6GenMult * b6AchievMult * (Pboost / 100)) b5GenMult
  263. on earn:b6AmountMult is (b6AmountMult * 2)
  264. limit:10
  265. cost:10000000000000 thing
  266. cost increase:10000000%
  267. req:(b5 >= 1 and productionSacrifice >= 2)
  268.  
  269. *b7
  270. name:Thing Generator MK VII
  271. text:Thing Generator MK VII ([this * 10]%)
  272. desc:Multplies production of MK VI by <b>[((b6GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b7AmountMult * b7) * 100)]%</b><.>Multiplier from MK VIII - <b>[(b7GenMult * 100)]%</b><.>Multiplier from achievements - <b>[(b7AchievMult * 100)]%</b>
  273. on tick:yield (0.1 * b7AmountMult * b7GenMult * b7AchievMult * (Pboost / 100)) b6GenMult
  274. on earn:b7AmountMult is (b7AmountMult * 2)
  275. limit:10
  276. cost:10000000000000000 thing
  277. cost increase:10000000%
  278. req:(b6 >= 1 and productionSacrifice >= 3)
  279.  
  280. *b8
  281. name:Thing Generator MK VIII
  282. text:Thing Generator MK VIII ([this * 10]%)
  283. desc:Multplies production of MK VII by <b>[((b7GenMult:ps) * 100)]%</b> each second.<//><b>Effects:</b><.>Multiplier from amount bought - <b>[((b8AmountMult * b8) * 100)]%</b><.>Multiplier from achievements - <b>[(b8AchievMult * 100)]%</b>
  284. on tick:yield (0.1 * b8AmountMult * b8AchievMult * (Pboost / 100)) b7GenMult
  285. on earn:b8AmountMult is (b8AmountMult * 2)
  286. limit:10
  287. cost:10000000000000000000 thing
  288. cost increase:10000000%
  289. req:(b7 >= 1 and productionSacrifice >= 4)
  290.  
  291.  
  292. *TEMPLATE
  293. tag:repUpgrades
  294.  
  295. *productionBoost
  296. name:Production Boost
  297. desc:Multiplies the production of normal generators.<//>Note: changing the multplier per upgrade only affects after a reset.<//><b>Effect:</b><.>Multiplier per upgrade - <b>[PboostPerUp]%</b><.>Current Multiplier - <b>[Pboost]%</b>
  298. on earn:Pboost is (Pboost * ((PboostPerUp / 100) + 1))
  299. cost:100 thing
  300. cost increase:1000%
  301. req:(b1 >= 1 or thebeginning = 1)
  302. tag:repUpgrades
  303.  
  304. *productionSacrifice
  305. name:Production Sacrifice
  306. desc:Lose all generators and things for a Generator MKI boost and a new generator.<//><b>Effect:</b><.>Current multiplier - <b>[(Sboost * 100)]%</b><.>Current multiplier per sacrifice - <b>[(SboostPerUp * 100)]%</b>
  307. on earn:
  308. Sboost is (Sboost * SboostPerUp)
  309. lose tag:normalbuildings
  310. lose things
  311. lose productionBoost
  312. b1AmountMult is 1
  313. b2AmountMult is 1
  314. b3AmountMult is 1
  315. b4AmountMult is 1
  316. b5AmountMult is 1
  317. b6AmountMult is 1
  318. b7AmountMult is 1
  319. b8AmountMult is 1
  320. b1GenMult is 1
  321. b2GenMult is 1
  322. b3GenMult is 1
  323. b4GenMult is 1
  324. b5GenMult is 1
  325. b6GenMult is 1
  326. b7GenMult is 1
  327. Pboost is 100
  328. things is (startingThings)
  329. end
  330. cost:100000000 things
  331. cost increase:100000%
  332. req:(productionBoost >= 1 or sacrifice1 = 1)
  333. tag:repUpgrades
  334.  
  335. //*debug
  336. //on earn:yield 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 things
  337.  
  338. //*debug2
  339. // on earn:yield (things * 10) things
  340.  
  341. *overcharge
  342. name:Overcharge
  343. desc:Lose all current progress for a charge point. Reach 100% power in Generetor MK VIII.<//><b>Effect:</b><.>Points per Overcharge - <b>[chargePerUp]</b><.>Total Overcharges - <b>[totalCharge]</b><.>Total Overcharge Points - <b>[totalChargePoints]</b>
  344. class:chargeButton
  345. cost:10 b8
  346. cost increase:100%
  347. req:(productionSacrifice >= 5 or overcharge1 = 1)
  348. on earn:
  349. yield ((1/this) * chargePerUp) chargePoints
  350. yield ((1/this) * chargePerUp) totalChargePoints
  351. yield (1/this) totalCharge
  352. lose things
  353. lose tag:normalbuildings
  354. lose productionBoost
  355. lose productionSacrifice
  356. b1AmountMult is 1
  357. b2AmountMult is 1
  358. b3AmountMult is 1
  359. b4AmountMult is 1
  360. b5AmountMult is 1
  361. b6AmountMult is 1
  362. b7AmountMult is 1
  363. b8AmountMult is 1
  364. b1GenMult is 1
  365. b2GenMult is 1
  366. b3GenMult is 1
  367. b4GenMult is 1
  368. b5GenMult is 1
  369. b6GenMult is 1
  370. b7GenMult is 1
  371. Pboost is 100
  372. Sboost is 1
  373. things is (startingThings)
  374. end
  375. tag:repUpgrades
  376.  
  377. Upgrades
  378.  
  379. *charge1
  380. name:Charge Multiplier
  381. desc:Multiplies the production of normal generators by how many overcharges you did.<//><b>Effect:</b><.>Current Multiplier - <b>[(((totalCharge * 0.2) +2) * 100)]%</b>
  382. passive:multiply yield of tag:normalbuildings by ((totalCharge * 0.2) +2)
  383. req:overcharge >= 1
  384. cost:1 chargePoints
  385. class:chargeUp
  386.  
  387. *charge2
  388. name:Time Multiplier
  389. desc:Multiplies the production of normal generators based on how long you played.<//><b>Effect:</b><.>Current Time - <b>[timePlayed] seconds</b><.>Current Multiplier <b> - [(pow(timePlayed , 0.15) * 100)]%<b>
  390. passive:multiply yield of tag:normalbuildings by pow(timePlayed , 0.15)
  391. req:overcharge >= 1
  392. cost:1 chargePoints
  393. class:chargeUp
  394.  
  395. *charge3
  396. name:Production Boost Multplier
  397. desc:Multiplies the production of the 1st generator based on production boosts you bought.<//><b>Effect:</b><.>Multiplier per production boost - <b>10%</b><.>Current Multiplier <b> - [(((productionBoost * 0.1) * 100) + 100)]%<b>
  398. passive:multiply yield of b1 by ((productionBoost * 0.1) + 1)
  399. req:overcharge >= 1
  400. cost:1 chargePoints
  401. class:chargeUp
  402.  
  403.  
  404. Achievements
  405.  
  406. *TEMPLATE
  407. class:achiev
  408.  
  409. *thebeginning
  410. name:The Beginning
  411. desc:Buy the <b>1st Generator</b>.<//>-----<//><b>(Spoilers) Small guide:</b><.>Sacrifice 10 times.<.>Get production boost over 10000% for a achievement that boosts that upgrade.<.>Then sacrifice once more and overcharge.<//>-----<//>If you somehow start the game with 0 things jsut click this 10 times (plz dont abuse).
  412. on tick:yield 1 timePlayed
  413. on click:yield 10 things
  414. req:b1 >= 1
  415.  
  416. *nottheend
  417. name:Not the End
  418. desc:Buy the <b>4th Generator</b>.
  419. req:b4 >= 1
  420.  
  421. *allthethings
  422. name:All the Things
  423. desc:Buy <b>all</b> the generators.<//><b>Effect:</b><.>Generator MK I production multiplier - <b>x 1.1</b>
  424. req:b1 >= 10
  425. on earn:
  426. b1AchievMult is (b1AchievMult * 1.1)
  427. b2AchievMult is (b2AchievMult * 1.1)
  428. b3AchievMult is (b3AchievMult * 1.1)
  429. b4AchievMult is (b4AchievMult * 1.1)
  430. b5AchievMult is (b5AchievMult * 1.1)
  431. b6AchievMult is (b6AchievMult * 1.1)
  432. b7AchievMult is (b7AchievMult * 1.1)
  433. b8AchievMult is (b8AchievMult * 1.1)
  434. end
  435.  
  436. *boost1
  437. name:Boosted
  438. desc:Have a production boost bigger than <b>150%</b>.
  439. req:Pboost >= 150
  440.  
  441. *boost2
  442. name:Boosted Boost
  443. desc:Have a production boost bigger than <b>750%</b>.
  444. req:Pboost >= 750
  445.  
  446. *boost3
  447. name:Boosted Boost Boosters
  448. desc:Have a production boost bigger than <b>10000%</b>.<//><b>Effect:</b><.>Production boost multiplier per upgrade - <b>+2%</b>
  449. req:Pboost >= 10000
  450. on earn:PboostPerUp is (PboostPerUp + 2)
  451.  
  452. *sacrifice1
  453. name:Sacrificial
  454. desc:Sacrifice for the <b>first</b> time.
  455. req:productionSacrifice >= 1
  456.  
  457. *sacrifice2
  458. name:Big Price
  459. desc:Sacrifice <b>5</b> times.
  460. req:productionSacrifice >= 5
  461.  
  462. *fullpower
  463. name:Full Power
  464. desc:Upgrade the <b>1st Generator</b> up to <b>100%</b> power.<//><b>Effect:</b><.>Generator MK I production multiplier - <b>x 1.1</b>
  465. req:b1 >= 10
  466. on earn:b1AchievMult is (b1AchievMult * 1.1)
  467.  
  468. *overcharge1
  469. name:Charged
  470. desc:Overcharge for the <b>first</b> time.<//><b>Effect:</b><.>Start with <b>1000</b> things each reset.
  471. req:totalCharge >= 1
  472. on earn:startingThings is 1000
  473.  
  474. *overcharge2
  475. name:Full bateries
  476. desc:Overcharge <b>10</b> times.
  477. req:totalCharge >= 10
  478.  
  479. *time1
  480. name:Timeless
  481. desc:Play for <b>1 hour</b>.
  482. req:timePlayed >= 3600
  483.  
  484. Layout
  485. *main
  486. contains:res, buttons
  487. *res
  488. contains:Resources, Achievements
  489. class:fullWidth
  490. *buttons
  491. contains:Buttons
  492. *store
  493. contains:buildings, upgrades
  494. *buildings
  495. contains:Buildings
  496. header:<b>Buildings</b>
  497. tooltip origin:left
  498. *upgrades
  499. contains:tag:repUpgrades, Upgrades
  500. header:Upgrades
  501. costs:hide
  502. names:hide
Add Comment
Please, Sign In to add comment