AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Object

    • Character

    • Player

  • Name

    dropItem()

  • Examples

    Item: item {

    Event "Drop item" {
    player.dropItem(this)
    // player drops item to the current room

    item.moveTo(player.currentRoom())
    // This does the same as the previous example

    disableEvent("Drop item")
    // Disables the event because player has dropped item
    }
    }
  • Description

    Moves an item from the object to the room the object is in. If the object does not have the item, nothing happens.
  • Syntax

    • object.dropItem(item)
  • Related

    • dropItems()

    • giveItem()

    • hasItem()

    • Item

    • items

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen