fix carrot harvest

This commit is contained in:
troido 2018-06-24 15:37:46 +02:00
parent 6c3c85b204
commit 7b68228664
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
**/dist/
saves/
/.idea
**.backup

View File

@ -79,7 +79,7 @@ def createCrop(name, stages, timestep=1):
createCrop("carrot", [
Stage.Seed(20),
Stage.Seedling(40),
Stage("carrotplant", sprite="smallplant", height=0.5, harvest=[("carrot", 1, "carrotseed", 1)])
Stage("carrotplant", sprite="smallplant", height=0.5, harvest=[("carrot", 1), ("carrotseed", 1)])
], 600)
entities["carrot"] = lambda: Entity(sprite="food", name="carrot", height=0.3, components={"item": Food(4), "serialize": Static("carrot")})