1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lighting Incense burners

Discussion in 'Developer Support' started by Geashaw, Jan 25, 2015.

Thread Status:
Not open for further replies.
  1. Geashaw

    Joined:
    Jan 8, 2015
    Messages:
    1,429
    Likes Received:
    252
    I have been struggling with them Incense burners next to my Gilded Altar.
    Could anyone help me out with lighting them before offering bones to the altar?

    My current code is located at BitBucket. I can somehow not get my head around
    the canLightFirstBurner and actually light the burner.

    Help is much appreciated, since the rest of the script bot is working (just fine / fine enough).
     
  2. PhaseCoder

    Joined:
    Jan 1, 2015
    Messages:
    272
    Likes Received:
    26
    maybes

    Code (Text):
    1.  
    2. if (Inventory.getQuantity("Clean marentill") >= 1) {
    3. return true;
    4. }
    its fining 1 or equal to 1 marentill and retuning true try removing the = and just have > see what happens then

    and maybe add an extra boolean isBurner1lit

    before going to burner 2
     
  3. Geashaw

    Joined:
    Jan 8, 2015
    Messages:
    1,429
    Likes Received:
    252
    Apparently "Marrentill" is spelled with 2 'r's -.-'
     
    #3 Geashaw, Jan 25, 2015
    Last edited: Jan 25, 2015
  4. Geashaw

    Joined:
    Jan 8, 2015
    Messages:
    1,429
    Likes Received:
    252
    @EvilCabbage - This can be closed, I found the solution.
     
  5. EvilCabbage

    Joined:
    Nov 3, 2013
    Messages:
    2,389
    Likes Received:
    849
    Closed upon request.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...