画饼
This commit is contained in:
parent
56c7c10ae6
commit
c97ef49a8c
@ -201,3 +201,7 @@ PLAY = 'play'
|
||||
#BACKGROUND
|
||||
BACKGROUND_DAY = 0
|
||||
BACKGROUND_NIGHT = 1
|
||||
BACKGROUND_POOL = 2
|
||||
BACKGROUND_FOOGY = 3
|
||||
BACKGROUND_ROOF = 4
|
||||
BACKGROUND_ROOFNIGHT = 5
|
||||
@ -180,7 +180,8 @@ class Level(tool.State):
|
||||
|
||||
self.hint_image = None
|
||||
self.hint_plant = False
|
||||
if self.background_type == c.BACKGROUND_DAY and self.bar_type == c.CHOOSEBAR_STATIC:
|
||||
# 0:白天 1:夜晚 2:泳池 3:浓雾 4:屋顶 5:月夜
|
||||
if self.background_type in {0, 2, 4} and self.bar_type == c.CHOOSEBAR_STATIC:
|
||||
self.produce_sun = True
|
||||
else:
|
||||
self.produce_sun = False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user