@@ -150,7 +150,7 @@ export interface EventNotificationSettings {
150150 ch47Spawned : EventNotificationSetting ;
151151 ch47Despawned : EventNotificationSetting ;
152152 ch47Destroyed : EventNotificationSetting ;
153- ch47DroppedLockedCrate : EventNotificationSetting ;
153+ ch47MaybeDroppedLockedCrate : EventNotificationSetting ;
154154 ch47HeavyScientistsCalled : EventNotificationSetting ;
155155 ch47OilRigLockedCrateUnlocked : EventNotificationSetting ;
156156 cargoShipSpawned : EventNotificationSetting ;
@@ -200,7 +200,7 @@ export interface SettingsMessages {
200200 ch47Spawned : types . MessageId | null ;
201201 ch47Despawned : types . MessageId | null ;
202202 ch47Destroyed : types . MessageId | null ;
203- ch47DroppedLockedCrate : types . MessageId | null ;
203+ ch47MaybeDroppedLockedCrate : types . MessageId | null ;
204204 ch47HeavyScientistsCalled : types . MessageId | null ;
205205 ch47OilRigLockedCrateUnlocked : types . MessageId | null ;
206206 cargoShipSpawned : types . MessageId | null ;
@@ -284,6 +284,7 @@ export interface ServerInfo {
284284 smartSwitchGroupConfigMap : SmartSwitchGroupConfigMap ;
285285 dayDurationSeconds : number | null ;
286286 nightDurationSeconds : number | null ;
287+ oilRigLockedCrateUnlockTimeMs : number ;
287288}
288289
289290export interface SmartSwitchConfig {
@@ -602,7 +603,7 @@ export class GuildInstanceManager {
602603 ch47Spawned : null ,
603604 ch47Despawned : null ,
604605 ch47Destroyed : null ,
605- ch47DroppedLockedCrate : null ,
606+ ch47MaybeDroppedLockedCrate : null ,
606607 ch47HeavyScientistsCalled : null ,
607608 ch47OilRigLockedCrateUnlocked : null ,
608609 cargoShipSpawned : null ,
@@ -1060,7 +1061,7 @@ export function isValidEventNotificationSettings(object: unknown): object is Eve
10601061 'ch47Spawned' ,
10611062 'ch47Despawned' ,
10621063 'ch47Destroyed' ,
1063- 'ch47DroppedLockedCrate ' ,
1064+ 'ch47MaybeDroppedLockedCrate ' ,
10641065 'ch47HeavyScientistsCalled' ,
10651066 'ch47OilRigLockedCrateUnlocked' ,
10661067 'cargoShipSpawned' ,
@@ -1088,7 +1089,7 @@ export function isValidEventNotificationSettings(object: unknown): object is Eve
10881089 errors . push ( vu . validateInterface ( 'ch47Spawned' , obj . ch47Spawned , isValidEventNotificationSetting ) ) ;
10891090 errors . push ( vu . validateInterface ( 'ch47Despawned' , obj . ch47Despawned , isValidEventNotificationSetting ) ) ;
10901091 errors . push ( vu . validateInterface ( 'ch47Destroyed' , obj . ch47Destroyed , isValidEventNotificationSetting ) ) ;
1091- errors . push ( vu . validateInterface ( 'ch47DroppedLockedCrate ' , obj . ch47DroppedLockedCrate ,
1092+ errors . push ( vu . validateInterface ( 'ch47MaybeDroppedLockedCrate ' , obj . ch47MaybeDroppedLockedCrate ,
10921093 isValidEventNotificationSetting ) ) ;
10931094 errors . push ( vu . validateInterface ( 'ch47HeavyScientistsCalled' , obj . ch47HeavyScientistsCalled ,
10941095 isValidEventNotificationSetting ) ) ;
@@ -1198,7 +1199,7 @@ export function isValidSettingsMessages(object: unknown): object is SettingsMess
11981199 'ch47Spawned' ,
11991200 'ch47Despawned' ,
12001201 'ch47Destroyed' ,
1201- 'ch47DroppedLockedCrate ' ,
1202+ 'ch47MaybeDroppedLockedCrate ' ,
12021203 'ch47HeavyScientistsCalled' ,
12031204 'ch47OilRigLockedCrateUnlocked' ,
12041205 'cargoShipSpawned' ,
@@ -1243,7 +1244,7 @@ export function isValidSettingsMessages(object: unknown): object is SettingsMess
12431244 errors . push ( vu . validateType ( 'ch47Spawned' , obj . ch47Spawned , 'string' , null ) ) ;
12441245 errors . push ( vu . validateType ( 'ch47Despawned' , obj . ch47Despawned , 'string' , null ) ) ;
12451246 errors . push ( vu . validateType ( 'ch47Destroyed' , obj . ch47Destroyed , 'string' , null ) ) ;
1246- errors . push ( vu . validateType ( 'ch47DroppedLockedCrate ' , obj . ch47DroppedLockedCrate , 'string' , null ) ) ;
1247+ errors . push ( vu . validateType ( 'ch47MaybeDroppedLockedCrate ' , obj . ch47MaybeDroppedLockedCrate , 'string' , null ) ) ;
12471248 errors . push ( vu . validateType ( 'ch47HeavyScientistsCalled' , obj . ch47HeavyScientistsCalled , 'string' , null ) ) ;
12481249 errors . push ( vu . validateType ( 'ch47OilRigLockedCrateUnlocked' , obj . ch47OilRigLockedCrateUnlocked , 'string' , null ) ) ;
12491250 errors . push ( vu . validateType ( 'cargoShipSpawned' , obj . cargoShipSpawned , 'string' , null ) ) ;
@@ -1473,7 +1474,8 @@ export function isValidServerInfo(object: unknown): object is ServerInfo {
14731474 'storageMonitorConfigMap' ,
14741475 'smartSwitchGroupConfigMap' ,
14751476 'dayDurationSeconds' ,
1476- 'nightDurationSeconds'
1477+ 'nightDurationSeconds' ,
1478+ 'oilRigLockedCrateUnlockTimeMs'
14771479 ] ;
14781480
14791481 const errors : ( vu . ValidationError | null ) [ ] = [ ] ;
@@ -1500,6 +1502,7 @@ export function isValidServerInfo(object: unknown): object is ServerInfo {
15001502 isValidSmartSwitchGroupConfig ) ) ;
15011503 errors . push ( vu . validateType ( 'dayDurationSeconds' , obj . dayDurationSeconds , 'number' , null ) ) ;
15021504 errors . push ( vu . validateType ( 'nightDurationSeconds' , obj . nightDurationSeconds , 'number' , null ) ) ;
1505+ errors . push ( vu . validateType ( 'oilRigLockedCrateUnlockTimeMs' , obj . oilRigLockedCrateUnlockTimeMs , 'number' ) ) ;
15031506
15041507 const filteredErrors = errors . filter ( ( error ) : error is vu . ValidationError => error !== null ) ;
15051508
0 commit comments