Results 1 to 3 of 3

Thread: Drop Item

  1. #1
    Premium User
    Join Date
    Apr 2012
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5

    Drop Item

    I need an action that drop ice cubes when i have a capacity lower than 50
    can someone help me? ty

  2. #2
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    If you've a global variable in your setup for cap already then remove "local DropCap = x" and change "DropCap" to whatever your variable is called.


    local DropCap = x -- Remove this else change X to your cap, e.g. 50.

    if cap <= DropCap then -- Change "DropCap" to your variable, else let it be.
    moveitems("ice cube", BACKPACK_NAME, "ground", 1)
    end
    Last edited by PromB; 09-03-2013 at 07:33 PM.

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Why not carry a obs knife and just use them...

    Or stop looting them if you have low cap.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •