Examples
Item: item{
weight: 10
Event: "Pick up" {
// If player property strength is less than item property weight, display text
// Else give the item to the player
if (player.strength < weight)
display("You are not strong enough to lift this item.")
else
player.giveItem(this)
}
}