@adatechnology/game-interactables-household 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -180,6 +180,8 @@ var GameInteractablesHousehold = (() => {
180
180
  [DEFERRED_QUEUE_ID.DESTRUCTION_PREFIT]: { priority: 40, phase: "idle", minEveryFrames: 30 }
181
181
  };
182
182
  var MUST_DRAIN_QUEUE_IDS = /* @__PURE__ */ new Set([DEFERRED_QUEUE_ID.DESTRUCTION_EVENTS, DEFERRED_QUEUE_ID.BREACH_CUT]);
183
+ var BODY_FOAM_SURFACES = ["hands", "arms", "torso", "hair", "mouth"];
184
+ var WASH_SURFACES = [...BODY_FOAM_SURFACES, "brush"];
183
185
  var WARNED_KEY = /* @__PURE__ */ Symbol.for("@adatechnology/game-contracts.warned");
184
186
  var warnedKeys = () => {
185
187
  const holder = globalThis;
@@ -482,6 +484,2313 @@ var GameInteractablesHousehold = (() => {
482
484
  };
483
485
  var MM = 1e-3;
484
486
  var BOX_WALL = 6 * MM;
487
+ var hand_uses_default = [
488
+ {
489
+ id: "eat_food",
490
+ body: "mouth",
491
+ duration: 3.4,
492
+ note: "three bites: the food to the mouth, a bite, down a little to chew, and again",
493
+ keys: [
494
+ {
495
+ t: 0,
496
+ position: [
497
+ 0.22,
498
+ -0.2,
499
+ -0.4
500
+ ],
501
+ rotation: [
502
+ 0,
503
+ 0,
504
+ 0
505
+ ]
506
+ },
507
+ {
508
+ t: 0.45,
509
+ position: [
510
+ 0.01,
511
+ 0,
512
+ -0.17
513
+ ],
514
+ rotation: [
515
+ -0.3,
516
+ 0,
517
+ 0
518
+ ],
519
+ action: "bite"
520
+ },
521
+ {
522
+ t: 0.8,
523
+ position: [
524
+ 0.05,
525
+ -0.08,
526
+ -0.26
527
+ ],
528
+ rotation: [
529
+ -0.15,
530
+ 0,
531
+ 0
532
+ ]
533
+ },
534
+ {
535
+ t: 1.25,
536
+ position: [
537
+ 0.01,
538
+ 0,
539
+ -0.17
540
+ ],
541
+ rotation: [
542
+ -0.3,
543
+ 0,
544
+ 0
545
+ ],
546
+ action: "bite"
547
+ },
548
+ {
549
+ t: 1.6,
550
+ position: [
551
+ 0.05,
552
+ -0.08,
553
+ -0.26
554
+ ],
555
+ rotation: [
556
+ -0.15,
557
+ 0,
558
+ 0
559
+ ]
560
+ },
561
+ {
562
+ t: 2.05,
563
+ position: [
564
+ 0.01,
565
+ 0,
566
+ -0.17
567
+ ],
568
+ rotation: [
569
+ -0.3,
570
+ 0,
571
+ 0
572
+ ],
573
+ action: "bite"
574
+ },
575
+ {
576
+ t: 2.8,
577
+ position: [
578
+ 0.05,
579
+ -0.08,
580
+ -0.26
581
+ ],
582
+ rotation: [
583
+ -0.15,
584
+ 0,
585
+ 0
586
+ ]
587
+ },
588
+ {
589
+ t: 3.4,
590
+ position: [
591
+ 0.22,
592
+ -0.2,
593
+ -0.4
594
+ ],
595
+ rotation: [
596
+ 0,
597
+ 0,
598
+ 0
599
+ ]
600
+ }
601
+ ]
602
+ },
603
+ {
604
+ id: "drink",
605
+ body: "mouth",
606
+ duration: 2.5,
607
+ note: "a drink without a liquid of its own (a juice box): to the mouth and tipped up, as the fluid drink",
608
+ keys: [
609
+ {
610
+ t: 0,
611
+ position: [
612
+ 0.22,
613
+ -0.2,
614
+ -0.4
615
+ ],
616
+ rotation: [
617
+ 0,
618
+ 0,
619
+ 0
620
+ ]
621
+ },
622
+ {
623
+ t: 0.5,
624
+ position: [
625
+ 0,
626
+ 0.02,
627
+ -0.2
628
+ ],
629
+ rotation: [
630
+ 0,
631
+ 0,
632
+ 0
633
+ ]
634
+ },
635
+ {
636
+ t: 0.8,
637
+ position: [
638
+ 0,
639
+ 0.02,
640
+ -0.2
641
+ ],
642
+ rotation: [
643
+ -1.22,
644
+ 0,
645
+ 0
646
+ ],
647
+ action: "swallow"
648
+ },
649
+ {
650
+ t: 2,
651
+ position: [
652
+ 0,
653
+ 0.02,
654
+ -0.2
655
+ ],
656
+ rotation: [
657
+ -1.22,
658
+ 0,
659
+ 0
660
+ ]
661
+ },
662
+ {
663
+ t: 2.5,
664
+ position: [
665
+ 0.22,
666
+ -0.2,
667
+ -0.4
668
+ ],
669
+ rotation: [
670
+ 0,
671
+ 0,
672
+ 0
673
+ ]
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ id: "take_medicine",
679
+ body: "mouth",
680
+ duration: 2.6,
681
+ note: "the box before the chest, shaken for a pill, the pill to the mouth and swallowed",
682
+ keys: [
683
+ {
684
+ t: 0,
685
+ position: [
686
+ 0.22,
687
+ -0.2,
688
+ -0.4
689
+ ],
690
+ rotation: [
691
+ 0,
692
+ 0,
693
+ 0
694
+ ]
695
+ },
696
+ {
697
+ t: 0.4,
698
+ position: [
699
+ 0.06,
700
+ -0.16,
701
+ -0.3
702
+ ],
703
+ rotation: [
704
+ 0,
705
+ 0,
706
+ 0
707
+ ]
708
+ },
709
+ {
710
+ t: 0.65,
711
+ position: [
712
+ 0.06,
713
+ -0.16,
714
+ -0.3
715
+ ],
716
+ rotation: [
717
+ 0,
718
+ 0,
719
+ 0.5
720
+ ]
721
+ },
722
+ {
723
+ t: 0.85,
724
+ position: [
725
+ 0.06,
726
+ -0.16,
727
+ -0.3
728
+ ],
729
+ rotation: [
730
+ 0,
731
+ 0,
732
+ -0.5
733
+ ]
734
+ },
735
+ {
736
+ t: 1.05,
737
+ position: [
738
+ 0.06,
739
+ -0.16,
740
+ -0.3
741
+ ],
742
+ rotation: [
743
+ 0,
744
+ 0,
745
+ 0
746
+ ]
747
+ },
748
+ {
749
+ t: 1.6,
750
+ position: [
751
+ 0,
752
+ 0.02,
753
+ -0.18
754
+ ],
755
+ rotation: [
756
+ -0.6,
757
+ 0,
758
+ 0
759
+ ],
760
+ action: "swallow"
761
+ },
762
+ {
763
+ t: 2,
764
+ position: [
765
+ 0,
766
+ 0.02,
767
+ -0.18
768
+ ],
769
+ rotation: [
770
+ -0.6,
771
+ 0,
772
+ 0
773
+ ]
774
+ },
775
+ {
776
+ t: 2.6,
777
+ position: [
778
+ 0.22,
779
+ -0.2,
780
+ -0.4
781
+ ],
782
+ rotation: [
783
+ 0,
784
+ 0,
785
+ 0
786
+ ]
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ id: "apply_dressing",
792
+ body: "two_hands",
793
+ duration: 3.2,
794
+ note: "the dressing laid on the other forearm and wound round it twice",
795
+ keys: [
796
+ {
797
+ t: 0,
798
+ position: [
799
+ 0.22,
800
+ -0.2,
801
+ -0.4
802
+ ],
803
+ rotation: [
804
+ 0,
805
+ 0,
806
+ 0
807
+ ]
808
+ },
809
+ {
810
+ t: 0.5,
811
+ position: [
812
+ -0.06,
813
+ -0.12,
814
+ -0.3
815
+ ],
816
+ rotation: [
817
+ 0,
818
+ 0,
819
+ 1.2
820
+ ]
821
+ },
822
+ {
823
+ t: 1,
824
+ position: [
825
+ -0.1,
826
+ -0.15,
827
+ -0.28
828
+ ],
829
+ rotation: [
830
+ 0.4,
831
+ 0,
832
+ 1.4
833
+ ],
834
+ action: "apply"
835
+ },
836
+ {
837
+ t: 1.5,
838
+ position: [
839
+ -0.02,
840
+ -0.1,
841
+ -0.32
842
+ ],
843
+ rotation: [
844
+ 0,
845
+ 0,
846
+ 1.2
847
+ ]
848
+ },
849
+ {
850
+ t: 2,
851
+ position: [
852
+ -0.1,
853
+ -0.15,
854
+ -0.28
855
+ ],
856
+ rotation: [
857
+ 0.4,
858
+ 0,
859
+ 1.4
860
+ ],
861
+ action: "apply"
862
+ },
863
+ {
864
+ t: 2.6,
865
+ position: [
866
+ -0.06,
867
+ -0.12,
868
+ -0.3
869
+ ],
870
+ rotation: [
871
+ 0,
872
+ 0,
873
+ 1.2
874
+ ]
875
+ },
876
+ {
877
+ t: 3.2,
878
+ position: [
879
+ 0.22,
880
+ -0.2,
881
+ -0.4
882
+ ],
883
+ rotation: [
884
+ 0,
885
+ 0,
886
+ 0
887
+ ]
888
+ }
889
+ ]
890
+ },
891
+ {
892
+ id: "use_hygiene",
893
+ body: "two_hands",
894
+ duration: 3,
895
+ note: "soap (or what is rubbed in) between both hands in front of the body, rubbed side to side",
896
+ keys: [
897
+ {
898
+ t: 0,
899
+ position: [
900
+ 0.22,
901
+ -0.2,
902
+ -0.4
903
+ ],
904
+ rotation: [
905
+ 0,
906
+ 0,
907
+ 0
908
+ ]
909
+ },
910
+ {
911
+ t: 0.4,
912
+ position: [
913
+ 0.02,
914
+ -0.18,
915
+ -0.32
916
+ ],
917
+ rotation: [
918
+ 0,
919
+ 0,
920
+ 1.5
921
+ ]
922
+ },
923
+ {
924
+ t: 0.7,
925
+ position: [
926
+ -0.04,
927
+ -0.18,
928
+ -0.32
929
+ ],
930
+ rotation: [
931
+ 0,
932
+ 0,
933
+ 1.5
934
+ ],
935
+ action: "scrub"
936
+ },
937
+ {
938
+ t: 1,
939
+ position: [
940
+ 0.06,
941
+ -0.18,
942
+ -0.32
943
+ ],
944
+ rotation: [
945
+ 0,
946
+ 0,
947
+ 1.5
948
+ ]
949
+ },
950
+ {
951
+ t: 1.3,
952
+ position: [
953
+ -0.04,
954
+ -0.18,
955
+ -0.32
956
+ ],
957
+ rotation: [
958
+ 0,
959
+ 0,
960
+ 1.5
961
+ ],
962
+ action: "scrub"
963
+ },
964
+ {
965
+ t: 1.6,
966
+ position: [
967
+ 0.06,
968
+ -0.18,
969
+ -0.32
970
+ ],
971
+ rotation: [
972
+ 0,
973
+ 0,
974
+ 1.5
975
+ ]
976
+ },
977
+ {
978
+ t: 1.9,
979
+ position: [
980
+ -0.04,
981
+ -0.18,
982
+ -0.32
983
+ ],
984
+ rotation: [
985
+ 0,
986
+ 0,
987
+ 1.5
988
+ ],
989
+ action: "scrub"
990
+ },
991
+ {
992
+ t: 2.3,
993
+ position: [
994
+ 0.02,
995
+ -0.18,
996
+ -0.32
997
+ ],
998
+ rotation: [
999
+ 0,
1000
+ 0,
1001
+ 1.5
1002
+ ]
1003
+ },
1004
+ {
1005
+ t: 3,
1006
+ position: [
1007
+ 0.22,
1008
+ -0.2,
1009
+ -0.4
1010
+ ],
1011
+ rotation: [
1012
+ 0,
1013
+ 0,
1014
+ 0
1015
+ ]
1016
+ }
1017
+ ]
1018
+ },
1019
+ {
1020
+ id: "toggle_flashlight",
1021
+ body: "hand",
1022
+ duration: 1.1,
1023
+ note: "the flashlight raised before the chest and pointed ahead, the thumb pressing the tail switch (a small push), and back",
1024
+ keys: [
1025
+ {
1026
+ t: 0,
1027
+ position: [
1028
+ 0.22,
1029
+ -0.2,
1030
+ -0.4
1031
+ ],
1032
+ rotation: [
1033
+ 0,
1034
+ 0,
1035
+ 0
1036
+ ]
1037
+ },
1038
+ {
1039
+ t: 0.35,
1040
+ position: [
1041
+ 0.12,
1042
+ -0.12,
1043
+ -0.42
1044
+ ],
1045
+ rotation: [
1046
+ -1.45,
1047
+ 0,
1048
+ 0
1049
+ ]
1050
+ },
1051
+ {
1052
+ t: 0.47,
1053
+ position: [
1054
+ 0.12,
1055
+ -0.13,
1056
+ -0.42
1057
+ ],
1058
+ rotation: [
1059
+ -1.5,
1060
+ 0,
1061
+ 0
1062
+ ]
1063
+ },
1064
+ {
1065
+ t: 0.52,
1066
+ position: [
1067
+ 0.12,
1068
+ -0.125,
1069
+ -0.42
1070
+ ],
1071
+ rotation: [
1072
+ -1.47,
1073
+ 0,
1074
+ 0
1075
+ ],
1076
+ action: "switch"
1077
+ },
1078
+ {
1079
+ t: 0.7,
1080
+ position: [
1081
+ 0.12,
1082
+ -0.12,
1083
+ -0.42
1084
+ ],
1085
+ rotation: [
1086
+ -1.45,
1087
+ 0,
1088
+ 0
1089
+ ]
1090
+ },
1091
+ {
1092
+ t: 1.1,
1093
+ position: [
1094
+ 0.22,
1095
+ -0.2,
1096
+ -0.4
1097
+ ],
1098
+ rotation: [
1099
+ 0,
1100
+ 0,
1101
+ 0
1102
+ ]
1103
+ }
1104
+ ]
1105
+ },
1106
+ {
1107
+ id: "light_lighter",
1108
+ body: "hand",
1109
+ duration: 1.5,
1110
+ note: "the lighter brought before the chest, the thumb rolled down over the wheel (the lighter dips and tips with it), the flame catches and is held up a moment, and back",
1111
+ keys: [
1112
+ {
1113
+ t: 0,
1114
+ position: [
1115
+ 0.22,
1116
+ -0.2,
1117
+ -0.4
1118
+ ],
1119
+ rotation: [
1120
+ 0,
1121
+ 0,
1122
+ 0
1123
+ ]
1124
+ },
1125
+ {
1126
+ t: 0.4,
1127
+ position: [
1128
+ 0.07,
1129
+ -0.12,
1130
+ -0.34
1131
+ ],
1132
+ rotation: [
1133
+ 0,
1134
+ 0,
1135
+ 0
1136
+ ]
1137
+ },
1138
+ {
1139
+ t: 0.52,
1140
+ position: [
1141
+ 0.07,
1142
+ -0.137,
1143
+ -0.34
1144
+ ],
1145
+ rotation: [
1146
+ 0.14,
1147
+ 0,
1148
+ -0.12
1149
+ ]
1150
+ },
1151
+ {
1152
+ t: 0.58,
1153
+ position: [
1154
+ 0.07,
1155
+ -0.125,
1156
+ -0.34
1157
+ ],
1158
+ rotation: [
1159
+ 0,
1160
+ 0,
1161
+ 0
1162
+ ],
1163
+ action: "ignite"
1164
+ },
1165
+ {
1166
+ t: 1.15,
1167
+ position: [
1168
+ 0.07,
1169
+ -0.115,
1170
+ -0.34
1171
+ ],
1172
+ rotation: [
1173
+ 0,
1174
+ 0,
1175
+ 0
1176
+ ]
1177
+ },
1178
+ {
1179
+ t: 1.5,
1180
+ position: [
1181
+ 0.22,
1182
+ -0.2,
1183
+ -0.4
1184
+ ],
1185
+ rotation: [
1186
+ 0,
1187
+ 0,
1188
+ 0
1189
+ ]
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ id: "use_radio",
1195
+ body: "mouth",
1196
+ duration: 3,
1197
+ note: "the radio brought up beside the face, the thumb turning the knob (the radio twists a little with it), held at the mouth while talking, and back down",
1198
+ keys: [
1199
+ {
1200
+ t: 0,
1201
+ position: [
1202
+ 0.22,
1203
+ -0.2,
1204
+ -0.4
1205
+ ],
1206
+ rotation: [
1207
+ 0,
1208
+ 0,
1209
+ 0
1210
+ ]
1211
+ },
1212
+ {
1213
+ t: 0.5,
1214
+ position: [
1215
+ 0.08,
1216
+ -0.05,
1217
+ -0.22
1218
+ ],
1219
+ rotation: [
1220
+ 0,
1221
+ 0,
1222
+ 0.15
1223
+ ]
1224
+ },
1225
+ {
1226
+ t: 0.85,
1227
+ position: [
1228
+ 0.08,
1229
+ -0.05,
1230
+ -0.22
1231
+ ],
1232
+ rotation: [
1233
+ 0,
1234
+ 0,
1235
+ 0.15
1236
+ ]
1237
+ },
1238
+ {
1239
+ t: 1.05,
1240
+ position: [
1241
+ 0.08,
1242
+ -0.05,
1243
+ -0.22
1244
+ ],
1245
+ rotation: [
1246
+ 0,
1247
+ 0.3,
1248
+ 0.15
1249
+ ],
1250
+ action: "tune"
1251
+ },
1252
+ {
1253
+ t: 1.25,
1254
+ position: [
1255
+ 0.08,
1256
+ -0.05,
1257
+ -0.22
1258
+ ],
1259
+ rotation: [
1260
+ 0,
1261
+ 0,
1262
+ 0.15
1263
+ ]
1264
+ },
1265
+ {
1266
+ t: 1.45,
1267
+ position: [
1268
+ 0.05,
1269
+ -0.02,
1270
+ -0.19
1271
+ ],
1272
+ rotation: [
1273
+ -0.1,
1274
+ 0,
1275
+ 0.15
1276
+ ],
1277
+ action: "talk"
1278
+ },
1279
+ {
1280
+ t: 2.4,
1281
+ position: [
1282
+ 0.05,
1283
+ -0.02,
1284
+ -0.19
1285
+ ],
1286
+ rotation: [
1287
+ -0.1,
1288
+ 0,
1289
+ 0.15
1290
+ ]
1291
+ },
1292
+ {
1293
+ t: 3,
1294
+ position: [
1295
+ 0.22,
1296
+ -0.2,
1297
+ -0.4
1298
+ ],
1299
+ rotation: [
1300
+ 0,
1301
+ 0,
1302
+ 0
1303
+ ]
1304
+ }
1305
+ ]
1306
+ },
1307
+ {
1308
+ id: "turn_key",
1309
+ body: "reach",
1310
+ duration: 1.9,
1311
+ note: "the key carried out at arm's length and pointed into the lock (the keys marked reach go to the lock the host aims them at, or stay in the air before the chest), turned about itself a quarter and more, turned back, drawn out",
1312
+ keys: [
1313
+ {
1314
+ t: 0,
1315
+ position: [
1316
+ 0.22,
1317
+ -0.2,
1318
+ -0.4
1319
+ ],
1320
+ rotation: [
1321
+ 0,
1322
+ 0,
1323
+ 0
1324
+ ]
1325
+ },
1326
+ {
1327
+ t: 0.5,
1328
+ position: [
1329
+ 0.1,
1330
+ -0.15,
1331
+ -0.55
1332
+ ],
1333
+ rotation: [
1334
+ 0,
1335
+ 1.524,
1336
+ 0
1337
+ ],
1338
+ reach: true
1339
+ },
1340
+ {
1341
+ t: 0.75,
1342
+ position: [
1343
+ 0.1,
1344
+ -0.15,
1345
+ -0.57
1346
+ ],
1347
+ rotation: [
1348
+ 0,
1349
+ 1.524,
1350
+ 0
1351
+ ],
1352
+ reach: true
1353
+ },
1354
+ {
1355
+ t: 0.84,
1356
+ position: [
1357
+ 0.1,
1358
+ -0.15,
1359
+ -0.57
1360
+ ],
1361
+ rotation: [
1362
+ -1.46,
1363
+ 1.168,
1364
+ 1.45
1365
+ ],
1366
+ reach: true
1367
+ },
1368
+ {
1369
+ t: 0.93,
1370
+ position: [
1371
+ 0.1,
1372
+ -0.15,
1373
+ -0.57
1374
+ ],
1375
+ rotation: [
1376
+ -1.525,
1377
+ 0.77,
1378
+ 1.505
1379
+ ],
1380
+ reach: true
1381
+ },
1382
+ {
1383
+ t: 1.01,
1384
+ position: [
1385
+ 0.1,
1386
+ -0.15,
1387
+ -0.57
1388
+ ],
1389
+ rotation: [
1390
+ -1.552,
1391
+ 0.37,
1392
+ 1.52
1393
+ ],
1394
+ reach: true
1395
+ },
1396
+ {
1397
+ t: 1.1,
1398
+ position: [
1399
+ 0.1,
1400
+ -0.15,
1401
+ -0.57
1402
+ ],
1403
+ rotation: [
1404
+ -1.572,
1405
+ -0.029,
1406
+ 1.524
1407
+ ],
1408
+ action: "turn",
1409
+ reach: true
1410
+ },
1411
+ {
1412
+ t: 1.19,
1413
+ position: [
1414
+ 0.1,
1415
+ -0.15,
1416
+ -0.57
1417
+ ],
1418
+ rotation: [
1419
+ -1.552,
1420
+ 0.37,
1421
+ 1.52
1422
+ ],
1423
+ reach: true
1424
+ },
1425
+ {
1426
+ t: 1.27,
1427
+ position: [
1428
+ 0.1,
1429
+ -0.15,
1430
+ -0.57
1431
+ ],
1432
+ rotation: [
1433
+ -1.525,
1434
+ 0.77,
1435
+ 1.505
1436
+ ],
1437
+ reach: true
1438
+ },
1439
+ {
1440
+ t: 1.34,
1441
+ position: [
1442
+ 0.1,
1443
+ -0.15,
1444
+ -0.57
1445
+ ],
1446
+ rotation: [
1447
+ -1.46,
1448
+ 1.168,
1449
+ 1.45
1450
+ ],
1451
+ reach: true
1452
+ },
1453
+ {
1454
+ t: 1.4,
1455
+ position: [
1456
+ 0.1,
1457
+ -0.15,
1458
+ -0.57
1459
+ ],
1460
+ rotation: [
1461
+ 0,
1462
+ 1.524,
1463
+ 0
1464
+ ],
1465
+ reach: true
1466
+ },
1467
+ {
1468
+ t: 1.55,
1469
+ position: [
1470
+ 0.1,
1471
+ -0.15,
1472
+ -0.55
1473
+ ],
1474
+ rotation: [
1475
+ 0,
1476
+ 1.524,
1477
+ 0
1478
+ ],
1479
+ reach: true
1480
+ },
1481
+ {
1482
+ t: 1.9,
1483
+ position: [
1484
+ 0.22,
1485
+ -0.2,
1486
+ -0.4
1487
+ ],
1488
+ rotation: [
1489
+ 0,
1490
+ 0,
1491
+ 0
1492
+ ]
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ id: "wash_dishes",
1498
+ body: "two_hands",
1499
+ duration: 3,
1500
+ note: "both hands low in front at the height of a sink basin, the dish tipped toward the body and scrubbed in small circles, three rounds, and back; the scrubbing keys reach under the tap (aimHandUse)",
1501
+ keys: [
1502
+ {
1503
+ t: 0,
1504
+ position: [
1505
+ 0.22,
1506
+ -0.2,
1507
+ -0.4
1508
+ ],
1509
+ rotation: [
1510
+ 0,
1511
+ 0,
1512
+ 0
1513
+ ]
1514
+ },
1515
+ {
1516
+ t: 0.4,
1517
+ position: [
1518
+ 0,
1519
+ -0.55,
1520
+ -0.45
1521
+ ],
1522
+ rotation: [
1523
+ -0.5,
1524
+ 0,
1525
+ 0
1526
+ ],
1527
+ reach: true
1528
+ },
1529
+ {
1530
+ t: 0.7,
1531
+ position: [
1532
+ 0.04,
1533
+ -0.55,
1534
+ -0.41
1535
+ ],
1536
+ rotation: [
1537
+ -0.5,
1538
+ 0,
1539
+ 0
1540
+ ],
1541
+ action: "scrub",
1542
+ reach: true
1543
+ },
1544
+ {
1545
+ t: 0.95,
1546
+ position: [
1547
+ 0,
1548
+ -0.55,
1549
+ -0.37
1550
+ ],
1551
+ rotation: [
1552
+ -0.5,
1553
+ 0,
1554
+ 0
1555
+ ],
1556
+ reach: true
1557
+ },
1558
+ {
1559
+ t: 1.2,
1560
+ position: [
1561
+ -0.04,
1562
+ -0.55,
1563
+ -0.41
1564
+ ],
1565
+ rotation: [
1566
+ -0.5,
1567
+ 0,
1568
+ 0
1569
+ ],
1570
+ reach: true
1571
+ },
1572
+ {
1573
+ t: 1.45,
1574
+ position: [
1575
+ 0,
1576
+ -0.55,
1577
+ -0.45
1578
+ ],
1579
+ rotation: [
1580
+ -0.5,
1581
+ 0,
1582
+ 0
1583
+ ],
1584
+ action: "scrub",
1585
+ reach: true
1586
+ },
1587
+ {
1588
+ t: 1.7,
1589
+ position: [
1590
+ 0.04,
1591
+ -0.55,
1592
+ -0.41
1593
+ ],
1594
+ rotation: [
1595
+ -0.5,
1596
+ 0,
1597
+ 0
1598
+ ],
1599
+ reach: true
1600
+ },
1601
+ {
1602
+ t: 1.95,
1603
+ position: [
1604
+ 0,
1605
+ -0.55,
1606
+ -0.37
1607
+ ],
1608
+ rotation: [
1609
+ -0.5,
1610
+ 0,
1611
+ 0
1612
+ ],
1613
+ reach: true
1614
+ },
1615
+ {
1616
+ t: 2.2,
1617
+ position: [
1618
+ -0.04,
1619
+ -0.55,
1620
+ -0.41
1621
+ ],
1622
+ rotation: [
1623
+ -0.5,
1624
+ 0,
1625
+ 0
1626
+ ],
1627
+ action: "scrub",
1628
+ reach: true
1629
+ },
1630
+ {
1631
+ t: 2.5,
1632
+ position: [
1633
+ 0,
1634
+ -0.55,
1635
+ -0.45
1636
+ ],
1637
+ rotation: [
1638
+ -0.5,
1639
+ 0,
1640
+ 0
1641
+ ],
1642
+ reach: true
1643
+ },
1644
+ {
1645
+ t: 3,
1646
+ position: [
1647
+ 0.22,
1648
+ -0.2,
1649
+ -0.4
1650
+ ],
1651
+ rotation: [
1652
+ 0,
1653
+ 0,
1654
+ 0
1655
+ ]
1656
+ }
1657
+ ]
1658
+ },
1659
+ {
1660
+ id: "fill_cup",
1661
+ body: "hand",
1662
+ duration: 2.5,
1663
+ note: "the cup held upright, forward and low under where the tap runs, kept still while it fills, then brought back up; the keys under the tap reach where the stream is (aimHandUse)",
1664
+ keys: [
1665
+ {
1666
+ t: 0,
1667
+ position: [
1668
+ 0.22,
1669
+ -0.2,
1670
+ -0.4
1671
+ ],
1672
+ rotation: [
1673
+ 0,
1674
+ 0,
1675
+ 0
1676
+ ]
1677
+ },
1678
+ {
1679
+ t: 0.5,
1680
+ position: [
1681
+ 0.05,
1682
+ -0.55,
1683
+ -0.45
1684
+ ],
1685
+ rotation: [
1686
+ 0,
1687
+ 0,
1688
+ 0
1689
+ ],
1690
+ reach: true
1691
+ },
1692
+ {
1693
+ t: 0.7,
1694
+ position: [
1695
+ 0.05,
1696
+ -0.55,
1697
+ -0.45
1698
+ ],
1699
+ rotation: [
1700
+ 0,
1701
+ 0,
1702
+ 0
1703
+ ],
1704
+ action: "apply",
1705
+ reach: true
1706
+ },
1707
+ {
1708
+ t: 1.8,
1709
+ position: [
1710
+ 0.05,
1711
+ -0.55,
1712
+ -0.45
1713
+ ],
1714
+ rotation: [
1715
+ 0,
1716
+ 0,
1717
+ 0
1718
+ ],
1719
+ reach: true
1720
+ },
1721
+ {
1722
+ t: 2.1,
1723
+ position: [
1724
+ 0.15,
1725
+ -0.32,
1726
+ -0.42
1727
+ ],
1728
+ rotation: [
1729
+ 0,
1730
+ 0,
1731
+ 0
1732
+ ]
1733
+ },
1734
+ {
1735
+ t: 2.5,
1736
+ position: [
1737
+ 0.22,
1738
+ -0.2,
1739
+ -0.4
1740
+ ],
1741
+ rotation: [
1742
+ 0,
1743
+ 0,
1744
+ 0
1745
+ ]
1746
+ }
1747
+ ]
1748
+ },
1749
+ {
1750
+ id: "drink_cupped_hands",
1751
+ body: "two_hands",
1752
+ duration: 5,
1753
+ note: "bent over the sink: both hands cupped under the running tap, the water caught in them lifted to the mouth and drunk, three handfuls, and back; the cupped hands reach under the stream (aimHandUse) and come up to the mouth",
1754
+ keys: [
1755
+ {
1756
+ t: 0,
1757
+ position: [
1758
+ 0.22,
1759
+ -0.2,
1760
+ -0.4
1761
+ ],
1762
+ rotation: [
1763
+ 0,
1764
+ 0,
1765
+ 0
1766
+ ]
1767
+ },
1768
+ {
1769
+ t: 0.5,
1770
+ position: [
1771
+ 0,
1772
+ -0.55,
1773
+ -0.42
1774
+ ],
1775
+ rotation: [
1776
+ -0.3,
1777
+ 0,
1778
+ 0
1779
+ ],
1780
+ reach: true
1781
+ },
1782
+ {
1783
+ t: 1,
1784
+ position: [
1785
+ 0,
1786
+ -0.55,
1787
+ -0.42
1788
+ ],
1789
+ rotation: [
1790
+ -0.3,
1791
+ 0,
1792
+ 0
1793
+ ],
1794
+ reach: true
1795
+ },
1796
+ {
1797
+ t: 1.45,
1798
+ position: [
1799
+ 0,
1800
+ 0,
1801
+ -0.22
1802
+ ],
1803
+ rotation: [
1804
+ -0.9,
1805
+ 0,
1806
+ 0
1807
+ ],
1808
+ action: "swallow"
1809
+ },
1810
+ {
1811
+ t: 1.7,
1812
+ position: [
1813
+ 0,
1814
+ 0,
1815
+ -0.22
1816
+ ],
1817
+ rotation: [
1818
+ -0.9,
1819
+ 0,
1820
+ 0
1821
+ ]
1822
+ },
1823
+ {
1824
+ t: 1.9,
1825
+ position: [
1826
+ 0,
1827
+ -0.55,
1828
+ -0.42
1829
+ ],
1830
+ rotation: [
1831
+ -0.3,
1832
+ 0,
1833
+ 0
1834
+ ],
1835
+ reach: true
1836
+ },
1837
+ {
1838
+ t: 2.4,
1839
+ position: [
1840
+ 0,
1841
+ -0.55,
1842
+ -0.42
1843
+ ],
1844
+ rotation: [
1845
+ -0.3,
1846
+ 0,
1847
+ 0
1848
+ ],
1849
+ reach: true
1850
+ },
1851
+ {
1852
+ t: 2.85,
1853
+ position: [
1854
+ 0,
1855
+ 0,
1856
+ -0.22
1857
+ ],
1858
+ rotation: [
1859
+ -0.9,
1860
+ 0,
1861
+ 0
1862
+ ],
1863
+ action: "swallow"
1864
+ },
1865
+ {
1866
+ t: 3.1,
1867
+ position: [
1868
+ 0,
1869
+ 0,
1870
+ -0.22
1871
+ ],
1872
+ rotation: [
1873
+ -0.9,
1874
+ 0,
1875
+ 0
1876
+ ]
1877
+ },
1878
+ {
1879
+ t: 3.3,
1880
+ position: [
1881
+ 0,
1882
+ -0.55,
1883
+ -0.42
1884
+ ],
1885
+ rotation: [
1886
+ -0.3,
1887
+ 0,
1888
+ 0
1889
+ ],
1890
+ reach: true
1891
+ },
1892
+ {
1893
+ t: 3.8,
1894
+ position: [
1895
+ 0,
1896
+ -0.55,
1897
+ -0.42
1898
+ ],
1899
+ rotation: [
1900
+ -0.3,
1901
+ 0,
1902
+ 0
1903
+ ],
1904
+ reach: true
1905
+ },
1906
+ {
1907
+ t: 4.25,
1908
+ position: [
1909
+ 0,
1910
+ 0,
1911
+ -0.22
1912
+ ],
1913
+ rotation: [
1914
+ -0.9,
1915
+ 0,
1916
+ 0
1917
+ ],
1918
+ action: "swallow"
1919
+ },
1920
+ {
1921
+ t: 4.5,
1922
+ position: [
1923
+ 0,
1924
+ 0,
1925
+ -0.22
1926
+ ],
1927
+ rotation: [
1928
+ -0.9,
1929
+ 0,
1930
+ 0
1931
+ ]
1932
+ },
1933
+ {
1934
+ t: 5,
1935
+ position: [
1936
+ 0.22,
1937
+ -0.2,
1938
+ -0.4
1939
+ ],
1940
+ rotation: [
1941
+ 0,
1942
+ 0,
1943
+ 0
1944
+ ]
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ id: "lather_body",
1950
+ body: "body",
1951
+ duration: 6.4,
1952
+ note: "bar soap rubbed between wet hands, then over the other forearm, the chest and the belly; foam left on each",
1953
+ keys: [
1954
+ {
1955
+ t: 0,
1956
+ position: [
1957
+ 0.22,
1958
+ -0.2,
1959
+ -0.4
1960
+ ],
1961
+ rotation: [
1962
+ 0,
1963
+ 0,
1964
+ 0
1965
+ ]
1966
+ },
1967
+ {
1968
+ t: 0.4,
1969
+ position: [
1970
+ 0.02,
1971
+ -0.22,
1972
+ -0.32
1973
+ ],
1974
+ rotation: [
1975
+ 0,
1976
+ 0,
1977
+ 1.5
1978
+ ]
1979
+ },
1980
+ {
1981
+ t: 0.7,
1982
+ position: [
1983
+ -0.04,
1984
+ -0.22,
1985
+ -0.32
1986
+ ],
1987
+ rotation: [
1988
+ 0,
1989
+ 0,
1990
+ 1.5
1991
+ ],
1992
+ action: "dose"
1993
+ },
1994
+ {
1995
+ t: 1,
1996
+ position: [
1997
+ 0.05,
1998
+ -0.22,
1999
+ -0.32
2000
+ ],
2001
+ rotation: [
2002
+ 0,
2003
+ 0,
2004
+ 1.5
2005
+ ],
2006
+ action: "lather",
2007
+ surface: "hands"
2008
+ },
2009
+ {
2010
+ t: 1.3,
2011
+ position: [
2012
+ -0.04,
2013
+ -0.22,
2014
+ -0.32
2015
+ ],
2016
+ rotation: [
2017
+ 0,
2018
+ 0,
2019
+ 1.5
2020
+ ]
2021
+ },
2022
+ {
2023
+ t: 1.75,
2024
+ position: [
2025
+ -0.2,
2026
+ -0.3,
2027
+ -0.3
2028
+ ],
2029
+ rotation: [
2030
+ 0,
2031
+ 0,
2032
+ 1.2
2033
+ ]
2034
+ },
2035
+ {
2036
+ t: 2.2,
2037
+ position: [
2038
+ -0.24,
2039
+ -0.2,
2040
+ -0.26
2041
+ ],
2042
+ rotation: [
2043
+ 0,
2044
+ 0,
2045
+ 1.2
2046
+ ],
2047
+ action: "lather",
2048
+ surface: "arms"
2049
+ },
2050
+ {
2051
+ t: 2.65,
2052
+ position: [
2053
+ -0.2,
2054
+ -0.3,
2055
+ -0.3
2056
+ ],
2057
+ rotation: [
2058
+ 0,
2059
+ 0,
2060
+ 1.2
2061
+ ]
2062
+ },
2063
+ {
2064
+ t: 3.1,
2065
+ position: [
2066
+ -0.24,
2067
+ -0.2,
2068
+ -0.26
2069
+ ],
2070
+ rotation: [
2071
+ 0,
2072
+ 0,
2073
+ 1.2
2074
+ ],
2075
+ action: "lather",
2076
+ surface: "arms"
2077
+ },
2078
+ {
2079
+ t: 3.55,
2080
+ position: [
2081
+ 0,
2082
+ -0.32,
2083
+ -0.24
2084
+ ],
2085
+ rotation: [
2086
+ 0,
2087
+ 0,
2088
+ 1.5
2089
+ ]
2090
+ },
2091
+ {
2092
+ t: 4,
2093
+ position: [
2094
+ -0.08,
2095
+ -0.34,
2096
+ -0.24
2097
+ ],
2098
+ rotation: [
2099
+ 0,
2100
+ 0,
2101
+ 1.5
2102
+ ],
2103
+ action: "lather",
2104
+ surface: "torso"
2105
+ },
2106
+ {
2107
+ t: 4.45,
2108
+ position: [
2109
+ 0.06,
2110
+ -0.32,
2111
+ -0.24
2112
+ ],
2113
+ rotation: [
2114
+ 0,
2115
+ 0,
2116
+ 1.5
2117
+ ]
2118
+ },
2119
+ {
2120
+ t: 4.9,
2121
+ position: [
2122
+ 0,
2123
+ -0.5,
2124
+ -0.26
2125
+ ],
2126
+ rotation: [
2127
+ 0,
2128
+ 0,
2129
+ 1.5
2130
+ ]
2131
+ },
2132
+ {
2133
+ t: 5.35,
2134
+ position: [
2135
+ -0.08,
2136
+ -0.52,
2137
+ -0.26
2138
+ ],
2139
+ rotation: [
2140
+ 0,
2141
+ 0,
2142
+ 1.5
2143
+ ],
2144
+ action: "lather",
2145
+ surface: "torso"
2146
+ },
2147
+ {
2148
+ t: 5.8,
2149
+ position: [
2150
+ 0.06,
2151
+ -0.5,
2152
+ -0.26
2153
+ ],
2154
+ rotation: [
2155
+ 0,
2156
+ 0,
2157
+ 1.5
2158
+ ]
2159
+ },
2160
+ {
2161
+ t: 6.4,
2162
+ position: [
2163
+ 0.22,
2164
+ -0.2,
2165
+ -0.4
2166
+ ],
2167
+ rotation: [
2168
+ 0,
2169
+ 0,
2170
+ 0
2171
+ ]
2172
+ }
2173
+ ]
2174
+ },
2175
+ {
2176
+ id: "shampoo_hair",
2177
+ body: "scalp",
2178
+ duration: 4.5,
2179
+ note: "shampoo poured from the bottle into the palm, then both hands rub the hair at the top of the head; foam left in the hair",
2180
+ keys: [
2181
+ {
2182
+ t: 0,
2183
+ position: [
2184
+ 0.22,
2185
+ -0.2,
2186
+ -0.4
2187
+ ],
2188
+ rotation: [
2189
+ 0,
2190
+ 0,
2191
+ 0
2192
+ ]
2193
+ },
2194
+ {
2195
+ t: 0.45,
2196
+ position: [
2197
+ 0.02,
2198
+ -0.16,
2199
+ -0.32
2200
+ ],
2201
+ rotation: [
2202
+ -2.4,
2203
+ 0,
2204
+ 0
2205
+ ]
2206
+ },
2207
+ {
2208
+ t: 0.8,
2209
+ position: [
2210
+ 0.02,
2211
+ -0.16,
2212
+ -0.32
2213
+ ],
2214
+ rotation: [
2215
+ -2.6,
2216
+ 0,
2217
+ 0
2218
+ ],
2219
+ action: "dose"
2220
+ },
2221
+ {
2222
+ t: 1.2,
2223
+ position: [
2224
+ 0.02,
2225
+ -0.2,
2226
+ -0.34
2227
+ ],
2228
+ rotation: [
2229
+ 0,
2230
+ 0,
2231
+ 0
2232
+ ]
2233
+ },
2234
+ {
2235
+ t: 1.65,
2236
+ position: [
2237
+ -0.05,
2238
+ 0.1,
2239
+ -0.06
2240
+ ],
2241
+ rotation: [
2242
+ 0,
2243
+ 0,
2244
+ 1.2
2245
+ ]
2246
+ },
2247
+ {
2248
+ t: 2.1,
2249
+ position: [
2250
+ 0.05,
2251
+ 0.1,
2252
+ -0.06
2253
+ ],
2254
+ rotation: [
2255
+ 0,
2256
+ 0,
2257
+ 1.2
2258
+ ],
2259
+ action: "lather",
2260
+ surface: "hair"
2261
+ },
2262
+ {
2263
+ t: 2.55,
2264
+ position: [
2265
+ -0.05,
2266
+ 0.1,
2267
+ -0.06
2268
+ ],
2269
+ rotation: [
2270
+ 0,
2271
+ 0,
2272
+ 1.2
2273
+ ]
2274
+ },
2275
+ {
2276
+ t: 3,
2277
+ position: [
2278
+ 0.05,
2279
+ 0.1,
2280
+ -0.06
2281
+ ],
2282
+ rotation: [
2283
+ 0,
2284
+ 0,
2285
+ 1.2
2286
+ ],
2287
+ action: "lather",
2288
+ surface: "hair"
2289
+ },
2290
+ {
2291
+ t: 3.45,
2292
+ position: [
2293
+ -0.05,
2294
+ 0.1,
2295
+ -0.06
2296
+ ],
2297
+ rotation: [
2298
+ 0,
2299
+ 0,
2300
+ 1.2
2301
+ ]
2302
+ },
2303
+ {
2304
+ t: 3.9,
2305
+ position: [
2306
+ 0.05,
2307
+ 0.1,
2308
+ -0.06
2309
+ ],
2310
+ rotation: [
2311
+ 0,
2312
+ 0,
2313
+ 1.2
2314
+ ],
2315
+ action: "lather",
2316
+ surface: "hair"
2317
+ },
2318
+ {
2319
+ t: 4.5,
2320
+ position: [
2321
+ 0.22,
2322
+ -0.2,
2323
+ -0.4
2324
+ ],
2325
+ rotation: [
2326
+ 0,
2327
+ 0,
2328
+ 0
2329
+ ]
2330
+ }
2331
+ ]
2332
+ },
2333
+ {
2334
+ id: "brush_teeth",
2335
+ body: "mouth",
2336
+ duration: 5.9,
2337
+ note: "toothpaste squeezed on the brush, the brush scrubbed side to side in the mouth, foam spat into the basin, the brush rinsed under the tap",
2338
+ keys: [
2339
+ {
2340
+ t: 0,
2341
+ position: [
2342
+ 0.22,
2343
+ -0.2,
2344
+ -0.4
2345
+ ],
2346
+ rotation: [
2347
+ 0,
2348
+ 0,
2349
+ 0
2350
+ ]
2351
+ },
2352
+ {
2353
+ t: 0.5,
2354
+ position: [
2355
+ 0.04,
2356
+ -0.2,
2357
+ -0.34
2358
+ ],
2359
+ rotation: [
2360
+ 0,
2361
+ 0,
2362
+ 1.5
2363
+ ]
2364
+ },
2365
+ {
2366
+ t: 0.9,
2367
+ position: [
2368
+ 0.04,
2369
+ -0.2,
2370
+ -0.34
2371
+ ],
2372
+ rotation: [
2373
+ 0,
2374
+ 0,
2375
+ 1.5
2376
+ ],
2377
+ action: "dose"
2378
+ },
2379
+ {
2380
+ t: 1.4,
2381
+ position: [
2382
+ 0.02,
2383
+ -0.06,
2384
+ -0.17
2385
+ ],
2386
+ rotation: [
2387
+ 0,
2388
+ 0,
2389
+ 1.5
2390
+ ]
2391
+ },
2392
+ {
2393
+ t: 1.7,
2394
+ position: [
2395
+ 0,
2396
+ -0.06,
2397
+ -0.17
2398
+ ],
2399
+ rotation: [
2400
+ 0,
2401
+ 0,
2402
+ 1.5
2403
+ ]
2404
+ },
2405
+ {
2406
+ t: 2,
2407
+ position: [
2408
+ 0.04,
2409
+ -0.06,
2410
+ -0.17
2411
+ ],
2412
+ rotation: [
2413
+ 0,
2414
+ 0,
2415
+ 1.5
2416
+ ],
2417
+ action: "lather",
2418
+ surface: "mouth"
2419
+ },
2420
+ {
2421
+ t: 2.3,
2422
+ position: [
2423
+ 0,
2424
+ -0.06,
2425
+ -0.17
2426
+ ],
2427
+ rotation: [
2428
+ 0,
2429
+ 0,
2430
+ 1.5
2431
+ ]
2432
+ },
2433
+ {
2434
+ t: 2.6,
2435
+ position: [
2436
+ 0.04,
2437
+ -0.06,
2438
+ -0.17
2439
+ ],
2440
+ rotation: [
2441
+ 0,
2442
+ 0,
2443
+ 1.5
2444
+ ],
2445
+ action: "lather",
2446
+ surface: "mouth"
2447
+ },
2448
+ {
2449
+ t: 2.9,
2450
+ position: [
2451
+ 0,
2452
+ -0.06,
2453
+ -0.17
2454
+ ],
2455
+ rotation: [
2456
+ 0,
2457
+ 0,
2458
+ 1.5
2459
+ ]
2460
+ },
2461
+ {
2462
+ t: 3.2,
2463
+ position: [
2464
+ 0.04,
2465
+ -0.06,
2466
+ -0.17
2467
+ ],
2468
+ rotation: [
2469
+ 0,
2470
+ 0,
2471
+ 1.5
2472
+ ],
2473
+ action: "lather",
2474
+ surface: "mouth"
2475
+ },
2476
+ {
2477
+ t: 3.5,
2478
+ position: [
2479
+ 0,
2480
+ -0.06,
2481
+ -0.17
2482
+ ],
2483
+ rotation: [
2484
+ 0,
2485
+ 0,
2486
+ 1.5
2487
+ ]
2488
+ },
2489
+ {
2490
+ t: 3.8,
2491
+ position: [
2492
+ 0.04,
2493
+ -0.06,
2494
+ -0.17
2495
+ ],
2496
+ rotation: [
2497
+ 0,
2498
+ 0,
2499
+ 1.5
2500
+ ],
2501
+ action: "lather",
2502
+ surface: "mouth"
2503
+ },
2504
+ {
2505
+ t: 4.2,
2506
+ position: [
2507
+ 0.02,
2508
+ -0.06,
2509
+ -0.2
2510
+ ],
2511
+ rotation: [
2512
+ 0,
2513
+ 0,
2514
+ 1.5
2515
+ ],
2516
+ action: "spit",
2517
+ surface: "mouth"
2518
+ },
2519
+ {
2520
+ t: 4.7,
2521
+ position: [
2522
+ 0.04,
2523
+ -0.34,
2524
+ -0.44
2525
+ ],
2526
+ rotation: [
2527
+ 0,
2528
+ 0,
2529
+ 1.5
2530
+ ]
2531
+ },
2532
+ {
2533
+ t: 5.3,
2534
+ position: [
2535
+ 0.04,
2536
+ -0.34,
2537
+ -0.44
2538
+ ],
2539
+ rotation: [
2540
+ 0,
2541
+ 0,
2542
+ 1.5
2543
+ ],
2544
+ action: "rinse",
2545
+ surface: "brush"
2546
+ },
2547
+ {
2548
+ t: 5.9,
2549
+ position: [
2550
+ 0.22,
2551
+ -0.2,
2552
+ -0.4
2553
+ ],
2554
+ rotation: [
2555
+ 0,
2556
+ 0,
2557
+ 0
2558
+ ]
2559
+ }
2560
+ ]
2561
+ },
2562
+ {
2563
+ id: "wash_hands",
2564
+ body: "two_hands",
2565
+ duration: 6.5,
2566
+ note: "hands wet under the tap, the bar rubbed between them into foam, rinsed under the water and shaken dry",
2567
+ keys: [
2568
+ {
2569
+ t: 0,
2570
+ position: [
2571
+ 0.22,
2572
+ -0.2,
2573
+ -0.4
2574
+ ],
2575
+ rotation: [
2576
+ 0,
2577
+ 0,
2578
+ 0
2579
+ ]
2580
+ },
2581
+ {
2582
+ t: 0.5,
2583
+ position: [
2584
+ 0,
2585
+ -0.34,
2586
+ -0.44
2587
+ ],
2588
+ rotation: [
2589
+ 0,
2590
+ 0,
2591
+ 1.5
2592
+ ]
2593
+ },
2594
+ {
2595
+ t: 1,
2596
+ position: [
2597
+ 0,
2598
+ -0.34,
2599
+ -0.44
2600
+ ],
2601
+ rotation: [
2602
+ 0,
2603
+ 0,
2604
+ 1.5
2605
+ ],
2606
+ action: "rinse",
2607
+ surface: "hands"
2608
+ },
2609
+ {
2610
+ t: 1.4,
2611
+ position: [
2612
+ 0.02,
2613
+ -0.26,
2614
+ -0.36
2615
+ ],
2616
+ rotation: [
2617
+ 0,
2618
+ 0,
2619
+ 1.5
2620
+ ],
2621
+ action: "dose"
2622
+ },
2623
+ {
2624
+ t: 1.7,
2625
+ position: [
2626
+ -0.04,
2627
+ -0.26,
2628
+ -0.36
2629
+ ],
2630
+ rotation: [
2631
+ 0,
2632
+ 0,
2633
+ 1.5
2634
+ ]
2635
+ },
2636
+ {
2637
+ t: 2,
2638
+ position: [
2639
+ 0.06,
2640
+ -0.26,
2641
+ -0.36
2642
+ ],
2643
+ rotation: [
2644
+ 0,
2645
+ 0,
2646
+ 1.5
2647
+ ],
2648
+ action: "lather",
2649
+ surface: "hands"
2650
+ },
2651
+ {
2652
+ t: 2.3,
2653
+ position: [
2654
+ -0.04,
2655
+ -0.26,
2656
+ -0.36
2657
+ ],
2658
+ rotation: [
2659
+ 0,
2660
+ 0,
2661
+ 1.5
2662
+ ]
2663
+ },
2664
+ {
2665
+ t: 2.6,
2666
+ position: [
2667
+ 0.06,
2668
+ -0.26,
2669
+ -0.36
2670
+ ],
2671
+ rotation: [
2672
+ 0,
2673
+ 0,
2674
+ 1.5
2675
+ ],
2676
+ action: "lather",
2677
+ surface: "hands"
2678
+ },
2679
+ {
2680
+ t: 2.9,
2681
+ position: [
2682
+ -0.04,
2683
+ -0.26,
2684
+ -0.36
2685
+ ],
2686
+ rotation: [
2687
+ 0,
2688
+ 0,
2689
+ 1.5
2690
+ ]
2691
+ },
2692
+ {
2693
+ t: 3.2,
2694
+ position: [
2695
+ 0.06,
2696
+ -0.26,
2697
+ -0.36
2698
+ ],
2699
+ rotation: [
2700
+ 0,
2701
+ 0,
2702
+ 1.5
2703
+ ],
2704
+ action: "lather",
2705
+ surface: "hands"
2706
+ },
2707
+ {
2708
+ t: 3.7,
2709
+ position: [
2710
+ 0,
2711
+ -0.34,
2712
+ -0.44
2713
+ ],
2714
+ rotation: [
2715
+ 0,
2716
+ 0,
2717
+ 1.5
2718
+ ]
2719
+ },
2720
+ {
2721
+ t: 4.6,
2722
+ position: [
2723
+ 0.04,
2724
+ -0.34,
2725
+ -0.44
2726
+ ],
2727
+ rotation: [
2728
+ 0,
2729
+ 0,
2730
+ 1.5
2731
+ ],
2732
+ action: "rinse",
2733
+ surface: "hands"
2734
+ },
2735
+ {
2736
+ t: 5.1,
2737
+ position: [
2738
+ 0.04,
2739
+ -0.24,
2740
+ -0.36
2741
+ ],
2742
+ rotation: [
2743
+ 0,
2744
+ 0,
2745
+ 1.5
2746
+ ]
2747
+ },
2748
+ {
2749
+ t: 5.5,
2750
+ position: [
2751
+ -0.02,
2752
+ -0.24,
2753
+ -0.36
2754
+ ],
2755
+ rotation: [
2756
+ 0,
2757
+ 0,
2758
+ 1.5
2759
+ ],
2760
+ action: "dry",
2761
+ surface: "hands"
2762
+ },
2763
+ {
2764
+ t: 5.9,
2765
+ position: [
2766
+ 0.04,
2767
+ -0.24,
2768
+ -0.36
2769
+ ],
2770
+ rotation: [
2771
+ 0,
2772
+ 0,
2773
+ 1.5
2774
+ ]
2775
+ },
2776
+ {
2777
+ t: 6.5,
2778
+ position: [
2779
+ 0.22,
2780
+ -0.2,
2781
+ -0.4
2782
+ ],
2783
+ rotation: [
2784
+ 0,
2785
+ 0,
2786
+ 0
2787
+ ]
2788
+ }
2789
+ ]
2790
+ }
2791
+ ];
2792
+ var HAND_USES = hand_uses_default;
2793
+ var handUseOf = (id, defs = HAND_USES) => defs.find((def) => def.id === id);
485
2794
 
486
2795
  // ../game-fluids/dist/index.js
487
2796
  var liquids_default = [
@@ -981,6 +3290,48 @@ var GameInteractablesHousehold = (() => {
981
3290
  tags: [
982
3291
  "brake_fluid"
983
3292
  ]
3293
+ },
3294
+ {
3295
+ id: "shampoo",
3296
+ color: 6069216,
3297
+ opacity: 0.75,
3298
+ stainColor: 9418462,
3299
+ viscosity: 4e3,
3300
+ density: 1020,
3301
+ dryTime: 3600,
3302
+ gloss: 0.9,
3303
+ leavesMark: true,
3304
+ drink: {
3305
+ thirst: 0,
3306
+ effects: [
3307
+ "poison"
3308
+ ]
3309
+ },
3310
+ tags: [
3311
+ "soap",
3312
+ "sticky"
3313
+ ]
3314
+ },
3315
+ {
3316
+ id: "toothpaste",
3317
+ color: 16054008,
3318
+ opacity: 1,
3319
+ stainColor: 15133935,
3320
+ viscosity: 1e5,
3321
+ density: 1300,
3322
+ dryTime: 7200,
3323
+ gloss: 0.6,
3324
+ leavesMark: true,
3325
+ drink: {
3326
+ thirst: 0,
3327
+ effects: [
3328
+ "poison"
3329
+ ]
3330
+ },
3331
+ tags: [
3332
+ "soap",
3333
+ "paste"
3334
+ ]
984
3335
  }
985
3336
  ];
986
3337
  var LIQUIDS = liquids_default;
@@ -12108,6 +14459,7 @@ var GameInteractablesHousehold = (() => {
12108
14459
  shape: "box",
12109
14460
  color: 15790304,
12110
14461
  rarity: "common",
14462
+ model: "soap",
12111
14463
  parts: [
12112
14464
  {
12113
14465
  id: "body",
@@ -12143,6 +14495,7 @@ var GameInteractablesHousehold = (() => {
12143
14495
  shape: "bottle",
12144
14496
  color: 4885200,
12145
14497
  rarity: "common",
14498
+ model: "shampoo",
12146
14499
  consumable: {
12147
14500
  form: "liquid",
12148
14501
  unit: "ml",
@@ -12150,7 +14503,17 @@ var GameInteractablesHousehold = (() => {
12150
14503
  dose: 8,
12151
14504
  emptyKg: 0.044,
12152
14505
  density: 1.02
12153
- }
14506
+ },
14507
+ parts: [
14508
+ {
14509
+ id: "body",
14510
+ material: "plastic",
14511
+ thickness: 8e-4
14512
+ }
14513
+ ],
14514
+ estimated: [
14515
+ "parts"
14516
+ ]
12154
14517
  },
12155
14518
  {
12156
14519
  id: "toothpaste",
@@ -12169,13 +14532,24 @@ var GameInteractablesHousehold = (() => {
12169
14532
  shape: "tube",
12170
14533
  color: 15790320,
12171
14534
  rarity: "common",
14535
+ model: "toothpaste",
12172
14536
  consumable: {
12173
14537
  form: "paste",
12174
14538
  unit: "g",
12175
14539
  amount: 90,
12176
14540
  dose: 1,
12177
14541
  emptyKg: 0.01
12178
- }
14542
+ },
14543
+ parts: [
14544
+ {
14545
+ id: "body",
14546
+ material: "plastic",
14547
+ thickness: 8e-4
14548
+ }
14549
+ ],
14550
+ estimated: [
14551
+ "parts"
14552
+ ]
12179
14553
  },
12180
14554
  {
12181
14555
  id: "toothbrush",
@@ -12193,7 +14567,18 @@ var GameInteractablesHousehold = (() => {
12193
14567
  stack: 3,
12194
14568
  shape: "tool",
12195
14569
  color: 3840720,
12196
- rarity: "common"
14570
+ rarity: "common",
14571
+ model: "toothbrush",
14572
+ parts: [
14573
+ {
14574
+ id: "body",
14575
+ material: "plastic",
14576
+ thickness: 5e-3
14577
+ }
14578
+ ],
14579
+ estimated: [
14580
+ "parts"
14581
+ ]
12197
14582
  },
12198
14583
  {
12199
14584
  id: "deodorant",
@@ -22902,6 +25287,12 @@ var GameInteractablesHousehold = (() => {
22902
25287
  // src/builders/kitchen.ts
22903
25288
  var STOVE_WALL_GAP = 0.04;
22904
25289
  var STEEL = 11843772;
25290
+ var HAND_WASH_SOAP_GRAMS = 0.4;
25291
+ function scrubSecondsOf(clip) {
25292
+ const use = handUseOf(clip);
25293
+ if (!use) throw new Error(`No hand use for the washing clip ${clip}`);
25294
+ return use.duration;
25295
+ }
22905
25296
  var CHROME = 13817562;
22906
25297
  var DISHES = ["plate", "bowl", "cup", "wine_glass", "cutlery", "knife", "pot", "pan"];
22907
25298
  var DISH_NEEDS = ["detergent", "sponge"];
@@ -23234,6 +25625,44 @@ var GameInteractablesHousehold = (() => {
23234
25625
  slots: c.row(sh.ix0 + 0.15, sh.ix1 - 0.01, sh.iy0, (sh.iz0 + sh.iz1) / 2, 1, [0.3, 0.4, 0.3]),
23235
25626
  loot: "under_sink"
23236
25627
  });
25628
+ washbasinCounter(c, top, hw * 0.6);
25629
+ c.add("uses", { id: "wash_hands", do: "wash", fixture: "tap", surface: "hands", clip: "wash_hands", label: "use.wash_hands", needs: ["soap"], dose: { need: 0, amount: HAND_WASH_SOAP_GRAMS }, scrubSeconds: scrubSecondsOf("wash_hands") });
25630
+ c.add("uses", { id: "brush_teeth", do: "wash", fixture: "tap", surface: "mouth", clip: "brush_teeth", label: "use.brush_teeth", needs: ["toothbrush", "toothpaste"], dose: { need: 1 }, scrubSeconds: scrubSecondsOf("brush_teeth") });
25631
+ }
25632
+ function washbasinCounter(c, top, basinEdge) {
25633
+ const { hw, hd } = c;
25634
+ const side = round3((basinEdge + hw) / 2);
25635
+ c.container({
25636
+ id: "counter",
25637
+ from: [-hw, top, -hd],
25638
+ to: [hw, top + 0.12, hd],
25639
+ slots: [
25640
+ { pos: [-side, top, 0], max: [0.1, 0.04, 0.1] },
25641
+ { pos: [round3(side - 0.025), top, 0.02], max: [0.03, 0.03, 0.19], lay: "z" },
25642
+ { pos: [round3(side + 0.028), top, 0.02], max: [0.045, 0.04, 0.19], lay: "z" },
25643
+ { pos: [round3(-basinEdge + 0.01), top, round3(-hd + 0.065)], max: [0.09, 0.1, 0.09] }
25644
+ ],
25645
+ contents: [{ type: "soap", qty: 1 }, { type: "toothbrush", qty: 1 }, { type: "toothpaste", qty: 1 }, { type: "cup", qty: 1 }]
25646
+ });
25647
+ }
25648
+ function showerShelf(c) {
25649
+ const { hw, hd } = c;
25650
+ const y = 0.85;
25651
+ const x0 = -hw + 0.033;
25652
+ const x1 = round3(x0 + 0.3);
25653
+ const z0 = -hd + 0.033;
25654
+ const z1 = round3(z0 + 0.13);
25655
+ c.b("plain", x0, y - 0.025, z0, x1, y, z1, 15133162);
25656
+ c.container({
25657
+ id: "shelf",
25658
+ from: [x0, y, z0],
25659
+ to: [x1, y + 0.25, z1],
25660
+ slots: [
25661
+ { pos: [round3(x0 + 0.07), y, round3((z0 + z1) / 2)], max: [0.1, 0.04, 0.06] },
25662
+ { pos: [round3(x0 + 0.2), y, round3((z0 + z1) / 2)], max: [0.07, 0.21, 0.05] }
25663
+ ],
25664
+ contents: [{ type: "soap", qty: 1 }, { type: "shampoo", qty: 1 }]
25665
+ });
23237
25666
  }
23238
25667
  function utilitySink(c) {
23239
25668
  const { hw, hd } = c;
@@ -23299,6 +25728,9 @@ var GameInteractablesHousehold = (() => {
23299
25728
  c.add("emitters", { id: "shower_water", kind: "water", pos: outlet, dir: [0, -1, 0.15], source: "shower", size: 0.35 });
23300
25729
  c.add("emitters", { id: "shower_steam", kind: "steam", pos: [0, 1.4, 0], dir: [0, 1, 0], source: "shower", size: 0.8 });
23301
25730
  c.interact("use_shower", [0.25, 1.1, -hd + 0.08], { do: "toggle_fixture", fixture: "shower" }, "prompt.shower", 1.3);
25731
+ showerShelf(c);
25732
+ c.add("uses", { id: "lather_body", do: "wash", fixture: "shower", surface: "body", clip: "lather_body", label: "use.lather_body", needs: ["soap"], dose: { need: 0 }, opensFixture: false, requiresFlowing: true, scrubSeconds: scrubSecondsOf("lather_body") });
25733
+ c.add("uses", { id: "shampoo_hair", do: "wash", fixture: "shower", surface: "hair", clip: "shampoo_hair", label: "use.shampoo_hair", needs: ["shampoo"], dose: { need: 0 }, opensFixture: false, requiresFlowing: true, scrubSeconds: scrubSecondsOf("shampoo_hair") });
23302
25734
  const gl = 12573670;
23303
25735
  const zFront = hd - 0.015;
23304
25736
  const gh = h - 0.1;