# CRAWL.NEMELEX.CARDS #채팅 리디렉션 redirect_chat = true #골드 인터페이스 show_gold_status = true #채팅 삭제 방지 disable_clear_chat = true #Crawler's Sound Pack sound_on = true sound_pack += https://osp.nemelex.cards/build/latest.zip:["init.txt"] one_SDL_sound_channel = true sound_fade_time = 0.5 sound_volume = 0.1 ## 한글 고정폭 폰트 ## #$ lab_apply_font = true ## 악마 티어 타일로 표시 ## tile_show_demon_tier = true #애니메이션 속도 빠르게(기본값=600) view_delay = 200 ## 왜곡무기 장비한 몬스터, 춤추는 왜곡무기 출현 시 more, 화면이 번쩍 효과 ## force_more_message += It is wielding.*of distortion force_more_message += She is wielding.*of distortion force_more_message += He is wielding.*of distortion force_more_message += wielding.* distortion.* comes? into view flash_screen_message += It is wielding.*of distortion flash_screen_message += She is wielding.*of distortion flash_screen_message += He is wielding.*of distortion flash_screen_message += wielding.* distortion.* comes? into view flash_screen_message += distortion.* comes? into view ## 안 보이는 무언가에게 마나가 빨리면 다음 장 ## force_more_message += watched by something ## 폰트 변경 ## ##tile_font_crt_family = Consolas ##tile_font_stat_family = Consolas ##tile_font_msg_family = Consolas ##tile_font_lbl_family = Consolas ## 그물, 쿠라레 자동으로 주움 ## autopickup_exceptions += 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('Now you have [' .. current_hp .. '/' .. max_hp .. '] HP') else crawl.mpr('Now you have [' .. current_hp .. '/' .. max_hp .. '] HP') end else --체력 잃을때 if (current_hp < previous_hp) then if current_hp <= (max_hp * 0.30) then crawl.mpr('You take ' .. hp_difference .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') elseif current_hp <= (max_hp * 0.50) then crawl.mpr('You take ' .. hp_difference .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') elseif current_hp <= (max_hp * 0.70) then crawl.mpr('You take ' .. hp_difference .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') elseif current_hp <= (max_hp * 0.90) then crawl.mpr('You take ' .. hp_difference .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') else crawl.mpr('You take ' .. hp_difference .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') end if hp_difference > (max_hp * 0.20) then crawl.mpr('!!!!! HP Warning !!!!!') end end --체력 얻을때 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 gain ' .. health_inturn .. ' hp, and have [' .. current_hp .. '/' .. max_hp .. '] hp.') elseif current_hp <= (max_hp * 0.50) then crawl.mpr('You gain ' .. health_inturn .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] hp.') elseif current_hp <= (max_hp * 0.70) then crawl.mpr('You gain ' .. health_inturn .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') elseif current_hp <= (max_hp * 0.90) then crawl.mpr('You gain ' .. health_inturn .. ' HP, and have [' .. current_hp .. '/' .. max_hp ..'] HP') else crawl.mpr('You gain ' .. health_inturn .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP') end end if (current_hp == max_hp) then crawl.mpr(' HP Full. (' .. current_hp .. ')') end end --마력 얻을때 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 gain ' .. mp_inturn .. ' MP, and have [' .. current_mp .. '/' .. max_mp .. '] MP') elseif current_mp < (max_mp * 0.50) then crawl.mpr('You gain ' .. mp_inturn .. ' MP, and have [' .. current_mp .. '/' .. max_mp .. '] MP') else crawl.mpr('You gain ' .. mp_inturn .. ' MP, and have [' .. current_mp .. '/' .. max_mp .. '] MP') end end if (current_mp == max_mp) then crawl.mpr('MP Full (' .. current_mp .. ')') end end --마력 잃을때 if current_mp < previous_mp then if current_mp <= (max_mp * 0.25) then crawl.mpr('You lose ' .. mp_difference .. 'MP, and have [' .. current_mp .. '/' ..max_mp ..'] MP') elseif current_mp <= (max_mp * 0.50) then crawl.mpr('You lose ' .. mp_difference .. 'MP, and have [' .. current_mp .. '/' ..max_mp ..'] MP') else crawl.mpr('You lose ' .. mp_difference .. 'MP, and 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 function ready() -- Enable AnnounceDamage. announce_damage_ko() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end end } lab_use_click_to_send_chat = true --------## Alert Messages ##-------- -- monsters alert force_more_message += .*into view --[=[]=] ### Snake Pit ### message_colour ^= lightred: guardian serpent .*into view message_colour ^= lightred: salamander tyrant .*into view ### Shoal ### message_colour ^= lightred: merfolk aquamancer .*into view ### Swamp ### message_colour ^= lightred: A thorn hunter .*into view ### Vaults ### message_colour ^= lightred: peacekeeper .*into view ### Zot Realm ### message_colour ^= lightred: draconian scorcher .*into view message_colour ^= lightred: draconian shifter .*into view message_colour ^= lightred: draconian stormcaller .*into view message_colour ^= lightred: moth of wrath .*into view ### Slime Pit ### message_colour ^= lightred: shining eye .*into view ### Abyss ### message_colour ^= lightred: wretched star .*into view -- danger brands alert #venom alert unusual_monster_items += venom force_more_message += is wielding.*venom.* force_more_message += .* of venom comes into view #antimagic alert unusual_monster_items += antimagic force_more_message += is wielding.*antimagic.* force_more_message += .* of antimagic comes into view #distortion alert force_more_message += is wielding.*distortion.* flash_screen_message += is wielding.*distortion.* force_more_message += .* of distortion comes into view flash_screen_message += .* of distortion comes into view #holy alerts for undeads : if you.race() == "Vampire" or you.race() == "Mummy" or you.race() == "Ghoul" or you.race() == "Demonspawn" then unusual_monster_items += holy force_more_message += is wielding.*holy.* flash_screen_message += is wielding.*holy.* force_more_message += .* of holy.* comes into view flash_screen_message += .* of holy.* comes into view flash_screen_message += (revenant|black sun).*into view : end -- demonspawn alert force_more_message += your demonic ancestry asserts itself force_more_message += You feel monstrous as your demonic heritage exerts itself. message_colour ^= lightcyan:You feel monstrous as your demonic heritage exerts itself. -- miscast & failure alert force_more_message += You fail to use your ability. flash_screen_message += You fail to use your ability. message_colour ^= lightred: You fail to use your ability. force_more_message += you miscast .* flash_screen_message += you miscast .* message_colour ^= lightred: you miscast .* -- invisible expiring force_more_message += you flicker for a moment force_more_message += you flicker back into view --monsters resisting from hex (not using) --force_more_message += struggles to resist --force_more_message += resists with .* effort #message additions force_more_message += grants you force_more_message += pick up a manual force_more_message += You have finished your manual force_more_message += You feel your power leaking away force_more_message += found a staircase to the ecumenical temple force_more_message += blink again force_more_message += yourself slow down -- force_more_message += Training target .* for .* reached force_more_message += They guard the force_more_message += It guards the demonic rune of Zot force_more_message += (A|The) demonic rune of Zot (can|may) be found here. force_more_message += You feel less contaminated with magical energies. force_more_message += A sentinel's mark forms upon you force_more_message += your magic feels tainted force_more_message += you hear a chittering from your sack of spiders. -- force_more_message += You feel a bit more experienced ---# portal alerts #--- more := force_more_message more += ticking.*clock more += dying ticks more += distant snort more += coins.*counted more += tolling.*bell more += roar of battle more += creaking.*portcullis more += portcullis is probably more += wave of frost more += crackling.*melting more += hiss.*sand more += sound.*rushing water more += rusting.*drain more += drain falling apart more += heat about you more += falling.*rocks more += rumble.*avalanche of rocks more += crackle.*arcane power more += crackle.*magical portal more += distant wind more += whistling.*wind more += rapidly growing quiet more += beating.*drum more += the drumbeats cease more += interdimensional caravan more += You hear the slow rusting #message exceptions force_more_message -= You have reached level force_more_message -= You sense force_more_message -= You shake off the liquid fire -- gods alert #Vehumet flash flash_screen_message += Vehumet offers* #Uskayaw Paralysis force_more_message += Uskayaw prepares the audience for your solo! --showing prompt force_spell_targeter += Silence confirm_action += Silence --------## Message Colors ##-------- #message color for noises channel.talk = lightgreen channel.sound = lightgreen message_colour ^= yellow: You hear #noise exceptions message_colour ^= white: You hear the crackle of electricity. message_colour ^= white: You hear a distant slurping noies. message_colour ^= white: (says|mumbles) message_colour ^= yellow:You (scream|yowl) message_colour ^= yellow:for attention #message color exceptions #message_colour ^= mute: There is message_colour ^= white: no longer poisoned message_colour ^= white: You shake off the liquid fire message_colour ^= white: your life force feels restored message_colour ^= white: your .* skill increases to message_colour ^= white: You have reached level message_colour ^= white: returning message_colour ^= white: breath back channel.monster_damage = lightcyan message_colour ^= lightcyan: You feel a bit more experienced message_colour ^= mute:is lightly (damaged|wounded) message_colour ^= mute:is moderately (damaged|wounded) message_colour ^= mute:is heavily (damaged|wounded) message_colour ^= mute:is severely (damaged|wounded) message_colour ^= mute:is almost (dead|destroyed) message_colour ^= white : Your .* (destroyed|explodes)! message_colour ^= white : The ball lightning explodes! channel.hell_effect = magenta channel.god = brown channel.duration = blue message_colour ^= blue : The ice encasing you melts away. -- Cyan for interface message_colour ^= cyan: is nearby! message_colour ^= cyan: monsters nearby! --message_colour ^= cyan: You can't carry that many items. --message_colour ^= cyan: No target in view message_colour ^= cyan: (Done exploring|Partly explored|Could not explore) #force_more_message += (Done exploring|Partly explored|Could not explore) --Red for dangers -- Confused message_colour ^= red:You are too confused! force_more_message += You are too confused! -- Sap -- -Cast force_more_message += You don't know any spells. message_colour ^= red:You are unable to access your magic! force_more_message += You are unable to access your magic! --Green message_colour ^= green: You add the spell message_colour ^= green: Training target .* for .* reached message_colour ^= green: as sick as possible! force_more_message += Extra Life!