-
Notifications
You must be signed in to change notification settings - Fork 0
formula:
food = (farms * 2) + markets consumed = (mines * 2) + houses scale = .5 + (mines * .5) buildspeed = houses - (farms + mines + markets) wealth = markets
if no conditions apply in an if-statement, continue the if-else adjacent tiles must be within height to be considered buildings take 5 + buildspeed cycles to build
when there are no constructions, do the following:
if consumed > food consider all tiles adjacent to farms: place a farm on the lowest tile or tiles if there are no farms or no empty adjacent tiles: consider all tiles adjacent to houses: are any of those empty tiles lower than at least one house? yes- place a farm on the lowest tile no- is there only one house? yes- place a house on the highest adjacent tile place a farm on the house tile no- replace the lowest house with a farm
else if consumed < food consider all tiles adjacent to houses: is one of them stone? yes- place a mine on the highest stone tile no- place a house on the highest tile if there are no tiles adjacent to houses and building a house + losing a farm won't cause consumed > food replace the highest farm with a house
else if a house has at least 3 different types of tiles around it replace first discovered house with a market