That FN Ninja
Member
If autoSatisfyWithCloset is 'true' and the fold command finds no relevant foldable in inventory it would be delightful if it would check the closet as well. 

> set autoSatisfyWithCloset = false
autoSatisfyWithCloset => false
> own legion
Loathing Legion electric knife (1 closet)
> fold electric knife
You don't have anything transformable into that item!
> set autoSatisfyWithCloset = true
autoSatisfyWithCloset => true
> fold electric knife
Removing items from closet...
You acquire an item: Loathing Legion electric knife
Requests complete.
> own legion
Loathing Legion helicopter (1 terrarium)
> fold electric knife
Stealing Loathing Legion helicopter from Iseijin-san the Li'l Xenomorph...
You acquire an item: Loathing Legion electric knife
Requests complete.
I finally figured out how to make a diff file! And it only took one hour. This is my first time trying to edit the KoLmafia source code or program in java at all, so it probably needs some refinement. I just adapted code from the InventoryManager.
I downloaded Jcreator to have an IDE to work in. I'll try netbeans, thanks for the suggestion.If you're not coding in an IDE already, I suggest netbeans. It's free and pretty awesome.
There are better ways of programming than opening files in notepad and praying the end result will compile?
This is my technique, too.Two windows. One with the editor of choice. One with a command line so you can compile.
This is my technique, too.
One window is emacs, my text editor of choice. Within emacs, I will use up to two frames: one with the file I'm currently editing, the other with a list of notes, a debug log, a file to compare, whatever. Within emacs, I can run grep over a directory or the entire tree, visit each grep hit, find and replace, compare two versions of a file, and so on.
One window is a Terminal window, my Unix (OS X) shell. I type "ant" to compile and "java -jar ..." to execute. Unexpected errors produce stack traces there. Debug prints that I insert also go there.
No debugger. No IDE.
Don't try this at home.![]()
Somebody should look at this.Okay, so I've got some working code for this. What are everyone's opinions on the order of where it looks for the item?