testing buildings in develop
This commit is contained in:
parent
f5f694df3e
commit
0a8934c974
10
main.py
10
main.py
@ -270,13 +270,11 @@ def something_needs_attention():
|
|||||||
|
|
||||||
def develop_society():
|
def develop_society():
|
||||||
state = game_layer.game_state
|
state = game_layer.game_state
|
||||||
if len(game_layer.game_state.residences) < 4:
|
if len(state.residences) < 5:
|
||||||
build("Apartments")
|
build("Apartments")
|
||||||
elif len(game_layer.game_state.utilities) <1:
|
elif len(state.utilities) < 1:
|
||||||
game_layer.place_foundation((3,6), "WindTurbine")
|
build("WindTurbine")
|
||||||
elif (state.utilities[0].build_progress < 100):
|
elif state.funds > 25000 and len(game_layer.game_state.residences) < 11:
|
||||||
game_layer.build((3,6))
|
|
||||||
elif state.funds > 25000 and len(game_layer.game_state.residences) < 7:
|
|
||||||
build("HighRise")
|
build("HighRise")
|
||||||
else:
|
else:
|
||||||
game_layer.wait()
|
game_layer.wait()
|
||||||
|
Reference in New Issue
Block a user