lib/demiurge/action_item.rb
# Get the location StateItem where this item is located.
#
# @return [Demiurge::StateItem, nil] The location's StateItem, or nil if this item has no location
# @since 0.0.1
Get the location StateItem where this item is located.
Get the location StateItem where this item is located .
def location
      ln = location_name
      return nil if ln == "" || ln == nil
      @engine.item_by_name(location_name)
    end
def location ln = location_name return nil if ln == "" || ln == nil @engine . item_by_name ( location_name ) end
Get the location StateItem where this item is located.
Get the location StateItem where this item is located .
The location's StateItem, or nil if this item has no location
The location ' s StateItem or nil if this item has no location
Demiurge::StateItem, nil
since
None