Removed some redundant code

- Change month and day within debug console
- Removed get_week() in SimData
This commit is contained in:
Tony Bark 2021-05-27 22:31:40 -04:00
parent 622eea364e
commit ae1b600928
3 changed files with 19 additions and 7 deletions

View file

@ -14,6 +14,7 @@ var month: int = 1
var prev_month: int
var day: int = 1
var prev_day: int
var last_total_days: int
var total_days: int = 1
var power_grid: int # Number of power stations in the area. Helps provide redundancies.
@ -79,9 +80,6 @@ enum Ordinances {
TIRE_RECYCLE
}
func get_week():
return (10 + total_days - day) / 7
#func starting_budget(lev = Level.EASY):
# match lev:
# Level.EASY: