mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 17:34:43 -04:00
Removed some redundant code
- Change month and day within debug console - Removed get_week() in SimData
This commit is contained in:
parent
622eea364e
commit
ae1b600928
3 changed files with 19 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue