Results 1 to 5 of 5

Thread: Jelly use not tracked correctly

  1. #1
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    823

    Default Jelly use not tracked correctly

    From what I can tell from this update, using a spooky jelly should increase the property "_spookyJellyUses" by 1. But this does not seem to be working.
    The same error occurs with "_hotJellyUses" when chewing a hot jelly.

    Code:
    > get _spookyJellyUses
    
    0
    
    > chew 1 spooky jelly
    
    Chewing 1 spooky jelly...
    You gain 18 Strongness
    You gain 16 Enchantedness
    You gain 17 Sarcasm
    You acquire an effect: Spooky Jellied (50)
    Finished chewing 1 spooky jelly.
    
    > get _spookyJellyUses
    
    0

    Finishing a fight with "Spooked by the emanations" should decrement "_spookyJellyUses" by 1. If I manually set "_spookyJellyUses" to 1, this works as expected and it is set to 0.

    Finishing a fight by using Breath Out should decrement "_hotJellyUses" by 1. If I manually set "_hotJellyUses" to 1, this works as expected and it is set to 0.

  2. #2
    Developer
    Join Date
    Apr 2010
    Posts
    4,872

    Default

    I would guess because it is in the wrong place:

    Code:
    		int spleenHit = ConsumablesDatabase.getSpleenHit( name );
    		if ( spleenHit > 0 )
    		{
    			SpleenItemRequest.parseConsumption( item, helper, responseText );
    			return;
    		}

  3. #3
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    823

    Default

    Is this an easy fix? Because boy howdy would it make my scripting easier!

  4. #4
    Developer
    Join Date
    Apr 2010
    Posts
    4,872

    Default

    Try r18438. Untested.

  5. #5
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    823

    Default

    My limited (one time) testing shows this is operational in r18438.

Posting Permissions

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