Quiiz system

This commit is contained in:
2026-07-26 16:46:41 +02:00
parent 7f17d69f5c
commit 4780016980
192 changed files with 15031 additions and 566 deletions
+3 -1
View File
@@ -174,7 +174,9 @@ def test_steal_ready_unprotected_crop_transfers_coins(app_server, seeded_db):
thief_user = get_table("users").find_one(username=thief)
thief_farm = store.get_farm(thief_user["uid"])
assert int(thief_farm.get("coins", 0)) > 0
assert (get_table("game_plots").find_one(uid=plot["uid"]).get("crop_key") or "") == ""
raided = get_table("game_plots").find_one(uid=plot["uid"])
assert (raided.get("crop_key") or "") == "shell"
assert float(raided.get("raided_fraction") or 0) > 0
def _ripen_owner_plot(owner, slot=0):