Remove recursive search for light source, add LightSources

This commit is contained in:
2024-04-19 01:23:27 -04:00
parent e76e38bf0f
commit dbda8f9ca6
3 changed files with 38 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ export type EnumValue = EnumButton | EnumButtonTree | EnumElevator | EnumInterac
export type EnumButton = typeof(Enums.Button)
export type EnumButtonTree = typeof(Enums.ButtonTree)
export type EnumElevator = typeof(Enums.Elevator)
export type EnumInteractables = typeof(Enums.Interactables)
export type EnumInteractables = typeof(Enums.InteractType)
export type ButtonValues = typeof(Enums.Button.Car) |
typeof(Enums.Button.Landing) |
@@ -21,8 +21,9 @@ export type ButtonTreeValues = typeof(Enums.ButtonTree.Car) |
typeof(Enums.ButtonTree.Relays) |
typeof(Enums.ButtonTree.Unknown)
export type InteractablesValues = typeof(Enums.Interactables.LightSwitch) |
typeof(Enums.Interactables.Light)
export type InteractablesValues = typeof(Enums.InteractType.LightSwitch) |
typeof(Enums.InteractType.Light) |
typeof(Enums.InteractType.LightSource)
export type ElevatorValues = typeof(Enums.Elevator.Otis1960)
@@ -45,9 +46,10 @@ Enums.Elevator = {
Otis1960 = "Otis1960" :: "Otis1960"
}
Enums.Interactables = {
Enums.InteractType = {
LightSwitch = "LightSwitch" :: "LightSwitch",
Light = "Light" :: "Light"
Light = "Light" :: "Light",
LightSource = "LightSource" :: "LightSource"
}
return Enums