SlimeVoid / DynamicTransport

7 stars 7 forks source link

Create an Elevator Computer Block to store all Elevator info #5

Closed Tarig0 closed 10 years ago

Tarig0 commented 11 years ago

This block will determine MinY of all blocks associated with it.

Data store in here will be,

Elevator Name

List of elevator Blocks bound to it (X,Z) List of Marker Blocks designating floors (X,Y,Z)

Spool button requests

Current Y position of the elevator

Current Mode Active, Moving, Maintenance

Current Player Maintaining the elevator

Privacy Settings

Owner

Tarig0 commented 11 years ago

Block will become unbound if they can not return to MinY on request. Owner should be informed

Tarig0 commented 11 years ago

Buttons will become unbound if they are no longer with in 3 blocks of an elevator block, check when ever an elevator block is unbound

Tarig0 commented 11 years ago

Elevator blocks must be within 3 blocks of each other or within 3 blocks of the computer checked when binding and when elevator block is unbound

Tarig0 commented 11 years ago

Buttons will say elevator can't reach button if the MaxY of the elevator is not equal or greater than the buttons Y. This does not automatically unbind the button

Eurymachus commented 11 years ago

Remember, marker blocks, and it should I bind if now longer within 3 blocks of the elevators possible path.

The actual marker block should be used for all transport element linking.

Tarig0 commented 10 years ago

actually we don't need maxY we simply need can elevator reach y