Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Evolution
- by:Sinthorion
- version:1
- Settings
- building cost increase:100%
- building cost refund:50%
- Layout
- use default
- *log
- in:main
- contains:Log
- Buttons
- Resources
- *human|humans|person|people|population
- name:Human|Humans
- desc:Unemployed people. Needed to perform various tasks.
- start with:10
- on start:gain 10 unemployed
- on earn:
- if ((humans:ps) == 1)
- log A new human is born!
- else
- log [(humans:ps)] new humans were born!
- end
- gain (humans:ps) unemployed
- end
- on lose:
- log A human has perished!
- if (unemployed>1)
- lose 1 unemployed
- else
- lose 1 worker
- end
- end
- on tick:
- $foodNeed = 0.1*people
- if ((0.1*people)>=food)
- log Food shortage! [10*((0.1*people)-food)]% chance of death
- lose chance(10*((0.1*people)-food)%) people
- end
- lose ($foodNeed) food
- // above doesn't seem to work
- lose (0.1*people) food
- if (humans < room and food > 0) yield chance((humans*0.3)%) human
- end
- *unemployed
- name:Unemployed
- desc:Unemployed people. Needed to perform various tasks.
- *worker|workers|employed
- name:Worker|Workers
- desc:Workers employed in various tasks.
- *knowledge
- name:Knowledge
- desc:Ideas for new inventions. Needed for research.
- *food
- name:Food
- desc:Various edibles. Consumed by the population. If food runs out, your people may die.
- start with:50
- *material|materials|wood|stone|stones
- name:Building material|Building materials
- desc:Wood and stone. Needed to build buildings.
- start with:50
- Shinies
- Buildings
- *room
- text:Living space : [5*huts]
- no buy
- is always:5*huts
- *hut|huts
- name:Primitive hut|Primitive huts
- desc:A simple building for your people to live in.
- cost:20 materials
- start with:2
- unlocked
- *logger
- name:Logging camp
- desc:Building for lumberjacks to produce wood
- cost:15 materials, 1 unemployed
- on earn:
- yield 1 worker
- end
- on lose:
- lose 1 worker
- yield 1 unemployed
- end
- on tick:yield 1 wood
- on tick:lose 1 food
- unlocked
- *farm
- name:Farm
- desc:Simple food producing building
- cost:10 materials, 2 unemployed
- on earn:
- yield 2 worker
- end
- on lose:
- lose 2 worker
- yield 2 unemployed
- end
- on tick:yield 2 food
- unlocked
- Upgrades
- Achievements
Advertisement
Add Comment
Please, Sign In to add comment