P3 alpha: wolf moon every 7th night, the alpha breaks wooden doors, iron-banded door, broken-door repair, alpha pelt and cloak (protocol 7)

This commit is contained in:
Paul Bailey
2026-11-05 01:40:52 +00:00
parent 411bfef34a
commit fc58c8d0e1
18 changed files with 742 additions and 40 deletions

View File

@@ -427,8 +427,8 @@ func _s2c_piece_state(nid_: int, extra: Dictionary) -> void:
var p: Node3D = pieces.get(nid_)
if p == null or not is_instance_valid(p):
return
if extra.has("open") and p.has_method("set_open"):
p.set_open(bool(extra.open))
if p.has_method("net_state"):
p.net_state(extra) # (a door)
elif p.has_method("load_extra"):
p.load_extra(extra)
received += 1