Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Human Era: Through the Time
- by:Sleepground
- updated:20.11.17
- desc:This is a game created by Random Idle Game Maker
- created:20.09.11
- version:2
- /*
- Play this game at:
- orteil.dashnet.org/igm/?g=nUGe3RQZ
- */
- Settings
- background:stuff/meadow.jpg
- building cost increase:115%
- building cost refund:50%
- stylesheet:https://pastebin.com/tNkLQXRf
- Layout
- *main
- contains:res, buttons
- *res
- contains:Resources
- *buttons
- contains:Buttons
- *store
- contains:buildings, upgrades
- *buildings
- contains:Buildings
- header:Buildings
- tooltip origin:left
- *upgrades
- contains:techs, war
- *techs
- contains:Upgrades
- header:Technologies
- costs:show
- names:hide
- *war
- contains:tag:military
- header:Military Actions
- Buttons
- *MainButton
- name:Gather Food
- class:bigButton hasFlares
- desc:Click this button to get Food
- on click:yield 1 food
- icon class:shadowed
- *Recruit
- name:Increase Population
- desc:Click this button to spend [foodcost] food to increase Population
- on click:
- if (food>=foodcost)
- lose (foodcost) food
- foodcost is foodcost*1.1
- yield 1 Pop
- yield 1 totalPop
- end
- end
- icon class:shadowed
- Resources
- *food
- name:Food
- class:noBackground
- *foodcost
- name:Food Cost
- start with:20
- class:noBackground
- *material
- name:Materials
- class:noBackground
- *science
- name:Science
- class:noBackground
- *Pop
- name:Unemployed
- class:noBackground
- *totalPop
- name:Population
- class:noBackground
- *military
- name:Military
- class:noBackground
- *gold
- name:Gold
- class:noBackground
- Buildings
- *TEMPLATE
- on click:anim glow
- *buildingA
- name:Hunter-gatherer
- cost:1 Pop
- on tick:yield 1 food
- cost increase:100%
- cost refund:100%
- desc:Produces [?(have upg14)|1.4|1] Food per second.
- *buildingC
- name:Farmer
- cost:1 Pop, 50 material
- on tick:yield 2 food
- cost increase:100%
- cost refund:100%
- desc:Produces [?(have upg202)|2.6|2] Food per second.
- req:have upg19
- *buildingB
- name:Lumberjack
- cost:1 Pop
- on tick:
- yield 1 material
- lose 1 food
- end
- cost increase:100%
- cost refund:100%
- desc:Produces [?(have upg15)|1.25|1] Material per second.</>Eats 1 Food per second.
- req:have upg12
- *buildingD
- name:Miner
- cost:1 Pop, 50 material
- on tick:
- yield 2 material
- lose 1.5 food
- end
- cost increase:100%
- cost refund:100%
- desc:Produces [?(have upg204)|3|2] Material per second.</>Eats 1.5 Food per second.
- req:have upg18
- *buildingE
- name:Mystic
- cost:1 Pop, 50 material
- on tick:
- yield 1 science
- lose 1 food
- end
- cost increase:100%
- cost refund:100%
- desc:Produces 1 Science per second.</>Eats 1 Food per second.
- req:have upg13
- *buildingF
- name:Merchant
- cost:1 Pop, 100 material
- on tick:
- yield 1 gold
- lose 1.5 food
- end
- cost increase:100%
- cost refund:100%
- desc:Produces 1 Gold per second.</>Eats 1.5 Food per second.
- req:have upg205
- *building1
- name:Farm
- cost:250 material
- on tick:yield 3 food
- desc:Produces [?(have upg201)|4|3] Food per second.
- req:have upg19
- *building2
- name:Mine
- cost:350 material
- on tick:yield 3 material
- desc:Produces 3 Material per second.
- req:have upg18
- *building3
- name:Barracks
- cost:450 material
- on tick:yield 1 military
- desc:Produces 1 Military per second.
- req:have upg20
- *building4
- name:Library
- cost:1000 material, 200 science
- on tick:yield 2 science
- desc:Produces 2 Science per second.
- req:have upg203
- *building5
- name:Corral
- cost:500 material, 500 food
- on tick:yield 6 food
- desc:Produces 6 Food per second.
- req:have upg207
- *wonder1
- name:Monument
- cost:40 material
- cost increase:100%
- desc:Stone Age completes when you complete the Monument.</>The monument is currently [this]% completed.
- limit:100
- req:have upg21
- *wonder2
- name:Pyramids
- cost:150 material, 10 gold
- cost increase:100%
- desc:Copper Age completes when you complete the Pyramid.</>The Pyramid is currently [this]% completed.
- limit:100
- req:have upg210
- Upgrades
- *TEMPLATE
- on click:anim glow
- *upg11
- name:Cave Dwelling
- cost:15 food
- desc:People found a shelter to protect themselves from harsh weather.
- *upg12
- name:Stone Tools
- cost:35 food
- desc:People started using stone to manipulate the world around them.</>Unlocks Lumberjack.
- req:have upg11
- *upg13
- name:Fire
- cost:55 food, 24 material
- desc:People learned how to harness fire.</>Unlocks Mystic.
- req:have upg12
- *upg14
- name:Spears
- cost:65 food, 60 material
- desc:People invented the first weapon.</>Each Hunter-gatherer produces 40% more Food.
- passive:multiply food yield of buildingA by 1.4
- req:have upg12
- *upg15
- name:Adv. Stone Tools
- cost:75 food, 159 material
- desc:People invented new stone tools.</>Each Lumberjack produces 25% more Materials.
- passive:multiply material yield of buildingB by 1.25
- req:have upg12
- *upg16
- name:Clothing
- cost:150 food, 150 material, 100 science
- desc:People made primitive clothes to defend themselves.
- req:have upg15
- *upg17
- name:Tent
- cost:320 material, 100 science
- desc:Some people left the cave and paved the way towards settlements.
- req:have upg15
- req:have upg13
- *upg18
- name:Mining
- cost:540 material
- desc:People learned the value of underground resources and began looking for them.</>Unlocks Mine and Miner.
- req:have upg15
- *upg19
- name:Agriculture
- cost:600 food, 600 material, 150 science
- desc:People learned how to cultivate plants.</>Unlocks Farm and Farmer.
- req:have upg17
- req:have upg18
- *upg20
- name:Archery
- cost:150 science
- desc:People invented a ranged weapon.</>Unlocks Barracks.
- req:have upg14
- *upg21
- name:Monument
- cost:250 science
- desc:Plan the construction of the Monument.
- req:have upg19
- req:have upg20
- req:have upg16
- *upg200
- name:Copper Age
- desc:You are now in Copper Age.
- req:100 wonder1
- *upg201
- name:Pottery
- cost:600 science, 1250 material, 1250 food
- desc:People designed a way to store food efficiently.</>Farm produces 1 more Food.
- passive:increase yield of building1 by 1
- req:have upg200
- *upg202
- name:Livestock
- cost:2000 food
- desc:People domesticated animals for the first time.</>Farmer produces 30% more food.
- passive:multiply yield of buildingC by 1.3
- req:have upg200
- *upg203
- name:Writing
- cost:1000 science
- desc:People processes first written information.</>Unlocks Library.
- req:have upg200
- *upg204
- name:Copper Working
- cost:750 science, 1500 material
- desc:People extracts the first metal.</>Miners produce 50% more Materials.
- passive:multiply yield of buildingD by 1.5
- req:have upg200
- *upg205
- name:Trade
- cost:1300 science, 500 food
- desc:People conducts the first trade.</>Unlocks Merchant.
- req:have upg201
- req:have upg203
- *upg206
- name:Armies
- cost:1300 science, 500 food, 300 military
- desc:Squad grows into a full army.</>Barrack produces 0.5 more Military.
- passive:increase yield of building3 by 0.5
- req:have upg203
- *upg207
- name:Cattle Breeding
- cost:600 science, 2500 food, 1000 material
- desc:Cattle is domesticated.</>Unlocks Corral.
- req:have upg202
- *upg208
- name:War
- cost:200 gold, 400 military, 2000 material
- desc:War starts to break out between nations.</>Unlocks Military Actions.
- req:have upg205
- req:have upg206
- *upg209
- name:Wheel
- cost:4725 material
- desc:People discovered a way to transport things easily.
- req:have upg207
- req:have upg206
- req:have upg204
- *upg210
- name:Pyramids
- cost:1200 science
- desc:Plan the construction of The Pyramids.
- req:have upg208
- req:have upg209
- *war1
- name:Raid Western Barbarian Camp
- cost:300 military
- desc:They are not so skilled at combat.
- req:have upg208
- on earn:
- yield 684 food
- yield 983 material
- yield 99 gold
- toast Victory! looted: 684 Food, 983 Materials, 99 Gold
- hide this
- end
Add Comment
Please, Sign In to add comment