上传文件

This commit is contained in:
CaptB committed 2026-11-05 21:32:13 +08:00
1 parent d24531851a
commit 9ae55bcc64
12 files changed
+2529

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
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()