diff --git a/README.md b/README.md index 78be88d..96c55af 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,6 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir ## 已知bug 以下问题囿于个人目前的能力与精力,没有修复: -* 冒险模式与小游戏关卡序号共用 * 所有关卡完成后无法再玩 * 植物刚刚种植会立刻攻击,而非像原版一样有间歇时间 * 冷冻的僵尸未用蓝色滤镜标识 diff --git a/resources/data/map/littleGame_2.json b/resources/data/map/littleGame_2.json index c5ae769..9f2e217 100644 --- a/resources/data/map/littleGame_2.json +++ b/resources/data/map/littleGame_2.json @@ -1,5 +1,5 @@ { - "background_type":4, + "background_type":6, "choosebar_type":2, "shovel":0, "card_pool":[ diff --git a/resources/graphics/Items/Background/Background_4.jpg b/resources/graphics/Items/Background/Background_4.jpg index d4743ad..2a15fe6 100644 Binary files a/resources/graphics/Items/Background/Background_4.jpg and b/resources/graphics/Items/Background/Background_4.jpg differ diff --git a/resources/graphics/Items/Background/Background_6.jpg b/resources/graphics/Items/Background/Background_6.jpg new file mode 100644 index 0000000..d4743ad Binary files /dev/null and b/resources/graphics/Items/Background/Background_6.jpg differ diff --git a/source/state/level.py b/source/state/level.py index ded3b03..9eb3aa4 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -179,8 +179,9 @@ class Level(tool.State): self.hint_image = None self.hint_plant = False - # 0:白天 1:夜晚 2:泳池 3:浓雾 4:屋顶 5:月夜 - if self.background_type in {0, 2, 4} and self.bar_type == c.CHOOSEBAR_STATIC: + # 0:白天 1:夜晚 2:泳池 3:浓雾 4:屋顶 5:月夜 6:坚果保龄球 + # 还准备加入 -1:单行草皮 -2:三行草皮 但是目前没有找到图( + if self.background_type in {0, 2, 4, -1, -2} and self.bar_type == c.CHOOSEBAR_STATIC: self.produce_sun = True else: self.produce_sun = False