Name for Tag properties and work on special buttons

This commit is contained in:
2024-05-14 02:04:07 -04:00
parent 5018a8ef3b
commit 1e905fdee4
8 changed files with 253 additions and 163 deletions

View File

@@ -4,11 +4,12 @@
local Enums = {}
export type EnumValue = EnumButton | EnumButtonTree | EnumElevator | EnumInteractables
export type EnumValue = EnumButton | EnumButtonTree | EnumElevator | EnumInteractables | EnumSpecialButton
export type EnumButton = typeof(Enums.Button)
export type EnumButtonTree = typeof(Enums.ButtonTree)
export type EnumElevator = typeof(Enums.Elevator)
export type EnumInteractables = typeof(Enums.InteractType)
export type EnumSpecialButton = typeof(Enums.SpecialButton)
export type ButtonValues = typeof(Enums.Button.Car) |
typeof(Enums.Button.Landing) |
@@ -21,6 +22,8 @@ export type ButtonTreeValues = typeof(Enums.ButtonTree.Car) |
typeof(Enums.ButtonTree.Relays) |
typeof(Enums.ButtonTree.Unknown)
export type SpecialButtonValues = typeof(Enums.SpecialButton.Stop)
export type InteractablesValues = typeof(Enums.InteractType.LightSwitch) |
typeof(Enums.InteractType.Light) |
typeof(Enums.InteractType.LightSource)
@@ -42,6 +45,10 @@ Enums.ButtonTree = {
Unknown = "Unknown" :: "Unknown"
}
Enums.SpecialButton = {
Stop = "Stop" :: "Stop"
}
Enums.Elevator = {
Otis1960 = "Otis1960" :: "Otis1960"
}