[COLOR="#808000"]> create level 5 couch[/COLOR]
Verifying ingredients for level 5 couch (1)...
Searching for "VYKEA instructions"...
Search complete.
Purchasing VYKEA instructions (1 @ 6,500)...
Purchases complete.
Searching for "VYKEA rail"...
Search complete.
Purchasing VYKEA rail (5 @ 400)...
Purchases complete.
Searching for "VYKEA dowel"...
Search complete.
Purchasing VYKEA dowel (37 @ 270)...
Purchases complete.
Searching for "VYKEA plank"...
Search complete.
Purchasing VYKEA plank (5 @ 100)...
Purchases complete.
Searching for "VYKEA bracket"...
Search complete.
Purchasing VYKEA bracket (5 @ 100)...
Purchases complete.
[13344] VYKEA instructions
Encounter: Some Assembly Required
Encounter: Some Assembly Required
Encounter: Some Assembly Required
Successfully created level 5 couch
Guess it's kind of pointless if create already does that. Though I had absolutely no way of knowing it did that...
Well.... yes and no.Also, the create command fails if you don't have a VYKEA hex key in inventory. Mafia won't automatically acquire one.
r16449 | veracity0 | 2015-11-10 13:39:53 -0500 (Tue, 10 Nov 2015) | 7 lines
Adjust VYKEA companion recipes so that they explicitly include the VKEA
instructions. Other prerequisites - hex key, and the mandatory 5 each of
planks, rails, and brackets - no longer make VYKEA creation method invalid if
they are not in inventory; they have to be "accessible". The VYKEA companion
creation request will now "retrieve" hex key, mandatory parts and all the
actually consumed ingredients before constructing the companion.
else if ( !InventoryManager.hasItem( ItemPool.VYKEA_HEX_KEY ) )
{
ConcoctionDatabase.EXCUSE.put( CraftingType.VYKEA, "You do not have a VYKEA hex key." );
}
// Make sure your VYKEA hex key is in inventory
if ( !InventoryManager.retrieveItem( ItemPool.VYKEA_HEX_KEY, 1 ) )
{
KoLmafia.updateDisplay( MafiaState.ERROR, "You need a VYKEA hex key in order to build a VYKEA companion." );
return;
}
Friendly front ends are good.Your script could get that key if it is missing and then act as a user friendly front end for the create command.
It will use any method that "acquire" is authorized to use - the mall, the clan stash, etc. - except the other check requires the key to be "accessible". That could easily be characterized as a bug, since we will simply "acquire" planks, etc. without that requirement.
I think the point of that was to not have Creatables all cluttered up with VYKEA companions if you don't have an easy way to get a hex key. I could remove that restriction, at the expense of clutter.