Files
2026-11-05 21:32:13 +08:00

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()