作物优化

This commit is contained in:
2025-07-12 19:12:13 +08:00
parent 5dc4535423
commit aa8707878e
26 changed files with 183 additions and 30417 deletions

View File

@@ -253,7 +253,9 @@ func _on_data_received(data):
main_game.money = updated_data["money"]
main_game.experience = updated_data["experience"]
main_game.level = updated_data["level"]
main_game.stamina = updated_data["体力值"]
# 只有偷菜时才会返回体力值,正常收获不会返回
if updated_data.has("体力值"):
main_game.stamina = updated_data["体力值"]
main_game.crop_warehouse = updated_data["作物仓库"]
main_game._update_ui()
main_game.crop_warehouse_panel.update_crop_warehouse_ui()