fix carrot harvest
This commit is contained in:
parent
6c3c85b204
commit
7b68228664
|
@ -6,3 +6,4 @@
|
|||
**/dist/
|
||||
saves/
|
||||
/.idea
|
||||
**.backup
|
||||
|
|
|
@ -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")})
|
||||
|
|
Loading…
Reference in New Issue