157 Commits

Author SHA1 Message Date
JohnCorby
c29f94f122 light sensors: nvm, go back to how we were doing it before 2022-05-27 13:37:07 -07:00
JohnCorby
b20955f24e qsbLightSensor.Illuminated 2022-05-27 13:30:31 -07:00
JohnCorby
d92d9ae561 moment 2022-05-27 13:26:45 -07:00
JohnCorby
2bcf1a3593 funny moment 2022-05-27 11:02:50 -07:00
JohnCorby
a25c5cbff4 lol 2022-05-27 10:41:22 -07:00
JohnCorby
9616fe85ef base illumination checks 2022-05-27 10:40:20 -07:00
JohnCorby
0f99ae1dbb lol 2022-05-26 21:34:48 -07:00
JohnCorby
365595095a light sensor: check that you're holding the item for local illumination 2022-05-26 21:32:55 -07:00
JohnCorby
11b27a017b TryGetWorldObject 2022-05-26 21:27:17 -07:00
JohnCorby
cad49f6ee0 light sensors: do a local thingy 2022-05-26 21:23:05 -07:00
JohnCorby
5a8e48ed50 QSBWorldSync.HasWorldObject 2022-05-26 20:48:04 -07:00
Mister_Nebula
18a069427b build candles and light sensors in the eye 2022-05-03 09:43:57 +01:00
JohnCorby
8c71584a0d ignore player light sensors for real 2022-04-10 15:29:36 -07:00
JohnCorby
4e445568e9 ignore player light sensors 2022-04-10 15:16:44 -07:00
JohnCorby
9fc4c3df8a oops 2022-04-06 10:37:41 -07:00
JohnCorby
212a002d58 light sensor: local illumination for lantern + artifact 2022-04-06 10:31:39 -07:00
JohnCorby
5d5944f020 QSBAlarmTotem: set enabled 2022-04-01 02:33:55 -07:00
JohnCorby
0fef22cbf1 Revert "QSBLightSensor: use remote call"
This reverts commit caf952a3
2022-04-01 02:27:39 -07:00
JohnCorby
c7ff9f5e86 world objects: i forgor to do { To = to } on some initial state messages 2022-03-29 13:54:09 -07:00
JohnCorby
caf952a3c2 QSBLightSensor: use remote call 2022-03-29 13:46:44 -07:00
JohnCorby
179a7ddfc3 QSBLightSensor: AttachedObject._sector null check 2022-03-26 22:47:04 -07:00
JohnCorby
dbec556dd3 QSBLightSensor: don't disable lights if local player is still in the sector :)) 2022-03-26 22:24:05 -07:00
JohnCorby
82666dff2d light sensors: set enabled message, too lazy to do auth stuff 2022-03-18 04:16:48 -07:00
JohnCorby
a7c77be6ac LightSensorManager: make it happens always cuz they're funky (patches always try to find "CameraDetector" world object) 2022-03-18 01:58:07 -07:00
JohnCorby
ff3d139ac7 WorldObjectManager: DlcOnly flag 2022-03-11 10:04:11 -08:00
JohnCorby
bede8d1061 light sensors exist in the eye scene too 2022-03-09 21:24:40 -08:00
JohnCorby
5bfbb5d4c6 optimize imports 2022-03-07 15:13:28 -08:00
JohnCorby
4fed75df64 comment 2022-03-07 15:13:17 -08:00
JohnCorby
a8925d3b1f funni blank line 2022-03-07 15:08:33 -08:00
JohnCorby
fbb6a334ac light sensor: remote probe 2022-03-07 15:02:10 -08:00
JohnCorby
66339575cd light sensor: better detection of local light/darkness 2022-03-06 23:13:48 -08:00
JohnCorby
ebd3af69b8 baba booey 2022-03-06 22:49:06 -08:00
JohnCorby
e4da50a656 solution-wide: file-scoped namespaces 2022-03-02 19:46:33 -08:00
JohnCorby
a8fba743f6 Revert "solution wide: use file-scoped namespace" 2022-02-27 05:25:39 -08:00
JohnCorby
7cef229cd7 slightly better light sensor 2022-02-26 00:26:31 -08:00
JohnCorby
0428ee9f13 Raft: get authority on sensor light-up 2022-02-26 00:02:14 -08:00
JohnCorby
4c44a26ba0 LightSensorPatches: comment 2022-02-25 23:18:54 -08:00
JohnCorby
9b94f54a45 WorldObjectType -> WorldObjectScene 2022-02-25 23:18:47 -08:00
JohnCorby
182678c4bc solution wide: use file-scoped namespace 2022-02-25 23:18:46 -08:00
JohnCorby
86cb1211bf Revert "make PreserveTimeScale and WakeUpSync not NetworkBehaviours attached to the player"
This reverts commit ac86f843bea5b29692d5852aecb47badb3e3aa76.
2022-02-05 01:50:14 -08:00
JohnCorby
b7ccec2745 Update LightSensorPatches.cs 2022-02-04 19:54:00 -08:00
JohnCorby
ac86f843be make PreserveTimeScale and WakeUpSync not NetworkBehaviours attached to the player 2022-02-04 17:35:13 -08:00
JohnCorby
edf469d3e4 rename 2022-01-28 20:50:34 -08:00
JohnCorby
2f99dec87f make BuildWorldObjects async 2022-01-28 20:49:07 -08:00
JohnCorby
822cfe5fd8 comment 2022-01-26 15:56:17 -08:00
JohnCorby
a2660d6a54 send initial states less often and not in RequestStateResyncMessage 2022-01-26 00:12:44 -08:00
JohnCorby
1800e6f21f make SendResyncInfo abstract to make sure we handle resyncs 2022-01-25 21:08:04 -08:00
JohnCorby
7e1f62666a seperate building and unbuilding of world objects 2022-01-18 00:46:27 -08:00
JohnCorby
2743c8ffa9 move a bunch of WorldObjectManager stuff to QSBWorldSync 2022-01-18 00:27:32 -08:00
JohnCorby
a0a1c21a66 redundant arguments with default value 2021-12-26 21:08:40 -08:00