KoLmafia Properties: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[http://missmark.info/topic/coppietrans.html coppie trans] [http://overhit.info/index6_1000.html page] [http://episomes.info/articles/mammothcave.html mammoth cave] [http://faroutman.apodoses.info/ far out man] [http://lgmp3.apodoses.info/ lg mp3] [http://sl300kyocera.geratic.info/ sl300 kyocera] [http://missmark.info/topic/dfisli.html dfi sli] [http://missmark.info/topic/boysromaultras.html boys roma ultras 1972] [http://missmark.info/topic/tucsonkm0.html tucson km0] [http://forswear.info/blog/batcong.html bat cong] [http://jacinthe.info/html/screwup.html screw up] [http://jacinthe.info/html/cdromlg.html cd rom lg] [http://jacinthe.info/html/microfonocon.html microfono con base] [http://tvplasma37samsung.anywhy.info/ tv plasma 37 samsung] [http://jacinthe.info/html/lgl1920b.html lg l1920b] [http://wonderboy.geratic.info/ wonder boy] [http://apodoses.info/ apodoses.info] [http://mortalcombat.overhit.info/ mortal combat 6] [http://athlonfx.overhit.info/ athlon fx] [http://missmark.info/topic/thermalrightslk700.html thermalright slk700] [http://wamon.apodoses.info/ wamon] [http://apodoses.info/ apodoses.info] [http://acerpdan30gps.overhit.info/ acer pda n30 gps] [http://geratic.info/ geratic.info] [http://pcacerdesktop.apodoses.info/ pc acer desktop] [http://erycprydz.overhit.info/ eryc prydz] [http://figh.overhit.info/ figh] [http://psc1315.apodoses.info/ psc 1315] [http://episomes.info/ episomes.info] [http://unlocklg8110.apodoses.info/ unlock lg8110] [http://missmark.info/topic/samsunghifi.html samsung hi fi] [http://aceral1713.unrust.info/ acer al1713] [http://filecabi.anywhy.info/ filecabi] [http://wwwlove123com.geratic.info/ www love 123 com] [http://episomes.info/articles/playmobil.html playmobil] [http://niet.overhit.info/ niet] [http://overhit.info/ overhit.info] [http://epsonemptw200.unrust.info/ epson emp tw200] [http://anywhy.info/index9_250.html page] [http://hstreetnm.overhit.info/ h street nm] [http://missmark.info/topic/forcella.html forcella] [http://aiwahifi.geratic.info/ aiwa hi fi] [http://playmen.anywhy.info/ playmen] [http://missmark.info/topic/gp401.html gp 401] [http://neroburning.overhit.info/ nero burning rom] [http://publicaccess.apodoses.info/ public access] [http://missmark.info/topic/veavea.html vea vea] [http://rcarlos.apodoses.info/ r carlos] [http://momfuckers.geratic.info/ mom fuckers] [http://indexofmp3.overhit.info/ index of mp3] [http://chaoui.geratic.info/ chaoui] [http://morso.anywhy.info/ morso] [http://episomes.info/articles/bf.html bf] [http://tagliatubi.overhit.info/ taglia tubi] [http://rampageuniversal.overhit.info/ rampage universal tour] [http://rigo.anywhy.info/ rigo] [http://boxthermaltake.unrust.info/ box thermaltake] [http://dvddeiqueen.anywhy.info/ dvd dei queen] [http://jacinthe.info/ jacinthe.info] [http://episomes.info/articles/thomson23.html thomson 23] [http://inail.unrust.info/ inail] [http://forswear.info/blog/tecraa4pm750.html tecra a4 pm 750] [http://ostrava.unrust.info/ ostrava] [http://forswear.info/blog/badboys2.html bad boys2] [http://richardmasur.geratic.info/ richard masur] [http://doyouhave.apodoses.info/ do you have] [http://episomes.info/articles/dvdmpeg2.html dvd mpeg2] [http://missmark.info/topic/rsmmchighspeed.html rs mmc high speed] [http://sfrancisco1096.anywhy.info/ s francisco 1096] [http://missmark.info/ missmark.info] [http://overhit.info/index5_250.html site] [http://tamarw100.unrust.info/ tama rw100] [http://recorderusb.unrust.info/ recorder usb] [http://forswear.info/blog/ivigtut.html ivigtut] [http://buckley.anywhy.info/ buckley] [http://magliarealmadrid.geratic.info/ maglia real madrid] [http://queenatwembley.unrust.info/ queen at wembley] [http://episomes.info/articles/overbooking.html overbooking] [http://pix506e.geratic.info/ pix 506e] [http://dmxangel.anywhy.info/ dmx angel] [http://webcamcmos.apodoses.info/ webcam cmos] [http://keff.apodoses.info/ keff] [http://forswear.info/blog/futaba2er.html futaba 2 er] [http://episomes.info/articles/omarhakim.html omar hakim] [http://oversky.apodoses.info/ over sky] [http://anywhy.info/ anywhy.info] [http://forswear.info/blog/taquilla.html taquilla] [http://tengo.overhit.info/ tengo] [http://acer4152lmi.anywhy.info/ acer 4152lmi] [http://missmark.info/topic/ineedyourlovin.html i need your lovin] [http://episomes.info/articles/leadtekpx6600.html leadtek px6600 gt] [http://jacinthe.info/html/dvpns32.html dvp ns 32] [http://geratic.info/index0_250.html homepage] [http://jacinthe.info/html/bdspencer.html bd spencer] [http://carshoe.anywhy.info/ car shoe] [http://overhit.info/ overhit.info] [http://badboys.anywhy.info/ badboys] [http://hub3com12porte.unrust.info/ hub 3com 12 porte] [http://adslflynet.unrust.info/ adsl flynet] [http://anywhy.info/ anywhy.info]
== Part 11 - KoLmafia Properties ==
== Part 11 - KoLmafia Properties ==



Revision as of 16:01, 29 October 2007

coppie trans page mammoth cave far out man lg mp3 sl300 kyocera dfi sli boys roma ultras 1972 tucson km0 bat cong screw up cd rom lg microfono con base tv plasma 37 samsung lg l1920b wonder boy apodoses.info mortal combat 6 athlon fx thermalright slk700 wamon apodoses.info acer pda n30 gps geratic.info pc acer desktop eryc prydz figh psc 1315 episomes.info unlock lg8110 samsung hi fi acer al1713 filecabi www love 123 com playmobil niet overhit.info epson emp tw200 page h street nm forcella aiwa hi fi playmen gp 401 nero burning rom public access vea vea r carlos mom fuckers index of mp3 chaoui morso bf taglia tubi rampage universal tour rigo box thermaltake dvd dei queen jacinthe.info thomson 23 inail tecra a4 pm 750 ostrava bad boys2 richard masur do you have dvd mpeg2 rs mmc high speed s francisco 1096 missmark.info site tama rw100 recorder usb ivigtut buckley maglia real madrid queen at wembley overbooking pix 506e dmx angel webcam cmos keff futaba 2 er omar hakim over sky anywhy.info taquilla tengo acer 4152lmi i need your lovin leadtek px6600 gt dvp ns 32 homepage bd spencer car shoe overhit.info badboys hub 3com 12 porte adsl flynet anywhy.info

Part 11 - KoLmafia Properties

In addition to affecting gameplay directly through ASH functions and CLI commands, scripters also have the ability to control certain core behaviors of KoLmafia through direct modification of the preferences file. In addition, scripters can also create variables that will survive across sessions.

To see all of the pre-defined variables that exist, look in the “data” subfolder wherever you keep the KoLmafia executable and open up any of the .kcs files named for your characters. This guide will not attempt to describe all of the variables that are there: many are uninteresting from the player’s point of view and others are too unwieldy to be properly set at the moment. Of those that are interesting and accessable, the functionality can be divided into three main sections:

Edit: I believe the preferences are now stored in the "settings" folder, rather than the "data" folder, and are named "prefs_character_name.txt". Anyone more knowledgable than I care to confirm? --HallowedWeasel 15:59, 27 February 2007 (CST)

Choice Adventures

These settings control all of the non-combat adventures that give you a choice of outcomes. In the GUI, you can view and set these options in the Choices tab of the Preferences window, but you can also more-or-less directly access the values from ASH. This is slightly unorthodox behavior, given that the GUI doesn’t get notified that the true value has been updated and so your Choices page could be out of synch, but needs must when the Devil drives, eh?

As I said before, setting these values may be more-or-less direct, which turns out to be true in a literal sense. Of the two sections on the Choices tab, the lower set is “more” direct. These line up as follows:

Property NamePreferences Tab NameKoL Adventure Name
choiceAdventure2PalindomeDenim Axes Examined
choiceAdventure3TeleportitisThe Oracle Will See You Now
choiceAdventure4South of the BorderFinger-Lickin’ … Death
choiceAdventure5Gravy Barrow 1Heart of Very, Very Dark Darkness
choiceAdventure7Gravy Barrow 2How Depressing
choiceAdventure8Gravy Barrow 3On the Verge of a Dirge
choiceAdventure15eXtreme Slope 1Yeti Nother Hippy
choiceAdventure16eXtreme Slope 2Saint Beernard
choiceAdventure17eXtreme Slope 3Generic Teen Comedy
choiceAdventure18Itznotyerzitz Mine 1A Flat Miner
choiceAdventure19Itznotyerzitz Mine 2100% Legal
choiceAdventure20Itznotyerzitz Mine 3See You Next Fall
choiceAdventure21Sleazy Back AlleyUnder the Knife
choiceAdventure22Pirate’s Cove 1The Arrrbitrator
choiceAdventure23Pirate’s Cove 2Barrie Me at Sea
choiceAdventure24Pirate’s Cove 3Amatearrr Night
choiceAdventure25Dungeon of DoomOuch! You bump into a door!
choiceAdventure40Cola Wars 1The Effervescent Fray
choiceAdventure41Cola Wars 2Smells Like Team Spirit
choiceAdventure42Cola Wars 3What is it Good For?
choiceAdventure45Spooky Forest 1Maps and Legends
choiceAdventure46Spooky Forest 2An Interesting Choice
choiceAdventure47Spooky Forest 3Have a Heart
choiceAdventure73Whitey’s Grove 1Don’t Fence Me In
choiceAdventure74Whitey’s Grove 2The Only Thing About Him…
choiceAdventure75Whitey’s Grove 3Rapido!

Changing the settings for these adventures is as easy as an ASH function like set_property(”choiceAdventure40″, “2″) or the CLI command “set choiceAdventure46=3″. To be candid, I can never figure out the correct numeric value by any amount of cleverness, so what I do is to log in to KoLmafia, use the Preferences Window to set the value to what I want, quit KoLmafia, and then check my character’s .kcs file to see the value that was set for the appropriate key.

By contrast, there is limited support for setting the adventures in the upper set, as these are compound settings. The two that are most affected are Castle Wheel, which controls all of choiceAdventure9 through choiceAdventure12, and which corpse you want to loot in the Spooky Forest, which covers choiceAdventure26 through choiceAdventure29. Again, your best bet is to set these two adventures to the choice you want and then check your data file to see which specific settings correspond to the high-level decision. So far as I know, there is no way to use scripts to specify your choices for the Astral Trip.

However, according to Holatuwol (here), the settings map to "X=pick the Xth Option" and X+1=pick an item you don't have (i.e., complete the outfit).

Other KoLmafia-based preferences

This is going to be a limited survey of the more interesting of the settings that you can control.

battleAction - This specifies the strategy that you will use in battle. The sorts of values that you might select here are “attack” for normal attacking, “custom” to use the Custom Combat Scripts, “item dictionary” when you’re adventuring in the Valley beyond Orc Chasm, or “skill thrust smack” to use TS during the entire battle.

hpAutoRecovery - This is a float value that specifies the percentage of your HP at which the autohealer kicks in. I haven’t tried it, but I think you’d be generally unhappy if you set it to something other than a multiple of 0.1.

hpAutoRecoveryTarget - A companion to the above, this is the target that the autohealer will aspire to achieve.

As before, feel free to peruse the .kcs file to see all of the values. The names aren’t very subtle, so you should be able to guess what they’re all for.

User-defined variables

In addition to setting the variables that KoLmafia predefines, you can also create any others to cover any information you wish. As you do so, keep in mind that while you can clear a variable’s value to the null string, there is currently no way to delete a key (aside from editing the .kcs file in the text processor of your choice and deleting the line that contains the key).