18 lines
480 B
Python
18 lines
480 B
Python
import CarrotModule
|
|
import TreeModule
|
|
import GrassModule
|
|
import PumpkinModule
|
|
import SunFlowerModule
|
|
crops = [Entities.Carrot,Entities.Pumpkin,Entities.Tree,Entities.Sunflower]
|
|
while True:
|
|
for crop in crops:
|
|
if crop == Entities.Carrot:
|
|
CarrotModule.Plant()
|
|
if crop == Entities.Grass:
|
|
GrassModule.Plant()
|
|
if crop == Entities.Tree:
|
|
TreeModule.Plant()
|
|
if crop == Entities.Pumpkin:
|
|
PumpkinModule.Plant()
|
|
if crop == Entities.Sunflower:
|
|
SunFlowerModule.Plant() |