fix et amélioration diverses

This commit is contained in:
2025-10-17 18:47:16 +02:00
parent 4a76cb5302
commit ceae7af589
6 changed files with 8 additions and 9 deletions

View File

@@ -117,12 +117,9 @@ class GiveItemReward extends Reward:
seed_needed = _seed_needed
func reward(p: Player):
print(item)
if p.inventory.is_full():
print("drop")
p.terrain.drop_item(item, p.global_position, 10)
else:
print("give")
p.pick_item(item)
func desc() -> String: