Izdari Boards

Started by nessalin, April 20, 2019, 12:14:41 AM

All (probably) of the izdari boards in the game have been updated with a script that lets player move pieces around on their surfaces.  Along with a script their descriptions have been updated with the following line:

To see how the board is used type: use board help

> use board help
'use board look'
--Displays the locatin of all the pieces on the baord.
'use board <from> <to>'
--ex use board a1 d1
--Moves a piece on the board at the 'from' location to the 'to' location.
'use board remove <piece>'
--ex use board remove a1
--Removes a piece from the board.
'use board undo'
--Undoes the most recent move, if any, to handle mistaken moves.
'use board reset'
--Resets the pieces on the board to start a new game.


> use board look
.....1...2...3...4...5...6...7...8...9...10
..-----------------------------------------
A.| [T] [K] [K] [A] [T] [T] [A] [K] [K] [T]
B.| [K] [H] [T] [ ] [ ] [ ] [ ] [T] [H] [K]
C.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
D.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
E.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
F.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
G.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
H.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
I.| [k] [h] [t] [ ] [ ] [ ] [ ] [t] [h] [k]
J.| [t] [k] [k] [a] [t] [t] [a] [k] [k] [t]


For those with ANSI clients they likely see something like this:
"Unless you have a suitcase and a ticket and a passport,
The cargo that they're carrying is you"

Shoutout to Nathvaan who updated this code so the ANSI colors would work with way more MUD clients than my original implementation did.
"Unless you have a suitcase and a ticket and a passport,
The cargo that they're carrying is you"