SlimeVoid / DynamicTransport

7 stars 7 forks source link

Camo system #6

Closed Tarig0 closed 10 years ago

Tarig0 commented 10 years ago

When the elevator is in maintenance mode the player who is registered as the technician can right click on any bound blocks with the desired camouflage block and set the texture to that block.

To remove the Camo the elevator that a block is associated with must be in maintenance or the block must be unbound. If the block is associated with an elevator only the tech can remove the camo else privacy settings will determine who can remove camo.

Sudo Code

Player right clicks with block in hand

Floor marker, elevator, computer

if elevator.mode == MAT && Player.name = Elevator.Tech Set Camo

Player shift right click with nothing in hand on block

Floor marker, elevator, computer

if elevator == null || (elevator.mode == MAT && Player.name = Elevator.Tech) Remove Camo drop as item

Tarig0 commented 10 years ago

Possible to add overlay to camo so floor marker button panel is visible.

Tarig0 commented 10 years ago

done