Examples
Item: book
{
name: "Book";
image: "img_book";
desc: "someText";
tooltip: "This is a book"
Event: Game_Start {
player.giveItem(this)
// Gives book to the player at game start
disableEvent("Take")
// Disables the "Take" event, because the item is currently carried by the player
}
Event: "Take" {
moveTo(player)
disableEvent("Take")
enableEvent("Drop")
}
Event: "Drop" {
player.dropItem(this)
// Moves book from the player to the room the player is in
disableEvent("Drop")
enableEvent("Take")
}
}