The Farmer Was Replaced

The Farmer Was Replaced

TRADE and PLANT not returning FALSE
According to the notes, the TRADE and PLANT functions should return FALSE if they are unsuccessful. But they do not.
for y in range(s): trade(Items.Carrot_Seed,s) if False: to_get=num_items(Items.Carrot) break etc
The BREAK does not execute although output reports:
Warning: Tried to buy Items.Carrot_Seed but didn't have enough items. In: Carrot trade(Items.Carrot_Seed,s) ^^ -------------------------------------------------------------------- Warning: Didn't have a seed to plant Entities.Carrots. In: Carrot plant(crops[2])
Date Posted: Nov 9, 2024 @ 5:57am
Posts: 0