boosted plant description
This commit is contained in:
parent
7d0e773b7a
commit
5e20d594b6
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
from cmath import sqrt
|
||||
|
||||
|
||||
screen_width=1200
|
||||
#screen_width=936
|
||||
# screen_width=1200
|
||||
screen_width=936
|
||||
# screen_height=1000
|
||||
screen_height=936
|
||||
SIZE = (screen_width, screen_height)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16
src/map.py
16
src/map.py
@ -73,15 +73,27 @@ def seedForFirstTime():
|
||||
# wzrost;wilgotnosc;dni_od_nawiezienia;aktualna_pogoda;czy_roslina_robaczywa;typ_rosliny;pojemnosc_ekwipunku;cena_sprzedarzy;czy_zebrac
|
||||
|
||||
new_plant = Plant(
|
||||
wzrost=random.randint(90, 100),
|
||||
wzrost=random.randint(0, 100),
|
||||
wilgotnosc=random.randint(0, 100),
|
||||
dni_od_nawiezienia=random.randint(0, 31),
|
||||
aktualna_pogoda=random.randint(1,4),
|
||||
czy_robaczywa=0,
|
||||
czy_robaczywa=random.randint(0,1),
|
||||
cena_sprzedarzy=random.randint(1000, 2000),
|
||||
species=plant_name,
|
||||
pos_x=x,
|
||||
pos_y=y)
|
||||
|
||||
# BOOSTED PLANTS
|
||||
# new_plant = Plant(
|
||||
# wzrost=random.randint(90, 100),
|
||||
# wilgotnosc=random.randint(0, 50),
|
||||
# dni_od_nawiezienia=random.randint(15, 31),
|
||||
# aktualna_pogoda=random.randint(3,4),
|
||||
# czy_robaczywa=0,
|
||||
# cena_sprzedarzy=random.randint(1500, 2000),
|
||||
# species=plant_name,
|
||||
# pos_x=x,
|
||||
# pos_y=y)
|
||||
blocks_seeded_in_field = blocks_seeded_in_field + 1
|
||||
plant_group.add(new_plant)
|
||||
tmp_field_plant = Field('field', x-18, y-18, None, get_cost_by_type(plant_name), None, None, None, None, plant_name, None, None, contain=new_plant)
|
||||
|
Loading…
Reference in New Issue
Block a user