mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-14 06:41:55 +00:00
Change relay name and relay logic link
This commit is contained in:
@@ -308,6 +308,9 @@ function Elevator.constructor(TagsConstructor, ButtonsTags, LanternsTags, Landin
|
|||||||
return ClassConstructor
|
return ClassConstructor
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--The Otis relay based call logic
|
||||||
|
--https://youtu.be/BCN9mQOT3RQ
|
||||||
|
|
||||||
--Sort the queue based on direction
|
--Sort the queue based on direction
|
||||||
--[[
|
--[[
|
||||||
Up: {
|
Up: {
|
||||||
|
|||||||
@@ -126,8 +126,8 @@ function ButtonsModule:CreatePromptButtons()
|
|||||||
local Name = tostring(Split[3])
|
local Name = tostring(Split[3])
|
||||||
|
|
||||||
Prompt.Exclusivity = Enum.ProximityPromptExclusivity.OneGlobally --why does this not work...
|
Prompt.Exclusivity = Enum.ProximityPromptExclusivity.OneGlobally --why does this not work...
|
||||||
Prompt.ActionText = `Relay {Name}`
|
Prompt.ActionText = "Activate"
|
||||||
Prompt.ObjectText = "Activate"
|
Prompt.ObjectText = "Relay"
|
||||||
|
|
||||||
self.Buttons.Relays[`{Split[2]}_{Split[3]}`] = {
|
self.Buttons.Relays[`{Split[2]}_{Split[3]}`] = {
|
||||||
Inst = Inst,
|
Inst = Inst,
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
--!native
|
--!native
|
||||||
--!strict
|
--!strict
|
||||||
|
|
||||||
type TweenAnimation = {[string]: any}
|
type TweenAnimation = {
|
||||||
|
[string]: any
|
||||||
|
}
|
||||||
|
|
||||||
type ClassConstructor = typeof(setmetatable({} :: Constructor_Return_Props, {} :: Impl_Constructor))
|
type ClassConstructor = typeof(setmetatable({} :: Constructor_Return_Props, {} :: Impl_Constructor))
|
||||||
type Impl_Constructor = {
|
type Impl_Constructor = {
|
||||||
|
|||||||
Reference in New Issue
Block a user