## Slime Speed Run Script by Alhifar/zeroblah ## Modifications added in from Bale, Veracity and Thok ## Many thanks to everyone who has contributed and tested! ## Currently supported skills for damage calculations: ## Attack with weapon, Thrust-Smack, Lunging Thrust-Smack, Sauceror spells, Weapon of the Pastalord, Shieldbutt, ## Fearful Fetuccini, Moxious Maneuver and divines, both single and funkslung ## Any requests for other skills to be added in should be sent to Alhifar. script "slime.ash"; notify "Alhifar"; import import string version = "2.3.4"; string download_location = "http://www.insidethepale.org/mafia/scriptlets/"; ## Set run type to either "larva" or "nodule" to automatically set certain settings to the most usual values for those types of runs. setvar("SlimeTube_run_type", ""); setvar("SlimeTube_max_ml_outfit", "maxml"); setvar("SlimeTube_max_ml_familiar", "purse rat"); setvar("SlimeTube_min_ml_outfit", "minml"); setvar("SlimeTube_min_ml_familiar", "levitating potato"); string run_type = vars["SlimeTube_run_type"]; string max_ml_outfit = vars["SlimeTube_max_ml_outfit"]; string max_ml_familiar = vars["SlimeTube_max_ml_familiar"]; string min_ml_outfit = vars["SlimeTube_min_ml_outfit"]; string min_ml_familiar = vars["SlimeTube_min_ml_familiar"]; ## Set use_tatter_like to true to use a tatter to escape from combat, or to false to simply kill the slime and use an adventure. ## Set which_tatter to which tatter-like item to use to escape from combats setvar("SlimeTube_use_tatter_like", "false"); boolean use_tatter_like = vars["SlimeTube_use_tatter_like"].to_boolean(); setvar("SlimeTube_which_tatter", "green smoke bomb"); item which_tatter = vars["SlimeTube_which_tatter"].to_item(); ## This CCS is ONLY used if use_tatter_like is set to false, and it is not blank setvar("SlimeTube_max_ml_ccs", ""); setvar("SlimeTube_min_ml_ccs", ""); string max_ml_ccs = vars["SlimeTube_max_ml_ccs"]; string min_ml_ccs = vars["SlimeTube_min_ml_ccs"]; ## Set this to the amount of rounds you want to add to the number of rounds expected to account for fumbles setvar("SlimeTube_fumble_buffer", "0"); int fumble_buffer = vars["SlimeTube_fumble_buffer"].to_int(); setvar("SlimeTube_use_hottub", "true"); boolean use_hottub = vars["SlimeTube_use_hottub"].to_boolean(); setvar("SlimeTube_verbose", "true"); boolean verbose = vars["SlimeTube_verbose"].to_boolean(); ## Switch between spleen familiars until all spleen items you can get are obtained, ## then switch to the familiars in the above settings setvar( "SlimeTube_get_spleeners" , "false" ); boolean get_spleeners = vars["SlimeTube_get_spleeners"].to_boolean(); ## End Options ## Do not modify anything below this line unless you know what you are doing! ################################################### switch( run_type ) { case "larva": max_ml_familiar = "purse rat"; get_spleeners = false; break; case "nodule": use_tatter_like = false; get_spleeners = true; break; } boolean write_rcheck(boolean ov, string name, string label) { if(label != "" ) write("