Skip to content

Commit

Permalink
Fix spawn book on chest #2
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyCode committed Apr 19, 2022
1 parent 2e8427c commit 7bd3c01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions generation/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def createSettlementData(area: list, village_model: Village, resources: Resource
# Per default, chosen color is white
loreMaker.fillSettlementDataWithColor(settlement_data, "white")

# settlement_data.structure_number_goal = 12
settlement_data.structure_number_goal = random.randint(25, 55)
settlement_data.structure_number_goal = 12
#settlement_data.structure_number_goal = random.randint(25, 55)

return settlement_data

Expand Down
2 changes: 1 addition & 1 deletion utils/book.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def createTextOfPresentationVillage(villageName: str, structuresNumber: int, str
text_village_presentation_book += f'{deadVillagersNumber} villagers have died since their arrival.\\\\n'
text_village_presentation_book += ('There are '
f'{structuresNumber} structures.\\\\n')
text_village_presentation_book += '---------------\\\\n\f'
text_village_presentation_book += '---------------\\\\n\f\\\\s'

for structure in structures:
text_village_presentation_book += f'Villagers built the {structure.name}.\\\\n'
Expand Down

0 comments on commit 7bd3c01

Please sign in to comment.