Page 5 of 9 FirstFirst ... 3 4 5 6 7 ... LastLast
Results 41 to 50 of 89

Thread: September 2018 IotM - The Neverending Party

  1. #41
    Developer
    Join Date
    Apr 2010
    Posts
    4,928

    Default

    r18897 adds this.

    I am working on quest tracking, but waiting for a combination of time and my ability to test some of the cases. It works for two of the quests so far.

  2. #42
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,515

    Default

    The "pay the DJ" quest has ghost Meat gains like the Nuns quest.
    Turning in 10 booze (seemingly) left them in inventory a couple of days ago,

  3. #43
    Developer
    Join Date
    Apr 2010
    Posts
    4,928

    Default

    Yes, those are some of the things I’m going to be handling and testing whilst adding quest support

  4. #44
    Senior Member
    Join Date
    Aug 2015
    Posts
    174

    Default

    TRIO cup of beer doesn't have consumption info yet so here's a data point.

    Code:
    Drinking 1 TRIO cup of beer...
    You gain 8 Adventures
    You gain 20 Strengthliness
    You gain 18 Enchantedness
    You gain 26 Cheek
    You gain 1 Drunkenness
    You lose some of an effect: Ode to Booze (-1)
    Finished drinking 1 TRIO cup of beer.
    That's from being a Vole moon-sign (+10% moxie) and I forgot to closet my stack of Swizzlers so it looks like it used one of those too.

    I'll another tomorrow (and remember to closet the Swizzlers).

  5. #45
    Developer
    Join Date
    Apr 2010
    Posts
    4,928

    Default

    Have we got code to recognise items by plural ?

    The quest log shows things like "10 mounds of uncooked chorizo", and I'd like to convert to itemId.

    I couldn't find it, but I really don't want to reinvent the wheel.

  6. #46
    Senior Member
    Join Date
    Jun 2016
    Posts
    260

    Default

    Each item has a plural proxy field, so the data is there. But I have no idea if there's any built in support to match strings to that.

  7. #47
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,515

    Default

    I am certain that we do have code for that. I'll take a look when I get home.

  8. #48
    Senior Member
    Join Date
    Aug 2015
    Posts
    174

    Default

    Code:
    Drinking 1 TRIO cup of beer...
    You gain 8 Adventures
    You gain 15 Fortitude
    You gain 23 Mysteriousness
    You gain 33 Cheek
    You gain 1 Drunkenness
    You lose some of an effect: Ode to Booze (-1)
    Finished drinking 1 TRIO cup of beer.
    No Swizzler this time but today is a moxie moon bonus day (and I still have a moxie moon sign so +35% total or that's what modtrace exp tells me).

  9. #49
    Developer
    Join Date
    Apr 2010
    Posts
    4,928

    Default

    r18899 adds some lightly tested (At 1 in 6 rate, could go weeks before testing them all) quest tracking.

    _partyHard = true if you started quest wearing Party HARD shirt.
    _questPartyFairQuest = today's quest, valid values are trash, booze, woots, partiers, food and dj.
    _questPartyFair = quest state, valid values:
    unstarted - you haven't yet taken quest
    started - you have taken quest, but haven't started making progress til you talk to Gerald/Geraldine (only exists on booze and food quests)
    step1 - Progressing quest objectives
    step2 - Return to get your reward
    finished - You have completed quest today
    _questPartyFairProgress - depends on quest.
    on trash quest - counts down from XXXX to 0.
    on booze quest - shows number required and item number - note, does not YET recognise quest log entry to count down - it may never count down, as you can see that from inventory.
    on woots quest - counts up from 10 to 100.
    on partiers quest - counts down from XXX to 0.
    on food quest - shows number required and item number - note, does not YET recognise quest log entry to count down - it may never count down, as you can see that from inventory.
    on dj quest - counts down from XXXX to 0.

  10. #50
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,515

    Default

    Have we got code to recognise items by plural ?
    Originally Posted by Darzil View Post
    ResultProcesser.processItem does this:

    Code:
    		// If we got more than one, do substring matching. This might
    		// allow recognition of an unknown (or changed) plural form.
    
    		int itemId = ItemDatabase.getItemId( itemName, itemCount, itemCount > 1 );
    This is after it has determined the the string it is parsing is of the form "<numberic> text" and is not an exact match; "334 scroll" is not a plural, for example.

    ItemDatabase.getItemId will call ItemDatabase.getCononicalName with a specified "count", which, if the count is greater than 1, will use ItemDatabase.itemIdByPlural to look up plurals.

    So, there doesn't seem to be a method which takes either "334 scroll" or "5 bowls of mush" and understands that the first is an exact match single item (with count 1) and the latter is an exact match plural item (with count 5), but all the tools are available.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

Posting Permissions

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