an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
feat: idle errands - open windows, grab water, raid the fridge, browse the shelf, bin runs
Gulumbf9cd0b82fa1
diff --git a/src/renderer/src/assets/maps/office.tmj b/src/renderer/src/assets/maps/office.tmjindex 0c0836f3..25705c3b 100644--- a/src/renderer/src/assets/maps/office.tmj+++ b/src/renderer/src/assets/maps/office.tmj@@ -1 +1 @@-{"compressionlevel":-1,"height":22,"infinite":false,"layers":[{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,1698,1699,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,1714,1715,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":22,"id":1,"name":"floor","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[514,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,517,530,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,533,530,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,533,530,0,0,0,0,0,0,611,611,0,0,0,0,0,0,0,0,0,611,0,0,0,0,0,0,611,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,643,643,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,643,643,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,643,643,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,522,522,522,522,0,522,522,522,522,522,522,522,0,522,522,522,522,522,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,554,554,554,554,0,554,554,554,554,554,554,554,0,554,554,554,554,554,0,0,0,0,0,0,522,0,522,522,522,522,522,522,533,530,570,570,570,570,0,570,570,570,570,570,570,570,0,570,570,570,570,570,0,0,0,0,0,0,554,0,554,554,554,554,554,554,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,570,570,0,570,570,570,570,570,570,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,611,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,578,579,579,579,579,579,579,579,579,579,579,579,579,579,579,579,0,579,579,579,579,579,579,579,579,579,579,579,579,579,579,579,579,581],"height":22,"id":2,"name":"walls","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,266,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,281,282,0,0,0,0,0,0,0,452,0,0,0,0,257,257,257,257,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0,0,297,298,0,0,0,0,289,0,0,0,0,0,0,1610612898,1610612914,2684354789,2684354789,1610612914,1610612930,260,0,0,0,0,0,0,0,0,0,2,3,4,2,3,4,0,0,0,0,2,3,4,0,0,0,0,0,1610612897,1610612913,1610612965,1610612965,1610612913,1610612929,276,0,0,0,0,0,0,0,0,0,0,289,0,0,289,0,0,0,0,0,18,289,20,0,0,0,0,0,0,274,274,274,274,0,0,0,0,2,3,4,2,3,4,0,0,305,0,0,305,0,0,0,0,0,0,305,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,289,0,0,289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,305,0,0,305,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1029,1026,1027,0,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,0,0,0,0,0,1041,1042,1043,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,0,0,0,0,1044,0,1061,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,0,305,305,0,1073,1074,1075,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,305,305,0,0,0,0,0,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,0,0,0,0,269,191,192,0,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,38,40,39,285,207,208,2248,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,54,56,55,301,223,224,2264,0,0,470,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,471,0,0,0,0,0,0,0,472,2280,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":22,"id":3,"name":"furniture-below","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,327,328,0,0,0,0,0,0,327,328,0,0,327,328,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,343,344,0,0,0,0,0,0,343,344,0,0,343,344,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,354,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,365,366,0,365,366,0,0,0,370,0,0,0,0,0,0,0,0,451,0,0,0,0,395,0,0,0,0,0,0,0,0,0,0,0,381,382,0,381,382,0,0,0,0,431,432,349,0,0,0,0,0,467,258,258,258,258,411,0,0,0,0,365,366,0,365,366,0,18,19,20,18,19,20,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,381,382,0,381,382,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,19,20,18,19,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,0,0,0,0,0,0,0,0,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,0,0,0,0,0,0,0,0,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,0,0,0,0,0,0,1610613812,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1650,1650,0,0,0,0,0,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,0,0,0,0,0,0,0,0,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,313,0,0,0,0,0,0,0,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,0,329,330,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":22,"id":4,"name":"furniture-above","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,0,0,1,1,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"height":22,"id":5,"name":"collision","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"draworder":"topdown","id":6,"name":"spawn-points","objects":[{"id":0,"name":"desk-ceo","type":"","x":48,"y":64,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-1","type":"","x":32,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-2","type":"","x":96,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-3","type":"","x":160,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-4","type":"","x":224,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-5","type":"","x":288,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-6","type":"","x":352,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-team-lead","type":"","x":32,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-backend-engineer","type":"","x":96,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-product-manager","type":"","x":160,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-data-engineer","type":"","x":224,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-project-manager","type":"","x":288,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-market-researcher","type":"","x":352,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-agent-organizer","type":"","x":320,"y":112,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"warroom-seat","type":"","x":368,"y":112,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-chief-architect","type":"","x":432,"y":80,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-ui-ux-expert","type":"","x":480,"y":80,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"entrance","type":"","x":256,"y":320,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-1","type":"","x":432,"y":224,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-2","type":"","x":432,"y":256,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-3","type":"","x":448,"y":224,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-4","type":"","x":448,"y":256,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-stand-coffee","type":"","x":416,"y":320,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-stand-vending","type":"","x":464,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true}],"opacity":1,"type":"objectgroup","visible":true,"x":0,"y":0},{"draworder":"topdown","id":7,"name":"zones","objects":[{"id":0,"name":"boardroom","type":"","x":144,"y":48,"width":144,"height":80,"rotation":0,"visible":true},{"id":0,"name":"cafeteria","type":"","x":384,"y":192,"width":128,"height":128,"rotation":0,"visible":true}],"opacity":1,"type":"objectgroup","visible":true,"x":0,"y":0}],"nextlayerid":8,"nextobjectid":1,"orientation":"orthogonal","renderorder":"right-down","tiledversion":"1.12.0","tileheight":16,"tilesets":[{"columns":16,"firstgid":1,"image":"../tilesets/office-tileset.png","imageheight":512,"imagewidth":256,"margin":0,"name":"office-tileset","spacing":0,"tilecount":512,"tileheight":16,"tilewidth":16},{"firstgid":513,"source":"A5 Office Floors & Walls.tsx"},{"firstgid":1025,"source":"interiors.tsx"}],"tilewidth":16,"type":"map","version":"1.10","width":34}\ No newline at end of file+{"compressionlevel":-1,"height":22,"infinite":false,"layers":[{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,1698,1699,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,1714,1715,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,783,784,0,0,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,799,800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":22,"id":1,"name":"floor","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[514,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,522,517,530,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,554,533,530,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,570,533,530,0,0,0,0,0,0,611,611,0,0,0,0,0,0,0,0,0,611,0,0,0,0,0,0,611,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,643,643,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,643,643,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,643,643,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,522,522,522,522,0,522,522,522,522,522,522,522,0,522,522,522,522,522,0,0,0,0,0,0,643,0,0,0,0,0,0,0,533,530,554,554,554,554,0,554,554,554,554,554,554,554,0,554,554,554,554,554,0,0,0,0,0,0,522,0,522,522,522,522,522,522,533,530,570,570,570,570,0,570,570,570,570,570,570,570,0,570,570,570,570,570,0,0,0,0,0,0,554,0,554,554,554,554,554,554,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,570,570,0,570,570,570,570,570,570,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,611,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,530,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,643,0,0,0,0,0,0,0,0,533,578,579,579,579,579,579,579,579,579,579,579,579,579,579,579,579,0,579,579,579,579,579,579,579,579,579,579,579,579,579,579,579,579,581],"height":22,"id":2,"name":"walls","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,266,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,281,282,0,0,0,0,0,0,0,452,0,0,0,0,257,257,257,257,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0,0,297,298,0,0,0,0,289,0,0,0,0,0,0,1610612898,1610612914,2684354789,2684354789,1610612914,1610612930,260,0,0,0,0,0,0,0,0,0,2,3,4,2,3,4,0,0,0,0,2,3,4,0,0,0,0,0,1610612897,1610612913,1610612965,1610612965,1610612913,1610612929,276,0,0,0,0,0,0,0,0,0,0,289,0,0,289,0,0,0,0,0,18,289,20,0,0,0,0,0,0,274,274,274,274,0,0,0,0,2,3,4,2,3,4,0,0,305,0,0,305,0,0,0,0,0,0,305,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,289,0,0,289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,305,0,0,305,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1029,1026,1027,0,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,0,0,0,0,0,1041,1042,1043,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,0,0,0,0,1044,0,1061,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,0,305,305,0,1073,1074,1075,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,305,305,0,0,0,297,0,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,2,3,4,0,0,0,0,0,269,191,192,0,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,289,0,0,0,38,40,39,285,207,208,2248,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,305,0,0,0,54,56,55,301,223,224,2264,0,0,470,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,297,0,0,0,0,0,471,0,0,0,0,0,0,0,472,2280,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":22,"id":3,"name":"furniture-below","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,327,328,0,0,0,0,0,0,327,328,0,0,327,328,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,343,344,0,0,0,0,0,0,343,344,0,0,343,344,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,354,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,365,366,0,365,366,0,0,0,370,0,0,0,0,0,0,0,0,451,0,0,0,0,395,0,0,0,0,0,0,0,0,0,0,0,381,382,0,381,382,0,0,0,0,431,432,349,0,0,0,0,0,467,258,258,258,258,411,0,0,0,0,365,366,0,365,366,0,18,19,20,18,19,20,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,381,382,0,381,382,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,19,20,18,19,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,0,0,0,0,0,0,0,0,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,0,0,0,0,0,0,0,0,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,0,0,0,0,0,0,1610613812,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1650,1650,0,0,0,281,0,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,365,366,0,0,0,0,0,0,0,0,0,0,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,381,382,0,0,313,0,0,0,0,0,0,0,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,18,19,20,0,0,329,330,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,281,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":22,"id":4,"name":"furniture-above","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"data":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,0,0,1,1,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"height":22,"id":5,"name":"collision","opacity":1,"type":"tilelayer","visible":true,"width":34,"x":0,"y":0},{"draworder":"topdown","id":6,"name":"spawn-points","objects":[{"id":0,"name":"desk-ceo","type":"","x":48,"y":64,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-1","type":"","x":32,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-2","type":"","x":96,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-3","type":"","x":160,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-4","type":"","x":224,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-5","type":"","x":288,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"pc-6","type":"","x":352,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-team-lead","type":"","x":32,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-backend-engineer","type":"","x":96,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-product-manager","type":"","x":160,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-data-engineer","type":"","x":224,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-project-manager","type":"","x":288,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-market-researcher","type":"","x":352,"y":288,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-agent-organizer","type":"","x":320,"y":112,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"warroom-seat","type":"","x":368,"y":112,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-chief-architect","type":"","x":432,"y":80,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"desk-ui-ux-expert","type":"","x":480,"y":80,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"entrance","type":"","x":256,"y":320,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-1","type":"","x":432,"y":224,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-2","type":"","x":432,"y":256,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-3","type":"","x":448,"y":224,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-seat-4","type":"","x":448,"y":256,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-stand-coffee","type":"","x":416,"y":320,"width":0,"height":0,"rotation":0,"visible":true,"point":true},{"id":0,"name":"cafe-stand-vending","type":"","x":464,"y":208,"width":0,"height":0,"rotation":0,"visible":true,"point":true}],"opacity":1,"type":"objectgroup","visible":true,"x":0,"y":0},{"draworder":"topdown","id":7,"name":"zones","objects":[{"id":0,"name":"boardroom","type":"","x":144,"y":48,"width":144,"height":80,"rotation":0,"visible":true},{"id":0,"name":"cafeteria","type":"","x":384,"y":192,"width":128,"height":128,"rotation":0,"visible":true}],"opacity":1,"type":"objectgroup","visible":true,"x":0,"y":0}],"nextlayerid":8,"nextobjectid":1,"orientation":"orthogonal","renderorder":"right-down","tiledversion":"1.12.0","tileheight":16,"tilesets":[{"columns":16,"firstgid":1,"image":"../tilesets/office-tileset.png","imageheight":512,"imagewidth":256,"margin":0,"name":"office-tileset","spacing":0,"tilecount":512,"tileheight":16,"tilewidth":16},{"firstgid":513,"source":"A5 Office Floors & Walls.tsx"},{"firstgid":1025,"source":"interiors.tsx"}],"tilewidth":16,"type":"map","version":"1.10","width":34}\ No newline at end of filediff --git a/src/renderer/src/scene/office/OfficeFloor.tsx b/src/renderer/src/scene/office/OfficeFloor.tsxindex 377788b9..6d8533b6 100644--- a/src/renderer/src/scene/office/OfficeFloor.tsx+++ b/src/renderer/src/scene/office/OfficeFloor.tsx@@ -53,11 +53,14 @@ interface CafeBreak {chattingWith?: string; // set on the partner: stays put & stays quiet}-/** A plant-watering errand in progress for one agent. */-interface WateringRun {- phase: 'walking' | 'watering';+/** Kinds of small idle errands around the office (incl. plant watering). */+type ErrandKind = 'water' | 'window' | 'dispenser' | 'fridge' | 'shelf' | 'bin';++/** An idle errand in progress for one agent. */+interface ErrandRun {+ phase: 'walking' | 'doing';timer: number;- plantIdx: number;+ idx: number; // into ERRAND_SPOTS}/** One leg of the coffee economy: fetch a clean mug from the sideboard, brew@@ -81,10 +84,20 @@ interface Runtime {screen?: DeskScreen;/** Walking a fresh coffee from the break room home to the desk. */cupCarryHome?: boolean;- wtr?: WateringRun;+ err?: ErrandRun;run?: CoffeeRun;}+/** What an avatar mutters per errand, picked at random. */+const ERRAND_THOUGHTS: Record<ErrandKind, readonly string[]> = {+ water: ['watering the plants πΏ', 'giving the plants a drink', 'they grow so fast'],+ window: ['letting some air in π', 'a bit of fresh air', 'nice breeze today'],+ dispenser: ['getting some water π§', 'hydration break', 'staying sharp'],+ fridge: ['anything good in the fridge?', 'who took my yogurt?', 'just lookingβ¦'],+ shelf: ['checking out the shelf π', 'anything new in here?', 'so much good stuff'],+ bin: ['out with the scrap paper ποΈ', 'desk cleanup day', 'tidying up a little']+};+/** Lines an avatar throws over its shoulder right after finishing a task. */const CHEER_LINES = ['done! β', 'nailed it', "that's a wrap", 'ship it π', 'another one done',@@ -590,7 +603,7 @@ export function OfficeFloor() {};const breakEligible = (agent: Agent, rt: Runtime): boolean => {- if (agent.isGod || rt.brk || rt.wtr || rt.run || rt.cupCarryHome) return false;+ if (agent.isGod || rt.brk || rt.err || rt.run || rt.cupCarryHome) return false;if (agent.status !== 'idle' && agent.status !== 'success') return false;return !rt.character.isSitting(); // already parked at a desk β leave it};@@ -656,43 +669,122 @@ export function OfficeFloor() {startBreak(agent.id, rt);};- // βββ Plants: watering errands for the truly idle βββββββββββββββββββββββ- // The office plants (painted into the map) each have a stand tile next to- // them. Every so often one idle agent strolls over, faces the plant, and- // gives it a drink β small, purposeful busywork for a quiet floor.- const PLANTS: Array<{ stand: Tile; facing: Facing }> = [- { stand: { x: 2, y: 20 }, facing: 'left' }, // tall plant, bottom-left corner- { stand: { x: 22, y: 20 }, facing: 'right' }, // tall plant, end of the desk rows- { stand: { x: 30, y: 20 }, facing: 'right' }, // tall plant, right room- { stand: { x: 6, y: 4 }, facing: 'up' }, // potted plant, the CEO office- { stand: { x: 17, y: 4 }, facing: 'up' } // potted plant, the corridor+ // βββ Idle errands: small purposeful busywork for a quiet floor βββββββββ+ // Plants get watered, windows opened for a breeze, the dispenser poured,+ // the fridge inspected, the shelf browsed, scrap paper binned. Every spot+ // has a stand tile + facing; `fx` anchors a little ambient animation.+ interface ErrandSpot { kind: ErrandKind; stand: Tile; facing: Facing; fx: Tile; duration: number; }+ const ERRAND_SPOTS: ErrandSpot[] = [+ // plants (droplets ride on the character via startWatering)+ { kind: 'water', stand: { x: 2, y: 20 }, facing: 'left', fx: { x: 1, y: 20 }, duration: 4.5 },+ { kind: 'water', stand: { x: 22, y: 20 }, facing: 'right', fx: { x: 23, y: 20 }, duration: 4.5 },+ { kind: 'water', stand: { x: 30, y: 20 }, facing: 'right', fx: { x: 31, y: 20 }, duration: 4.5 },+ { kind: 'water', stand: { x: 6, y: 4 }, facing: 'up', fx: { x: 6, y: 3 }, duration: 4.5 },+ { kind: 'water', stand: { x: 17, y: 4 }, facing: 'up', fx: { x: 17, y: 3 }, duration: 4.5 },+ // the three wall windows β wind streaks drift into the room+ { kind: 'window', stand: { x: 2, y: 3 }, facing: 'up', fx: { x: 2, y: 1 }, duration: 5 },+ { kind: 'window', stand: { x: 10, y: 3 }, facing: 'up', fx: { x: 10, y: 1 }, duration: 5 },+ { kind: 'window', stand: { x: 15, y: 3 }, facing: 'up', fx: { x: 14, y: 1 }, duration: 5 },+ // water dispensers (hallway + the top-right corner one)+ { kind: 'dispenser', stand: { x: 16, y: 3 }, facing: 'down', fx: { x: 16, y: 4 }, duration: 3.5 },+ { kind: 'dispenser', stand: { x: 32, y: 4 }, facing: 'up', fx: { x: 32, y: 3 }, duration: 3.5 },+ // the cafΓ© fridge (door light spills out) + the shelf beside it+ { kind: 'fridge', stand: { x: 29, y: 20 }, facing: 'up', fx: { x: 29, y: 19 }, duration: 3.2 },+ { kind: 'shelf', stand: { x: 30, y: 20 }, facing: 'up', fx: { x: 30, y: 18 }, duration: 4 },+ // garbage bins (entrance + cafΓ©) β a paper ball arcs in+ { kind: 'bin', stand: { x: 18, y: 20 }, facing: 'left', fx: { x: 17, y: 20 }, duration: 2.6 },+ { kind: 'bin', stand: { x: 31, y: 16 }, facing: 'right', fx: { x: 32, y: 16 }, duration: 2.6 }];- const plantTaken: (string | null)[] = new Array(PLANTS.length).fill(null);+ const errandTaken: (string | null)[] = new Array(ERRAND_SPOTS.length).fill(null);+ // Lazily-created ambient fx layer per active errand spot.+ const errandFx = new Map<number, Graphics>();++ const fxFor = (idx: number): Graphics => {+ let g = errandFx.get(idx);+ if (!g) {+ const spot = ERRAND_SPOTS[idx];+ g = new Graphics();+ g.eventMode = 'none';+ g.position.set(spot.fx.x * ts0, spot.fx.y * ts0);+ g.zIndex = (spot.fx.y + 1) * ts0;+ charLayer.addChild(g);+ errandFx.set(idx, g);+ }+ return g;+ };++ /** Draw one errand's ambient animation frame (local coords on its fx tile). */+ const drawErrandFx = (kind: ErrandKind, g: Graphics, t: number): void => {+ g.clear();+ if (kind === 'window') {+ // wind streaks slipping in under the sash and drifting down-room+ for (let i = 0; i < 3; i++) {+ const ph = (t * 0.7 + i / 3) % 1;+ g.rect(2 + i * 9 - ph * 5, 26 + ph * 16, 7, 1)+ .fill({ color: 0xd8f1f7, alpha: 0.55 * (1 - ph) });+ }+ } else if (kind === 'dispenser') {+ // glugging bottle: a drip line + a bubble rising in the tank+ const ph = (t * 1.6) % 1;+ g.rect(7, 18 + ph * 6, 1, 3).fill({ color: 0x9fd6f0, alpha: 0.9 * (1 - ph) });+ const bp = (t * 0.9) % 1;+ g.circle(8, 12 - bp * 6, 1).fill({ color: 0xffffff, alpha: 0.6 * (1 - bp) });+ } else if (kind === 'fridge') {+ // the open-door light cone spilling onto the floor, gently flickering+ const a = 0.16 + 0.05 * Math.sin(t * 5);+ g.poly([3, 12, 13, 12, 16, 30, 0, 30]).fill({ color: 0xfff2b8, alpha: a });+ } else if (kind === 'shelf') {+ // a little glint wandering across the shelves+ const ph = (t * 0.5) % 1;+ g.rect(2 + ph * 24, 4 + (Math.floor(t * 0.5) % 3) * 9, 2, 2)+ .fill({ color: 0xfff7c8, alpha: 0.8 * Math.sin(ph * Math.PI) });+ } else if (kind === 'bin') {+ // a paper ball arcing in from the agent's side, once per second+ const ph = (t * 1.0) % 1;+ if (ph < 0.45) {+ const p = ph / 0.45;+ const fromX = 18, toX = 8;+ const x = fromX + (toX - fromX) * p;+ const y = 2 - Math.sin(p * Math.PI) * 9;+ g.rect(Math.round(x), Math.round(y), 2, 2).fill({ color: 0xf5f1e6, alpha: 0.95 });+ }+ }+ // 'water' draws nothing here β droplets ride on the character itself+ };- const releaseWatering = (id: string, rt: Runtime): void => {- if (!rt.wtr) return;- plantTaken[rt.wtr.plantIdx] = null;- rt.wtr = undefined;+ const releaseErrand = (rt: Runtime): void => {+ if (!rt.err) return;+ errandTaken[rt.err.idx] = null;+ errandFx.get(rt.err.idx)?.clear();+ rt.err = undefined;rt.character.stopWatering();};- let wtrCooldown = 20;- const updateWatering = (dt: number): void => {- // Watchdog walking errands that never arrive; everything else is event-driven.- for (const [id, rt] of runtimes) {- if (!rt.wtr) continue;- rt.wtr.timer += dt;- if (rt.wtr.phase === 'walking' && rt.wtr.timer > 20) {- releaseWatering(id, rt);+ let errCooldown = 18;+ const updateErrands = (dt: number): void => {+ for (const [, rt] of runtimes) {+ const err = rt.err;+ if (!err) continue;+ err.timer += dt;+ const spot = ERRAND_SPOTS[err.idx];+ if (err.phase === 'walking') {+ if (err.timer > 20) { releaseErrand(rt); rt.character.startWandering(); }+ continue;+ }+ // doing: animate the spot; plants complete via startWatering's callback+ drawErrandFx(spot.kind, fxFor(err.idx), err.timer);+ if (spot.kind !== 'water' && err.timer >= spot.duration) {+ releaseErrand(rt);+ rt.character.hideThought();rt.character.startWandering();}}- wtrCooldown -= dt;- if (wtrCooldown > 0) return;- wtrCooldown = 16 + Math.random() * 22;- if (Math.random() >= 0.6) return; // keep it occasional- const freePlants = PLANTS.map((_, i) => i).filter((i) => !plantTaken[i]);- if (freePlants.length === 0) return;+ errCooldown -= dt;+ if (errCooldown > 0) return;+ errCooldown = 14 + Math.random() * 18;+ if (Math.random() >= 0.65) return; // keep it occasional+ const free = ERRAND_SPOTS.map((_, i) => i).filter((i) => !errandTaken[i]);+ if (free.length === 0) return;const candidates: Array<[Agent, Runtime]> = [];for (const agent of useStore.getState().agents) {const rt = runtimes.get(agent.id);@@ -700,22 +792,25 @@ export function OfficeFloor() {}if (candidates.length === 0) return;const [agent, rt] = candidates[Math.floor(Math.random() * candidates.length)];- const plantIdx = freePlants[Math.floor(Math.random() * freePlants.length)];- const plant = PLANTS[plantIdx];+ const idx = free[Math.floor(Math.random() * free.length)];+ const spot = ERRAND_SPOTS[idx];const c = rt.character;- plantTaken[plantIdx] = agent.id;- rt.wtr = { phase: 'walking', timer: 0, plantIdx };- c.walkToAndThen(plant.stand, () => {- if (!rt.wtr || rt.wtr.plantIdx !== plantIdx) return;- rt.wtr.phase = 'watering';- rt.wtr.timer = 0;- c.faceDirection(plant.facing);- c.showThought('watering the plants πΏ');- c.startWatering(4.5, () => {- releaseWatering(agent.id, rt);- c.hideThought();- c.startWandering();- });+ errandTaken[idx] = agent.id;+ rt.err = { phase: 'walking', timer: 0, idx };+ c.walkToAndThen(spot.stand, () => {+ if (!rt.err || rt.err.idx !== idx) return;+ rt.err.phase = 'doing';+ rt.err.timer = 0;+ c.faceDirection(spot.facing);+ const lines = ERRAND_THOUGHTS[spot.kind];+ c.showThought(lines[Math.floor(Math.random() * lines.length)]);+ if (spot.kind === 'water') {+ c.startWatering(spot.duration, () => {+ releaseErrand(rt);+ c.hideThought();+ c.startWandering();+ });+ }});};@@ -789,7 +884,7 @@ export function OfficeFloor() {const rt = runtimes.get(id);if (!rt) return;releaseBreak(rt); // free any cafΓ© seat it was holding- releaseWatering(id, rt); // and any plant it was tending+ releaseErrand(rt); // and any idle errand it was runningreleaseRun(rt); // and any coffee run in progress// Facilities collects an abandoned mug (carried or parked on the desk)// back onto the sideboard, so the finite cup stock can never leak away.@@ -837,14 +932,14 @@ export function OfficeFloor() {}releaseBreak(rt);}- // Same for a watering errand: idle refreshes leave it alone, real work- // cancels it (the can disappears, the agent heads to its desk).- if (rt.wtr) {+ // Same for an idle errand (watering, window, fridgeβ¦): idle refreshes+ // leave it alone, real work cancels it and the agent heads to its desk.+ if (rt.err) {if (agent.status === 'idle' || agent.status === 'success') {c.setStatusGlyph(agent.status === 'success' ? 'success' : 'none');return;}- releaseWatering(agent.id, rt);+ releaseErrand(rt);}// And for a coffee run: real work cancels it mid-stride β a mug already// in hand simply rides along to the desk (cupCarryHome parks it there).@@ -1042,7 +1137,7 @@ export function OfficeFloor() {}updateCafeteria(dt);updateCoffeeRuns(dt);- updateWatering(dt);+ updateErrands(dt);updateDeskLife(dt);resolveBubbleOverlaps();for (let i = envelopes.length - 1; i >= 0; i--) {