Merge pull request 'Add the office background.' (#25) from feature/task22_programming_office into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #25
This commit is contained in:
@@ -37,7 +37,8 @@ function Context.initial_data()
|
||||
game = {
|
||||
current_screen = "home",
|
||||
current_situation = nil,
|
||||
}
|
||||
},
|
||||
day_count = 1,
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@ function Meter.update()
|
||||
end
|
||||
m.timer_progress = m.timer_progress + (1 / meter_timer_duration)
|
||||
if m.timer_progress >= 1 then
|
||||
Day.increase()
|
||||
m.timer_progress = m.timer_progress - 1
|
||||
m.ism = math.max(0, m.ism - meter_timer_decay_per_revolution)
|
||||
m.wpm = math.max(0, m.wpm - meter_timer_decay_per_revolution)
|
||||
|
||||
@@ -12,3 +12,4 @@ Input = {}
|
||||
Sprite = {}
|
||||
Audio = {}
|
||||
Focus = {}
|
||||
Day = {}
|
||||
Reference in New Issue
Block a user