def get_trees(): gather_wood = Action.get_gather_wood_action() gather_food = Action.get_gather_food_action() hunt = Action.get_hunt_action() actions = [gather_wood, gather_food, hunt] wood = resource.Wood.create(count=2) wood2 = resource.Wood.create(count=10000) return Trees(name="Trees", type="Base", production=[wood], resources_available=[wood2], actions=actions)
def get_trees_dense(): gather_wood = Action.get_gather_wood_action() hunt = Action.get_hunt_action() actions = [gather_wood, hunt] wood = resource.Wood.create(count=3) wood2 = resource.Wood.create(count=100000) return Trees(name="Dense Trees", type="Base", production=[wood], resources_available=[wood2], actions=actions, available_building_names=["Lumberyard"])