SlimeVoid / DynamicTransport

7 stars 7 forks source link

Maintenance system #7

Closed Tarig0 closed 10 years ago

Tarig0 commented 10 years ago

Will create a tool to be used possibly based on this

http://www.alibaba.com/product-gs/1302699076/OTIS_Elevator_Service_Tool_GAA21750AK3_Service.html?s=p

To start the process the player must right click the elevator computer with this tool.

Once the elevator is in Mat mode the player who set it is the only one that can edit the elevator config. (Possible timeout (between actions) to limit issues with player leaving elevator in Mat mode)

now using the tool the player can right click on any elevator or marker blocks to bind it to the computer

When the player right clicks on a marker block a simple qui will pop up to edit FloorName and FloorY there will also be unbind and done buttons

if (player.heldItem == ItemElevatorTool{ if (computer != newComputer) bind; if (computer.mode == Mat && player == computer.player) open GUI; }else ... camo system checks

When the player right clicks on an elevator block that block will bind or unbind to the computer

sudo code if (player.heldItem == ItemElevatorTool{ if (player.isSneaking) unbind else bind }else ... camo system checks

To open the Computers Gui the player must shit + rightclick with the tool

Tarig0 commented 10 years ago

might need to create a way to bind other floor markers to each other to allow for multiple button panels around the elevator

Will allow the marker blocks to be bound together even if the elevator is not in maintenance mode

Tarig0 commented 10 years ago

Later for now this is closed