strawberry correct name

This commit is contained in:
Aliaksei Brown 2023-06-18 02:06:38 +02:00
parent ea24f48acc
commit 5cfb8fdc21
3 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ class PlantsSettings:
self.block = plant.Plant(
i, name, 0, self.wheat_dead_image, self.wheat_image, rand_x, rand_y, False
)
if name == 'strawberrie':
if name == 'strawberry':
self.block = plant.Plant(
i, name, 1, self.strawberrie_image, self.strawberrie_image, rand_x, rand_y, False
)

View File

@ -47,10 +47,10 @@ class Game:
# self.Plants.locate_plant(self.plant_list, 'bush', self.blocks_number)
#fruits_list
self.Plants.locate_fruit(self.fruits_list, 'apple', self.blocks_number)
self.Plants.locate_fruit(self.fruits_list, 'banana', self.blocks_number)
self.Plants.locate_fruit(self.fruits_list, 'strawberry', self.blocks_number)
self.Plants.locate_fruit(self.fruits_list, 'grapes', self.blocks_number)
self.Plants.locate_fruit(self.fruits_list, 'apple', self.blocks_number-5)
self.Plants.locate_fruit(self.fruits_list, 'banana', self.blocks_number-5)
self.Plants.locate_fruit(self.fruits_list, 'strawberry', self.blocks_number-5)
self.Plants.locate_fruit(self.fruits_list, 'grapes', self.blocks_number-5)
self.Plants.locate_fruit(self.plant_list, 'wheat', self.blocks_number)