def cursorMode {
cursorMode() = c
function cycleCursor() {
if cursorMode(c) = 0 & RightClick {
setCursorMode(c) + 1
}
else if cursorMode(c) > 5 & RightClick {
setCursorMode(c) = 0
}
// Rock
object Rock {
if cursorMode(c) = 1 {
display("You see a rock.");
}
if cursorMode(c) = 2 {
display("You touch the smooth, cold surface of the rock.");
}
}
sazius, Christopher Allan Webber likes this.
You might be interested in the multiplayer interactive fiction / MUD system I'm working on for the Lisp Game Jam.
Christopher Allan Webber at 2016-05-09T22:14:18Z
Sean Tilley likes this.