Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Add property for free megatofu (3x) / Lager (3x) at McMillicancuddy's Farmhouse

  1. #1
    Junior Member
    Join Date
    Sep 2020
    Posts
    4

    Default Add property for free megatofu (3x) / Lager (3x) at McMillicancuddy's Farmhouse

    Please add a property (daily variable) for the daily 3x megatofu (if quest is completed with the War Hippy Fatigues) / 3x McMillicancuddy's Special Lager (if quest is completed with the Frat Warrior Fatigues) at McMillicancuddy's Farmhouse.

    Scripts can make use of this property to remind users if they have not collected the free items from the Farm.

  2. #2
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,865

    Default

    AFAIK this visit is part of the breakfast command What is the use case for tracking this separately instead of just calling breakfast, perhaps at the end of a session?

  3. #3
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,666

    Default

    The breakfast command itself could use this, rather than simply visiting the farm every time. Ditto for visiting the Lighthouse. Note the code in BreakfastManager:

    Code:
    	public static void visitHippy()
    	{
    		if ( Preferences.getBoolean( "_hippyMeatCollected" ) )
    		{
    			return;
    		}
    		KoLmafia.updateDisplay( "Collecting cut of hippy profits..." );
    		RequestThread.postRequest( new GenericRequest( "shop.php?whichshop=hippy" ) );
    		KoLmafia.forceContinue();
    	}
    
    	public static void visitFarmer()
    	{
    		IslandRequest request = IslandRequest.getFarmerRequest();
    		if ( request != null )
    		{
    			RequestThread.postRequest( request );
    			KoLmafia.forceContinue();
    		}
    	}
    
    	public static void visitPyro()
    	{
    		IslandRequest request = IslandRequest.getPyroRequest();
    		if ( request != null )
    		{
    			RequestThread.postRequest( request );
    			KoLmafia.forceContinue();
    		}
    	}
    We have a property to control whether we've collected Meat from the Farmstand, but not the Farmer or the Lighthouse.

  4. #4
    Junior Member
    Join Date
    Sep 2020
    Posts
    4

    Default

    We have a property to control whether we've collected Meat from the Farmstand, but not the Farmer or the Lighthouse.
    Originally Posted by Veracity View Post
    Yes, this is why I requested to add a property for Farmhouse. We already have _hippyMeatCollected, so we should also have a property for Farmhouse.

    IIRC when you collect the meat or items, you need to wear the same outfit as the one you completed the sidequest with. Therefore I believe some players may want to delay it.

  5. #5
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Posts
    248

    Default

    IIRC when you collect the meat or items, you need to wear the same outfit as the one you completed the sidequest with. Therefore I believe some players may want to delay it.
    Originally Posted by mgreen52 View Post
    Sort of.

    If visiting before the end of the Mysterious Island Quest, you must be dressed as a soldier (who has access to the produce stand). After the end of the Mysterious Island Quest, there are no equipment requirements.
    Originally Posted by TheKolWiki
    --https://kol.coldfront.net/thekolwiki..._Produce_Stand

    So, after is any outfit. Before is any soldier with access. It doesn't have to be the one who completed it.

    I didn't look at the other quests, but this could be more aggressive, trying on the outfits and getting the produce/meat.
    Last edited by MCroft; 09-29-2020 at 01:50 AM.

  6. #6
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Posts
    248

    Default

    and it looks like the farm may be different. Assuming the Wiki is correct, which it would surprise me if it's not.

    I usually skip the ducks, since it takes 25-ish turns to save 16. But I can this run to check this is out.

  7. #7
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,666

    Default

    My understanding is that you can only collect free bombs or megatofu/lager while the war is running. Afterwards, the Lighthouse is replaced by Sonofa Beach and the farm by duck hunting.

  8. #8
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Posts
    248

    Default

    yep, that's true on when each is available. What I meant was that the produce stand can be visited in any o or none but the farm requires the outfit you completed in. I tested this and I get different messages for the farm if I change outfits.

  9. #9
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,666

    Default

    OK. Breakfast assumes that for both the Lighthouse and the Farm - wear the outfit you unlocked them with in order to collect the free stuff from them.
    Both of them simply need properties - like the produce stand - to track whether they've been visited yet today.

    That would be used by breakfast, as well as scripts which want to deal with it outside of breakfast.

  10. #10
    Junior Member
    Join Date
    Sep 2020
    Posts
    4

    Default

    I have written a patch which adds a property "_hippyFarmItemsCollected":
    Add-property-hippyFarmItemsCollected.diff

Posting Permissions

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