Project

General

Profile

Bug #2197

Item 'IsRepackable' attribute is FALSE when it should be TRUE

Added by smokemonkey almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
vbulletin_issue_id:

Description

repro:

dock at a station with some (used) drones which means there is no quantity displayed on their icon, 
and run script

 

 

        variable index:item items

        variable iterator itemIterator

        ; Repackage unloaded drones.

            EVEWindow[Inventory].ChildWindow[${Me.Station.ID}, StationItems]:GetItems[items]

            items:GetIterator[itemIterator]

            if ${itemIterator:First(exists)}

            {

                do

                {

                    This:LogInfo[ ${itemIterator.Value.Name} ${itemIterator.Value.Group} is repackageable ${itemIterator.Value.IsRepackable}]

                    if ${itemIterator.Value.Group.Find[Drone]}

                    {

                        echo repackaging ${itemIterator.Value.Name}

                        itemIterator.Value:Repackage
                       ; equivalent of wait 30

                    }

                }

                while ${itemIterator:Next(exists)}

            }


you will find the IsRepackable is always FALSE, and nothing happens when you Repackage them. This is not expected.



In short:
IsRepackable attribute 
and Repackage method are both not working, at least for drones.

Also available in: Atom PDF