Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits) (+1)

here is a python script for calculating the number of masons you need based on how many peasants you have

def calc_mason(num_mason):
 lumber = 22 * num_mason
 stone = 5 * num_mason
 clay = 10 * num_mason
 hunter = 7 * num_mason
 coal = 2 * num_mason
 torch = 2 * num_mason
 explore = 2 * num_mason
 print(
 f"lumber {lumber}\n stone {stone}\n clay_digger {clay} \n clay baker {clay}\n hunter {hunter} \n coal {coal} \n torch {torch} \n explore {explore}\n\n"
 )
def calc_num_mason():
 num_peasant = int(input())
 num_mason = num_peasant // 61
 print(f"num mason {num_mason}")
 calc_mason(num_mason)
calc_num_mason()