Uses for every material (clay jar, bedroll, pelt rug, fang necklace, bear cloak, pemmican, bait), Q to drop, K/M bag rows on 1-8, help pages; protocol 14

This commit is contained in:
Paul Bailey
2026-11-06 11:49:42 +00:00
parent 5778d61763
commit 4b2e687188
29 changed files with 1457 additions and 40 deletions

View File

@@ -382,6 +382,18 @@ func _items_on_the_ground() -> void:
check(brep.get("sounds", []).has("pickup"), "and so does Bob")
await _sleep(0.3)
check(WN.dropped.is_empty() or not WN.dropped.has(int(key.substr(1))), "and it's gone for Alice")
print("dropping (Q)")
var dr := await _bob({"do": "drop", "item": "flint", "count": 1})
check(dr.get("asked", false) and _count(dr.get("inv", []), "flint") == 1, "Bob drops one flint (shift+Q): the server takes it from his bag")
var seen := false
t = 0.0
while not seen and t < 3.0:
for k in WN.dropped:
if WN.dropped[k].item_id == "flint" and int(WN.dropped[k].amount) == 1:
seen = true
await _sleep(0.05)
t += 0.05
check(seen, "and it lands in the shared world: Alice sees it at his feet")
print("first come, first served")
var pk := _nearest(world.props.pickups.values().filter(func(p): return not p.taken))