Add walkable housing interiors and cross-hub visitors

This commit is contained in:
dingo
2026-09-10 10:48:26 -04:00
parent b2dd2cb3ba
commit 1bd5d487e2
28 changed files with 721 additions and 52 deletions
+29 -2
View File
@@ -261,7 +261,8 @@
"weapons": {"type": "object", "additionalProperties": {"$ref": "#/definitions/WeaponProgress"}},
"casting": {"type": "string"},
"houseId": {"type": "string"},
"destroyKey": {"$ref": "#/definitions/KeyDestruction"}
"destroyKey": {"$ref": "#/definitions/KeyDestruction"},
"housePosition": {"$ref": "#/definitions/Vec3"}
},
"required": ["entity", "inventory", "skills", "level", "experience", "experienceToNextLevel", "statPoints", "titles", "allocatedStats", "stats", "mana", "stamina", "carryWeight", "pendingVitalChoices", "healthChoices", "manaChoices", "items", "equipment", "playedSeconds", "remainingSeconds", "kills", "ack", "hasKeystone", "gatherAttempt"]
},
@@ -368,7 +369,8 @@
"unavailableResources": {"type": "array", "items": {"type": "string"}},
"message": {"type": "string"},
"gatherRisks": {"type": "object", "additionalProperties": {"$ref": "#/definitions/GatheringRisk"}},
"projectileVisuals": {"type": "array", "items": {"$ref": "#/definitions/ProjectileVisual"}}
"projectileVisuals": {"type": "array", "items": {"$ref": "#/definitions/ProjectileVisual"}},
"house": {"$ref": "#/definitions/HouseScene"}
},
"required": ["type", "version", "tick", "world", "self", "entities", "chunks", "chunkKeys", "unavailableResources", "message"]
},
@@ -1088,6 +1090,31 @@
"people": {"type": "array", "items": {"$ref": "#/definitions/Entity"}}
},
"required": ["houses", "role", "effective", "people"]
},
"HouseScene": {
"type": "object", "additionalProperties": false,
"properties": {
"id": {"type": "string"},
"name": {"type": "string"},
"size": {"type": "number"},
"furniture": {"type": "array", "items": {"$ref": "#/definitions/RoomFurniture"}},
"people": {"type": "array", "items": {"$ref": "#/definitions/Entity"}}
},
"required": ["id", "name", "size", "furniture", "people"]
},
"RoomFurniture": {
"type": "object", "additionalProperties": false,
"properties": {
"id": {"type": "string"},
"name": {"type": "string"},
"x": {"type": "number"},
"z": {"type": "number"},
"width": {"type": "number"},
"depth": {"type": "number"},
"height": {"type": "number"},
"container": {"type": "boolean"}
},
"required": ["id", "name", "x", "z", "width", "depth", "height", "container"]
}
}
}