Results 1 to 6 of 6

Thread: Spacegate access badge items shouldn't be creatable

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    4

    Default Spacegate access badge items shouldn't be creatable

    v 18265

    I don't own a Spacegate access badge, and I'm in a Bad Moon run anyway.
    I'm seeing all the Equipment Requisition stuff in the Item Manager -> Creatable:

    KoLmafia-18265.png

  2. #2

    Default

    What does "get spacegateAlways" in the CLI give for you?

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    4

    Default

    > get spacegateAlways

    false

  4. #4

    Default

    Code:
    		if ( Preferences.getBoolean( "spacegateAlways" ) )
    		{
    			ConcoctionDatabase.PERMIT_METHOD.add( CraftingType.SPACEGATE );
    			ConcoctionDatabase.ADVENTURE_USAGE.put( CraftingType.SPACEGATE, 0 );
    			ConcoctionDatabase.CREATION_COST.put( CraftingType.SPACEGATE, 0 );
    		}
    		else
    		{
    			ConcoctionDatabase.EXCUSE.put( CraftingType.SPACEGATE, "You do not have access to Spacegate Equipment Requisition." );
    		}
    Bad Moon isn't checked (and neither is Standard currently), but the existing code should prevent it from showing up for you anyway. I'm seeing the same thing though. I don't understand why that's happening.

  5. #5

    Default

    Looking some more, I see that Concoction.canMake() returns values for some crafting types before checking ConcoctionDatabase.isPermittedMethod(). That's probably a simple fix that I will get to later today.

  6. #6

    Default

    18266.

Posting Permissions

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