The rowing boat: seagrass at the tide line and resin from pines; rope, pitch, and a boat at the workbench (driftwood, rope, pitch, nails); tied up at a berth of its own at the end of the pier, one each, saved; Set sail needs the ship's compass and the Highlands aren't charted yet; online too
This commit is contained in:
@@ -389,6 +389,17 @@ func _s2c_treasure(d: Dictionary) -> void:
|
||||
return
|
||||
world.treasure.load_data(d)
|
||||
|
||||
## Someone tied up a boat at the pier: everyone here sees it.
|
||||
func boats_state(d: Dictionary) -> void:
|
||||
_all("_s2c_boats", [d])
|
||||
mark_changed()
|
||||
|
||||
@rpc("authority", "call_remote", "reliable")
|
||||
func _s2c_boats(d: Dictionary) -> void:
|
||||
if not is_client() or world.moorings == null:
|
||||
return
|
||||
world.moorings.load_data(d)
|
||||
|
||||
## Who's had their share of the wreck's sea chest changed: everyone here
|
||||
## sees whether it's empty for them.
|
||||
func wreck_state(d: Dictionary) -> void:
|
||||
|
||||
Reference in New Issue
Block a user