tile_full_screen = false

#############
# Autofight #
#############

# Don't throw stuff for no reason
autofight_throw = true
autofight_throw_nomove = true

# Prevent me from tab-fighting to death below 50% HP
autofight_stop = 50

##############
# Autopickup #
##############

# Used
# $ = gold
# ? = scroll
# ! = potion
# : = book
# " = amulet
# / = wand
# % = food
# | = staves and rods
autopickup += $?!:"/%|

# Unused
# ) = weapon
# ( = missiles
# [ = armour
# } = miscellaneous

# Secondary Armour Auto-Pickup
{
add_autopickup_func(function(item, name)
	if item.class(true) == "armour" then	
		local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"}
		sub_type, _ = item.subtype()
			 
		if (good_slots[sub_type] ~= nil) and (items.equipped_at(good_slots[sub_type]) == nil) then 
			return true 
		end
		
		return false		
		end	
	end)
}

drop_mode += multi
pickup_mode += multi
default_friendly_pickup += all

##########
# Travel #
##########

# Set travel delay to -1 for instant-travel, leaving it at 1 to see travel paths currently
travel_delay = 1
show_travel_trail = true

explore_stop = items,greedy_items,greedy_pickup,greedy_pickup_gold
explore_stop += greedy_visited_item_stack,stairs,shops,altars,gates
explore_stop += greedy_sacrificeable

trapwalk_safe_hp = dart:20,needle:25,arrow:25,bolt:30,spear:20,axe:40,blade:50

runrest_ignore_poison = 2:10
runrest_ignore_monster += butterfly:1

