# ccsdt #tile_show_threat_levels = trivial, easy, tough, nasty, unusual show_more = false autopickup_exceptions += noise force_spell_targeter = all force_ability_targeter = all #spell_slot ^= Apportation:a #spell_slot ^= Ozocubu's Armor:bc #spell_slot ^= Fugue of the Fallen:bc #spell_slot ^= Iskenderun's Mystic Blast:c #spell_slot ^= Sublimation of Blood:b always_show_gems = true more_gem_info = true mp_warning = 20 hp_warning = 50 explore_auto_rest = false autofight_stop = 75 stat_colour = 2:red, 6:yellow default_show_all_skills = true default_manual_training = true reduce_animations = false use_animations = beam, range, hp, monster_in_sight, pickup, monster, player, branch_entry tile_water_anim = true tile_misc_anim = true tile_realtime_anim = true launcher_autoquiver = false fail_severity_to_quiver = 5 show_god_gift = yes force_more_message += knowledge note_all_skill_levels = true always_show_gems = true more_gem_info = true autoinscribe += summoning:dangerous_item autoinscribe += throwing net:!f autoinscribe += silence:dangerous_item autoinscribe += scroll:!r autoinscribe += potion:!q autoinscribe += axe of woe:!d rest_wait_percent = 70 rest_wait_ancestor = true force_more_message += breathes a plume of calcifying runrest_stop_message += returns to the grave #force_more_message += can now #force_more_message += can no longer #force_more_message += uskayaw will custom_text_colours = black:#000000, blue:#204a87, green:#4e9a06, cyan:#06989a, red:#b30009, magenta:#8e45a1, brown:#8f5902, lightgray:#babdb6, darkgray:#555753, lightblue:#729fcf, lightgreen:#8ae234, lightcyan:#34e2e2, lightred:#ef2929, lightmagenta:#fd59fa, yellow:#fce94f, white:#eeeeec #bindkey = [h] CMD_NO_CMD_DEFAULT #bindkey = [j] CMD_NO_CMD_DEFAULT #bindkey = [k] CMD_NO_CMD_DEFAULT #bindkey = [l] CMD_NO_CMD_DEFAULT #bindkey = [H] CMD_NO_CMD_DEFAULT #bindkey = [J] CMD_NO_CMD_DEFAULT #bindkey = [K] CMD_NO_CMD_DEFAULT #bindkey = [L] CMD_NO_CMD_DEFAULT #bindkey = [^H] CMD_NO_CMD_DEFAULT #bindkey = [^J] CMD_NO_CMD_DEFAULT #bindkey = [^K] CMD_NO_CMD_DEFAULT #bindkey = [^L] CMD_NO_CMD_DEFAULT ##bindkey = [y] CMD_NO_CMD_DEFAULT ##bindkey = [u] CMD_NO_CMD_DEFAULT ##bindkey = [b] CMD_NO_CMD_DEFAULT ##bindkey = [n] CMD_NO_CMD_DEFAULT #bindkey = [Y] CMD_NO_CMD_DEFAULT #bindkey = [U] CMD_NO_CMD_DEFAULT #bindkey = [B] CMD_NO_CMD_DEFAULT #bindkey = [N] CMD_NO_CMD_DEFAULT #bindkey = [^Y] CMD_NO_CMD_DEFAULT #bindkey = [^U] CMD_NO_CMD_DEFAULT #bindkey = [^B] CMD_NO_CMD_DEFAULT #bindkey = [^N] CMD_NO_CMD_DEFAULT bindkey = [h] CMD_TARGET_CANCEL bindkey = [j] CMD_TARGET_CANCEL bindkey = [k] CMD_TARGET_CANCEL bindkey = [l] CMD_TARGET_CANCEL bindkey = [H] CMD_TARGET_CANCEL bindkey = [J] CMD_TARGET_CANCEL bindkey = [K] CMD_TARGET_CANCEL bindkey = [L] CMD_TARGET_CANCEL bindkey = [^H] CMD_TARGET_CANCEL bindkey = [^J] CMD_TARGET_CANCEL bindkey = [^K] CMD_TARGET_CANCEL bindkey = [^L] CMD_TARGET_CANCEL #bindkey = [y] CMD_TARGET_CANCEL #bindkey = [u] CMD_TARGET_CANCEL #bindkey = [b] CMD_TARGET_CANCEL #bindkey = [n] CMD_TARGET_CANCEL bindkey = [Y] CMD_TARGET_CANCEL bindkey = [U] CMD_TARGET_CANCEL bindkey = [B] CMD_TARGET_CANCEL bindkey = [N] CMD_TARGET_CANCEL bindkey = [^Y] CMD_TARGET_CANCEL bindkey = [^U] CMD_TARGET_CANCEL bindkey = [^B] CMD_TARGET_CANCEL bindkey = [^N] CMD_TARGET_CANCEL easy_floor_use = false autopickup_search = true note_chat_messages = true note_dgl_messages = true more := flash_screen_message more += Something appears at your feet more += You can now more += You.*no longer.*bleed smoke more += You can no longer more += Your.*can no longer more += You feel monstrous more += Jiyva alters your body more += You feel your soul grow more += The power to cast more += You feel a terrible more += You are burned terribl more += scroll of identify more += 27-headed.*(comes? into view|opens the) more += Agnes.*(comes? into view|opens the) more += Aizul.*(comes? into view|opens the) more += Antaeus.*(comes? into view|opens the) more += Arachne.*(comes? into view|opens the) more += Asmodeus.*(comes? into view|opens the) more += Asterion.*(comes? into view|opens the) more += Azrael.*(comes? into view|opens the) more += Bai Shuzen.*(comes? into view|opens the) more += Blork the orc.*(comes? into view|opens the) more += Boris.*(comes? into view|opens the) more += Cerebov.*(comes? into view|opens the) more += Crazy Yiuf.*(comes? into view|opens the) more += Dispater.*(comes? into view|opens the) more += Dissolution.*(comes? into view|opens the) more += Donald.*(comes? into view|opens the) more += Dowan.*(comes? into view|opens the) more += Duvessa.*(comes? into view|opens the) more += Edmund.*(comes? into view|opens the) more += Ereshkigal.*(comes? into view|opens the) more += Erica.*(comes? into view|opens the) more += Erolcha.*(comes? into view|opens the) more += Eustachio.*(comes? into view|opens the) more += Fannar.*(comes? into view|opens the) more += Frances.*(comes? into view|opens the) more += Francis.*(comes? into view|opens the) more += Frederick.*(comes? into view|opens the) more += Gastronok.*(comes? into view|opens the) more += Geryon.*(comes? into view|opens the) more += Gloorx Vloq.*(comes? into view|opens the) more += Grinder.*(comes? into view|opens the) more += Grum.*(comes? into view|opens the) more += Harold.*(comes? into view|opens the) more += Ignacio.*(comes? into view|opens the) more += Ijyb.*(comes? into view|opens the) more += Ilsuiw.*(comes? into view|opens the) more += Jessica.*(comes? into view|opens the) more += Jorgrun.*(comes? into view|opens the) more += Jory.*(comes? into view|opens the) more += Joseph.*(comes? into view|opens the) more += Josephine.*(comes? into view|opens the) more += Jozef.*(comes? into view|opens the) more += Khufu.*(comes? into view|opens the) more += Kirke.*(comes? into view|opens the) more += Lom Lobon.*(comes? into view|opens the) more += Louise.*(comes? into view|opens the) more += Mara.*(comes? into view|opens the) more += Margery.*(comes? into view|opens the) more += Maurice.*(comes? into view|opens the) more += Menkaure.*(comes? into view|opens the) more += Mennas.*(comes? into view|opens the) more += Mnoleg.*(comes? into view|opens the) more += Murray.*(comes? into view|opens the) more += Natasha.*(comes? into view|opens the) more += Nergalle.*(comes? into view|opens the) more += Nessos.*(comes? into view|opens the) more += Nikola.*(comes? into view|opens the) more += Norris.*(comes? into view|opens the) more += Pikel.*(comes? into view|opens the) more += Polyphemus.*(comes? into view|opens the) more += Prince Ribbit.*(comes? into view|opens the) more += Psyche.*(comes? into view|opens the) more += Purgy.*(comes? into view|opens the) more += Robin.*(comes? into view|opens the) more += Roxanne.*(comes? into view|opens the) more += Rupert.*(comes? into view|opens the) more += Saint Roka.*(comes? into view|opens the) more += Sigmund.*(comes? into view|opens the) more += Snorg.*(comes? into view|opens the) more += Sojobo.*(comes? into view|opens the) more += Sonja.*(comes? into view|opens the) more += Terence.*(comes? into view|opens the) more += The Lernaean hydra.*(comes? into view|opens the) more += The royal jelly.*(comes? into view|opens the) more += The Serpent of Hell.*(comes? into view|opens the) more += Tiamat.*(comes? into view|opens the) more += Urug.*(comes? into view|opens the) more += Vashnia.*(comes? into view|opens the) more += Xtahua.*(comes? into view|opens the) ###### Damage calc ############################################## #이건 모 갤럼꺼에서 가져온 rc #include += HDamage.rc { function ready() AnnounceDamage() end } { 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.30) then crawl.mpr("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 } # Skill menu at game start { local need_skills_opened = true function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end if crawl.messages(5):find("You enter a gauntlet") and (you.god()=="Lugonu" or you.god()=="Fedhas" or you.god()=="Hepliaklqana") then crawl.mpr("Walls can't stop you!") end AnnounceDamage() end } # pickup armor you haven't seen yet { local function autopickup(it, name) local class = it.class(true) if it.is_useless then return false end if class == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"} st, _ = it.subtype() if good_slots[st] ~= nil and items.equipped_at(good_slots[st]) == nil then return true elseif st ~= "body" and st ~= "shield" and (it.artefact or it.branded) then return true end end return nil end add_autopickup_func(autopickup) } force_more_message += An item of great power still resides in this realm, and once you leave you can never return. Are you sure you want to leave? force_more_message += The tension of great conflict fills the air! force_more_message += Searing heat pours from the floors and walls of this place. The mighty Pandemonium lord Cerebov resides here. force_more_message += The air here is shimmering with an eerie glow. The mighty Pandemonium lord Mnoleg resides here. force_more_message += You sense a powerful magical presence. It is not pleased. The mighty Pandemonium lord Lom Lobon resides here. force_more_message += Shadowy figures dance across your vision. The mighty Pandemonium lord Gloorx Vloq resides here. force_more_message += ticking.*clock force_more_message += dying ticks force_more_message += distant snort force_more_message += coins.*counted force_more_message += tolling.*bell force_more_message += roar of battle force_more_message += creaking.*portcullis force_more_message += portcullis is probably force_more_message += wave of frost force_more_message += crackling.*melting force_more_message += hiss.*sand force_more_message += sound.*rushing water force_more_message += rusting.*drain force_more_message += drain falling apart force_more_message += heat about you force_more_message += falling.*rocks force_more_message += rumble.*avalanche of rocks force_more_message += crackle.*arcane power force_more_message += crackle.*magical portal force_more_message += distant wind force_more_message += whistling.*wind force_more_message += rapidly growing quiet force_more_message += wielding.* distortion.* comes? into view force_more_message += You have reached level force_more_message += You fall through a shaft force_more_message += You enter a teleport trap force_more_message += You are suddenly yanked force_more_message += interdimensional caravan force_more_message += distant snort force_more_message += Found a gateway leading out of the Abyss force_more_message += Found a gateway leading deeper into the Abyss force_more_message += Found .* abyssal rune of Zot force_more_message += Careful! force_more_message += You are starting to lose your buoyancy force_more_message += You miscast Flight force_more_message += filled with .* inner flame force_more_message += grabs you force_more_message += starts rolling force_more_message += looks more exp force_more_message += plume of calc force_more_message += vile air hits you force_more_message += engulfs you in water force_more_message += breathes miasma force_more_message += You feel your flesh start force_more_message += Found * staircase leading down force_more_message += You are engulfed in seething chaos force_more_message += You are slowing down force_more_message += You are confused force_more_message += fire storm spell force_more_message += Your guardian golem overheats force_more_message += offers itself force_more_message += volcano erupts force_more_message += Uskayaw prepares the audience for your solo force_more_message += Something reaches out for you force_more_message += You become entangled in the net force_more_message += wield.* blowgun force_more_message += the weather force_more_message += forecast force_more_message += you cannot.* because force_more_message += pie hits you force_more_message += You feel your soul grow force_more_message += You return your torch's flame to Yredelemnul tile_font_crt_size = 15 tile_font_stat_size = 12 tile_font_msg_size = 14 tile_font_tip_size = 12 tile_font_lbl_size = 12 tile_sidebar_pixels = 16 food_snacking_frequency = 100 fountain_line_frequency = 100 dump_order += turns_by_place, kills_by_place #Ilsuiw, Witch of the Tides #tile_player_tile = tile:MONS_ILSUIW #Tiamat, Avatar of the Dragonlord #tile_player_tile = tile:MONS_TIAMAT #Margery the Dragonslayer #tile_player_tile = tile:MONS_MARGERY #Zenata, Seeker of Sheza #tile_player_tile = tile:MONS_ZENATA #Water nymph #tile_player_tile = tile:MONS_WATER_NYMPH #Gastronok the Ponderous #tile_player_tile = tile:MONS_GASTRONOK #fake_lang = kraut