Simanalix343

Human Era with STYLE

Nov 19th, 2020 (edited)
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.23 KB | None | 0 0
  1. Let's make a game!
  2. name:Human Era: Through the Time
  3. by:Sleepground
  4. updated:20.11.17
  5. desc:This is a game created by Random Idle Game Maker
  6. created:20.09.11
  7. version:2
  8. /*
  9. Play this game at:
  10. orteil.dashnet.org/igm/?g=nUGe3RQZ
  11. */
  12. Settings
  13. background:stuff/meadow.jpg
  14. building cost increase:115%
  15. building cost refund:50%
  16. stylesheet:https://pastebin.com/tNkLQXRf
  17. Layout
  18. *main
  19. contains:res, buttons
  20. *res
  21. contains:Resources
  22. *buttons
  23. contains:Buttons
  24. *store
  25. contains:buildings, upgrades
  26. *buildings
  27. contains:Buildings
  28. header:Buildings
  29. tooltip origin:left
  30. *upgrades
  31. contains:techs, war
  32. *techs
  33. contains:Upgrades
  34. header:Technologies
  35. costs:show
  36. names:hide
  37. *war
  38. contains:tag:military
  39. header:Military Actions
  40.  
  41. Buttons
  42. *MainButton
  43. name:Gather Food
  44. class:bigButton hasFlares
  45. desc:Click this button to get Food
  46. on click:yield 1 food
  47. icon class:shadowed
  48. *Recruit
  49. name:Increase Population
  50. desc:Click this button to spend [foodcost] food to increase Population
  51. on click:
  52. if (food>=foodcost)
  53. lose (foodcost) food
  54. foodcost is foodcost*1.1
  55. yield 1 Pop
  56. yield 1 totalPop
  57. end
  58. end
  59. icon class:shadowed
  60.  
  61. Resources
  62. *food
  63. name:Food
  64. class:noBackground
  65.  
  66. *foodcost
  67. name:Food Cost
  68. start with:20
  69. class:noBackground
  70.  
  71. *material
  72. name:Materials
  73. class:noBackground
  74.  
  75. *science
  76. name:Science
  77. class:noBackground
  78.  
  79. *Pop
  80. name:Unemployed
  81. class:noBackground
  82.  
  83. *totalPop
  84. name:Population
  85. class:noBackground
  86.  
  87. *military
  88. name:Military
  89. class:noBackground
  90.  
  91. *gold
  92. name:Gold
  93. class:noBackground
  94.  
  95. Buildings
  96. *TEMPLATE
  97. on click:anim glow
  98. *buildingA
  99. name:Hunter-gatherer
  100. cost:1 Pop
  101. on tick:yield 1 food
  102. cost increase:100%
  103. cost refund:100%
  104. desc:Produces [?(have upg14)|1.4|1] Food per second.
  105.  
  106. *buildingC
  107. name:Farmer
  108. cost:1 Pop, 50 material
  109. on tick:yield 2 food
  110. cost increase:100%
  111. cost refund:100%
  112. desc:Produces [?(have upg202)|2.6|2] Food per second.
  113. req:have upg19
  114.  
  115. *buildingB
  116. name:Lumberjack
  117. cost:1 Pop
  118. on tick:
  119. yield 1 material
  120. lose 1 food
  121. end
  122. cost increase:100%
  123. cost refund:100%
  124. desc:Produces [?(have upg15)|1.25|1] Material per second.</>Eats 1 Food per second.
  125. req:have upg12
  126.  
  127. *buildingD
  128. name:Miner
  129. cost:1 Pop, 50 material
  130. on tick:
  131. yield 2 material
  132. lose 1.5 food
  133. end
  134. cost increase:100%
  135. cost refund:100%
  136. desc:Produces [?(have upg204)|3|2] Material per second.</>Eats 1.5 Food per second.
  137. req:have upg18
  138.  
  139. *buildingE
  140. name:Mystic
  141. cost:1 Pop, 50 material
  142. on tick:
  143. yield 1 science
  144. lose 1 food
  145. end
  146. cost increase:100%
  147. cost refund:100%
  148. desc:Produces 1 Science per second.</>Eats 1 Food per second.
  149. req:have upg13
  150.  
  151. *buildingF
  152. name:Merchant
  153. cost:1 Pop, 100 material
  154. on tick:
  155. yield 1 gold
  156. lose 1.5 food
  157. end
  158. cost increase:100%
  159. cost refund:100%
  160. desc:Produces 1 Gold per second.</>Eats 1.5 Food per second.
  161. req:have upg205
  162.  
  163. *building1
  164. name:Farm
  165. cost:250 material
  166. on tick:yield 3 food
  167. desc:Produces [?(have upg201)|4|3] Food per second.
  168. req:have upg19
  169.  
  170. *building2
  171. name:Mine
  172. cost:350 material
  173. on tick:yield 3 material
  174. desc:Produces 3 Material per second.
  175. req:have upg18
  176.  
  177. *building3
  178. name:Barracks
  179. cost:450 material
  180. on tick:yield 1 military
  181. desc:Produces 1 Military per second.
  182. req:have upg20
  183.  
  184. *building4
  185. name:Library
  186. cost:1000 material, 200 science
  187. on tick:yield 2 science
  188. desc:Produces 2 Science per second.
  189. req:have upg203
  190.  
  191. *building5
  192. name:Corral
  193. cost:500 material, 500 food
  194. on tick:yield 6 food
  195. desc:Produces 6 Food per second.
  196. req:have upg207
  197.  
  198. *wonder1
  199. name:Monument
  200. cost:40 material
  201. cost increase:100%
  202. desc:Stone Age completes when you complete the Monument.</>The monument is currently [this]% completed.
  203. limit:100
  204. req:have upg21
  205.  
  206. *wonder2
  207. name:Pyramids
  208. cost:150 material, 10 gold
  209. cost increase:100%
  210. desc:Copper Age completes when you complete the Pyramid.</>The Pyramid is currently [this]% completed.
  211. limit:100
  212. req:have upg210
  213.  
  214. Upgrades
  215. *TEMPLATE
  216. on click:anim glow
  217.  
  218. *upg11
  219. name:Cave Dwelling
  220. cost:15 food
  221. desc:People found a shelter to protect themselves from harsh weather.
  222.  
  223. *upg12
  224. name:Stone Tools
  225. cost:35 food
  226. desc:People started using stone to manipulate the world around them.</>Unlocks Lumberjack.
  227. req:have upg11
  228.  
  229. *upg13
  230. name:Fire
  231. cost:55 food, 24 material
  232. desc:People learned how to harness fire.</>Unlocks Mystic.
  233. req:have upg12
  234.  
  235. *upg14
  236. name:Spears
  237. cost:65 food, 60 material
  238. desc:People invented the first weapon.</>Each Hunter-gatherer produces 40% more Food.
  239. passive:multiply food yield of buildingA by 1.4
  240. req:have upg12
  241.  
  242. *upg15
  243. name:Adv. Stone Tools
  244. cost:75 food, 159 material
  245. desc:People invented new stone tools.</>Each Lumberjack produces 25% more Materials.
  246. passive:multiply material yield of buildingB by 1.25
  247. req:have upg12
  248.  
  249. *upg16
  250. name:Clothing
  251. cost:150 food, 150 material, 100 science
  252. desc:People made primitive clothes to defend themselves.
  253. req:have upg15
  254.  
  255. *upg17
  256. name:Tent
  257. cost:320 material, 100 science
  258. desc:Some people left the cave and paved the way towards settlements.
  259. req:have upg15
  260. req:have upg13
  261.  
  262. *upg18
  263. name:Mining
  264. cost:540 material
  265. desc:People learned the value of underground resources and began looking for them.</>Unlocks Mine and Miner.
  266. req:have upg15
  267.  
  268. *upg19
  269. name:Agriculture
  270. cost:600 food, 600 material, 150 science
  271. desc:People learned how to cultivate plants.</>Unlocks Farm and Farmer.
  272. req:have upg17
  273. req:have upg18
  274.  
  275. *upg20
  276. name:Archery
  277. cost:150 science
  278. desc:People invented a ranged weapon.</>Unlocks Barracks.
  279. req:have upg14
  280.  
  281. *upg21
  282. name:Monument
  283. cost:250 science
  284. desc:Plan the construction of the Monument.
  285. req:have upg19
  286. req:have upg20
  287. req:have upg16
  288.  
  289. *upg200
  290. name:Copper Age
  291. desc:You are now in Copper Age.
  292. req:100 wonder1
  293.  
  294. *upg201
  295. name:Pottery
  296. cost:600 science, 1250 material, 1250 food
  297. desc:People designed a way to store food efficiently.</>Farm produces 1 more Food.
  298. passive:increase yield of building1 by 1
  299. req:have upg200
  300.  
  301. *upg202
  302. name:Livestock
  303. cost:2000 food
  304. desc:People domesticated animals for the first time.</>Farmer produces 30% more food.
  305. passive:multiply yield of buildingC by 1.3
  306. req:have upg200
  307.  
  308. *upg203
  309. name:Writing
  310. cost:1000 science
  311. desc:People processes first written information.</>Unlocks Library.
  312. req:have upg200
  313.  
  314. *upg204
  315. name:Copper Working
  316. cost:750 science, 1500 material
  317. desc:People extracts the first metal.</>Miners produce 50% more Materials.
  318. passive:multiply yield of buildingD by 1.5
  319. req:have upg200
  320.  
  321. *upg205
  322. name:Trade
  323. cost:1300 science, 500 food
  324. desc:People conducts the first trade.</>Unlocks Merchant.
  325. req:have upg201
  326. req:have upg203
  327.  
  328. *upg206
  329. name:Armies
  330. cost:1300 science, 500 food, 300 military
  331. desc:Squad grows into a full army.</>Barrack produces 0.5 more Military.
  332. passive:increase yield of building3 by 0.5
  333. req:have upg203
  334.  
  335. *upg207
  336. name:Cattle Breeding
  337. cost:600 science, 2500 food, 1000 material
  338. desc:Cattle is domesticated.</>Unlocks Corral.
  339. req:have upg202
  340.  
  341. *upg208
  342. name:War
  343. cost:200 gold, 400 military, 2000 material
  344. desc:War starts to break out between nations.</>Unlocks Military Actions.
  345. req:have upg205
  346. req:have upg206
  347.  
  348. *upg209
  349. name:Wheel
  350. cost:4725 material
  351. desc:People discovered a way to transport things easily.
  352. req:have upg207
  353. req:have upg206
  354. req:have upg204
  355.  
  356. *upg210
  357. name:Pyramids
  358. cost:1200 science
  359. desc:Plan the construction of The Pyramids.
  360. req:have upg208
  361. req:have upg209
  362.  
  363. *war1
  364. name:Raid Western Barbarian Camp
  365. cost:300 military
  366. desc:They are not so skilled at combat.
  367. req:have upg208
  368. on earn:
  369. yield 684 food
  370. yield 983 material
  371. yield 99 gold
  372. toast Victory! looted: 684 Food, 983 Materials, 99 Gold
  373. hide this
  374. end
  375.  
  376.  
  377.  
  378.  
  379.  
Add Comment
Please, Sign In to add comment