build/EBJB_BattleCommands.rb
#--------------------------------------------------------------------------
# * Add new Item command
#     item : item object
#--------------------------------------------------------------------------
Add new Item command
item : item object
Add new Item command item : item object
def add_item_command(item)
    id = Utilities.generate_battle_command_uid("BC_ITEM_"+item.id.to_s)
    if (!@data.include?(id))
      @data[id] = Item_Command.new(id, item.id)
    end
    return @data[id]
  end
def add_item_command ( item ) id = Utilities . generate_battle_command_uid ( "BC_ITEM_" + item . id . to_s ) if ( ! @data . include? ( id ) ) @data [ id ] = Item_Command . new ( id , item . id ) end return @data [ id ] end
Add new Item command
item : item object
Add new Item command item : item object
item
<not_specific>