https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt
#combo += DDFi . war axe
#species += Ds
#background += random
#weapon += random
#############
# Autofight #
#############
autofight_fire_stop = true
autofight_stop = 60
automagic_enable = false
automagic_slot = a
automagic_stop = 50
automagic_fight = true
note_chat_messages=true
dump_message_count = 100
###########
#INTERFASE#
###########
tile_font_crt_family = Lucida Console
tile_font_stat_family = Lucida Console
tile_font_msg_family = Lucida Console
tile_font_lbl_family = Lucida Console
tile_map_pixels = 4
display_char = wall:x2588, floor x2022
display_char = floor_magic : xb7, door_closed : x25b2
display_char = door_open : x2206, wall_magic : x2593, arch : x2229
display_char = grate : x2261, tree : x2663, altar : x2302, fountain : x03a8
display_char = rune : x03c6
##########
# Travel #
##########
travel_delay = -1
explore_delay = 5
show_travel_trail = false
view_delay = 300
allow_self_target = no
show_uncursed = true
easy_confirm = all
confirm_butcher = never
sort_menus = true : equipped, identified, basename, qualname, curse, qty
autofight_throw_nomove = true
autofight_caught = true
autofight_wait = true
explore_stop = greedy_pickup
explore_stop += stairs,shops,altars,gates
explore_stop += greedy_sacrificeable
runrest_ignore_poison = 2:10
hp_colour = 100:green, 75:yellow, 50:red, 25:lightred
mp_colour = 100:green, 75:yellow, 50:red, 25:lightred
allow_self_target = prompt
sort_menus = true
easy_confirm = all
confirm_butcher = never
easy_eat_contaminated = true
equip_unequip = true
confirm_buther = never
default_manual_training = true
dump_order += vaults
auto_butcher = true
easy_eat_chunks = true
auto_eat_chunks = true
cloud_status = true
pickup_mode = multi
stat_colour = 7:red, 3:lightred
skill_fokus = true
hp_warning = 45
auto_sacrifice=true
################
# Auto Exclude #
################
auto_exclude += ancient lich, death drake, hydra, ice statue, jelly, orb of fire
auto_exclude += [^c] wizard, ancient lich, Ereshkigal, Erolcha, eyeball, Grinder, Jory, lich
auto_exclude += Norris, ogre-mage, orb of eyes, orc sorcerer, Rupert, sphinx, vampire knight
auto_exclude += Agnes, Aizul, Arachne, Asterion, Blork, Boris, Crazy Yiuf, Donald, Dowan
auto_exclude += Duvessa, Edmund, Erica, Eustachio, Fannar, Frances, Frederick, Gastronok
auto_exclude += Grum, Harold, Ijyb, Jessica, Jorgrun, Joseph, Kirke, Louise, Mara, Maud
auto_exclude += Maurice, Menkaure, Mennas, Natasha, Nergalle, Nessos, Nikola, Pikel
auto_exclude += Polyphemus, Prince Ribbit, Psyche, Roxanne, Saint Roka, Sigmund, Snorg
auto_exclude += Sojobo, Sonja, Terence, Urug, Wiglaf, Xtahua, hog, slave
#####################
#DAMGE CALC FUNCTION#
#####################
<
need_skills_opened = true
function ready()
if you.turns() == 0 and need_skills_opened then
need_skills_opened = false
crawl.sendkeys("m")
end
AnnounceDamage()
end
>
###############
# Damage Calc #
###############
<
local previous_hp = 0
local previous_mp = 0
local previous_form = ""
local was_berserk_last_turn = false
function AnnounceDamage()
local current_hp, max_hp = you.hp()
local current_mp, max_mp = you.mp()
--Things that increase hp/mp temporarily really mess with this
local current_form = you.transform()
local you_are_berserk = you.berserk()
local max_hp_increased = false
local max_hp_decreased = false
if (current_form ~= previous_form) then
if (previous_form:find("dragon") or
previous_form:find("statue") or
previous_form:find("tree") or
previous_form:find("ice")) then
max_hp_decreased = true
elseif (current_form:find("dragon") or
current_form:find("statue") or
current_form:find("tree") or
current_form:find("ice")) then
max_hp_increased = true
end
end
if (was_berserk_last_turn and not you_are_berserk) then
max_hp_decreased = true
elseif (you_are_berserk and not was_berserk_last_turn) then
max_hp_increased = true
end
--crawl.mpr(string.format("previous_form is: %s", previous_form))
--crawl.mpr(string.format("current_form is: %s", current_form))
--crawl.mpr(string.format("max_hp_increased is: %s", max_hp_increased and "True" or "False"))
--crawl.mpr(string.format("max_hp_decreased is: %s", max_hp_decreased and "True" or "False"))
--crawl.mpr(string:format("you_are_berserk is: %s", you_are_berserk and "True" or "False"))
--crawl.mpr(string:format("was_berserk_last_turn is: %s", was_berserk_last_turn and "True" or "False"))
--Skips message on initializing game
if previous_hp > 0 then
local hp_difference = previous_hp - current_hp
local mp_difference = previous_mp - current_mp
if max_hp_increased or max_hp_decreased then
if max_hp_increased then
crawl.mpr("You now have " .. current_hp .. "/" .. max_hp .. " hp.")
else
crawl.mpr("You now have " .. current_hp .. "/" .. max_hp .. " hp.")
end
else
--On losing health
if (current_hp < previous_hp) then
if current_hp <= (max_hp * 0.30) then
crawl.mpr("You take " .. hp_difference .. " damage, and have " .. current_hp .. "/" .. max_hp .. " hp.")
elseif current_hp <= (max_hp * 0.50) then
crawl.mpr("You take " .. hp_difference .. " damage, and have " .. current_hp .. "/" .. max_hp .. " hp.")
elseif current_hp <= (max_hp * 0.70) then
crawl.mpr("You take " .. hp_difference .. " damage, and have " .. current_hp .. "/" .. max_hp .. " hp.")
elseif current_hp <= (max_hp * 0.90) then
crawl.mpr("You take " .. hp_difference .. " damage, and have " .. current_hp .. "/" .. max_hp .. " hp.")
else
crawl.mpr("You take " .. hp_difference .. " damage, and have " .. current_hp .. "/" .. max_hp .. " hp.")
end
if hp_difference > (max_hp * 0.20) then
crawl.mpr("o_OOPS!! MASSIVE DAMAGE!!")
end
end
--On gaining more than 1 health
if (current_hp > previous_hp) then
--Removes the negative sign
local health_inturn = (0 - hp_difference)
if (health_inturn > 1) and not (current_hp == max_hp) then
if current_hp <= (max_hp * 0.30) then
crawl.mpr("You regained " .. health_inturn .. " hp, and now have " .. current_hp .. "/" .. max_hp .. " hp.")
elseif current_hp <= (max_hp * 0.50) then
crawl.mpr("You regained " .. health_inturn .. " hp, and now have " .. current_hp .. "/" .. max_hp .. " hp.")
elseif current_hp <= (max_hp * 0.70) then
crawl.mpr("You regained " .. health_inturn .. " hp, and now have " .. current_hp .. "/" .. max_hp .. " hp.")
elseif current_hp <= (max_hp * 0.90) then
crawl.mpr("You regained " .. health_inturn .. " hp, and now have " .. current_hp .. "/" .. max_hp .. " hp.")
else
crawl.mpr("You regained " .. health_inturn .. " hp, and now have " .. current_hp .. "/" .. max_hp .. " hp.")
end
end
if (current_hp == max_hp) then
crawl.mpr("Health restored: " .. current_hp .. "")
end
end
--On gaining more than 1 magic
if (current_mp > previous_mp) then
--Removes the negative sign
local mp_inturn = (0 - mp_difference)
if (mp_inturn > 1) and not (current_mp == max_mp) then
if current_mp < (max_mp * 0.25) then
crawl.mpr("You regained " .. mp_inturn .. " mp, and now have " .. current_mp .. "/" .. max_mp .. " mp.")
elseif current_mp < (max_mp * 0.50) then
crawl.mpr("You regained " .. mp_inturn .. " mp, and now have " .. current_mp .. "/" .. max_mp .. " mp.")
else
crawl.mpr("You regained " .. mp_inturn .. " mp, and now have " .. current_mp .. "/" .. max_mp .. " mp.")
end
end
if (current_mp == max_mp) then
crawl.mpr("MP restored: " .. current_mp .. "")
end
end
--On losing magic
if current_mp < previous_mp then
if current_mp <= (max_mp / 5) then
crawl.mpr("You now have " .. current_mp .. "/" ..max_mp .." mp.")
elseif current_mp <= (max_mp / 2) then
crawl.mpr("You now have " .. current_mp .. "/" ..max_mp .." mp.")
else
crawl.mpr("You now have " .. current_mp .. "/" ..max_mp .." mp.")
end
end
end
end
--Set previous hp/mp and form at end of turn
previous_hp = current_hp
previous_mp = current_mp
previous_form = current_form
was_berserk_last_turn = you_are_berserk
end
>
####################
#AUTOPIKUP FUNCTION#
####################
{
add_autopickup_func(function(it, name)
if it.is_useless then
return false
end
if name:find("curare") then return true end
if name:find("dispersal") and (name:find("dart") or name:find("tomahawk"))
then return true end
if name:find("throwing net") then return true end
local class = it.class(true)
local armour_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves",
boots="Boots", body="Armour", shield="Shield"}
if (class == "armour") then
sub_type = it.subtype()
equipped_item = items.equipped_at(armour_slots[sub_type])
if (sub_type == "cloak") or (sub_type == "helmet") or (sub_type ==
"gloves") or (sub_type == "boots") then
if not equipped_item then
return true
else
return it.artefact or it.branded or it.ego
end
end
if (sub_type == "body") then
if equipped_item then
local armourname = equipped_item.name()
if equipped_item.artefact or equipped_item.branded or
equipped_item.ego or (equipped_item.plus > 2) or armourname:find("dragon") or
armourname:find("troll") then
return it.artefact
else
return it.artefact or it.branded or it.ego
end
end
return true
end
if (sub_type == "shield") then
if equipped_item then
return it.artefact or it.branded or it.ego
end
end
end
end)
}
#не будет работать если не будет на какую-нибудь кнопку забильжен макрос "===toggle_manual_exploration" включает/выключает force_more_message, то есть игра будет стопориться при появление ЛЮБОГО монстра в ЛОС.
{
function toggle_manual_exploration()
if (c_persist.force_more_on_new_enemy_sight == nil) then
c_persist.force_more_on_new_enemy_sight = false
end
c_persist.force_more_on_new_enemy_sight = not c_persist.force_more_on_new_enemy_sight
if (c_persist.force_more_on_new_enemy_sight) then
crawl.setopt("force_more_message += comes? into view")
crawl.mpr("Manual exploration ON.")
else
crawl.setopt("force_more_message -= comes? into view")
crawl.mpr("Manual exploration OFF.")
end
end
}
#########
#ALIASES#
#########
ae := autopickup_exceptions
ai := autoinscribe
as := ability_slot
item := item_glyph
is := item_slot
menu := menu_colour
more := force_more_message
ss := spell_slot
stop := runrest_stop_message
msc := message_colour
: if you.god() == "Nemelex Xobeh" then
ae += ring of (protection from mag|mag|stealth|ice|fire|pos|wiz)
ae +=