# CRAWL.NEMELEX.CARDS # 방어구 자동 줍기 { add_autopickup_func(function(it, name) local class = it.class(true) local armour_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots", body="Armour", shield="Shield"} if (class == "armour") then if it.is_useless then return false end 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 return false end if (sub_type == "shield") then if equipped_item then return it.artefact or it.branded or it.ego end end end end) } # 언데드 홀리무기 경고 : if you.race() == "Poltergeist" or you.race() == "Mummy" or you.race() == "Revenant" or you.race() == "Demonspawn" then unusual_monster_items += holy : end #디스펠언데드 피격, 신성공격 피격 force_more_message += You convulse #카오스무기 장비한 몬스터, 춤추는 카오스무기 출현 force_more_message += It is wielding.*of chaos force_more_message += She is wielding.*of chaos force_more_message += He is wielding.*of chaos force_more_message += wielding.* chaos.*(come.*into view|open.*door) flash_screen_message += It is wielding.*of chaos flash_screen_message += She is wielding.*of chaos flash_screen_message += He is wielding.*of chaos flash_screen_message += wielding.* chaos.*(come.*into view|open.*door) flash_screen_message += chaos.*(come.*into view|open.*door) #신성공격에 취약한 종족일 때 신성무기 장비한 몬스터, 춤추는 신성무기 출현 : if you.race() == "Poltergeist" or you.race() == "Mummy" or you.race() == "Revenant" or you.race() == "Demonspawn" then force_more_message += It is wielding.*of holy wrath force_more_message += She is wielding.*of holy wrath force_more_message += He is wielding.*of holy wrath force_more_message += wielding.* holy wrath.*(come.*into view|open.*door) force_more_message += holy wrath.*(come.*into view|open.*door) flash_screen_message += It is wielding.*of holy wrath flash_screen_message += She is wielding.*of holy wrath flash_screen_message += He is wielding.*of holy wrath flash_screen_message += wielding.* holy wrath.*(come.*into view|open.*door) flash_screen_message += holy wrath.*(come.*into view|open.*door) : end #킬러클라운 파이 피격 force_more_message += pie hits you #포스랜스 피격 force_more_message += You are knocked back #윈드 블라스트 피격 force_more_message += You are blown backwards # engulf 상태에서 주문 시전 시도 force_more_message += You cannot cast spells while unable to breathe! # 침묵 상태에서 주문 시전 시도 force_more_message += You cannot cast spells when silenced! #메세지가 너무 많이 떴을 때 강제로 more 띄우지 않게 함 show_more = false default_manual_training = true #유니크 몬스터 알림 force_more_message += .*(Agnes|Aizul|Amaemon|Antaeus|Arachne|Asmodeus|Azrael|Bai suzhen|Blork the orc|Boris|Cerebov|Crazy Yiuf|Dispater|Dissolution|Donald|Dowan|Duvessa|Edmund|the Enchantress|Ereshkigal|Erica|Erolcha|Eustachio|Fannar|Frances|Frederick|Gastronok|Geryon|Gloorx Vloq|Grinder|Grum|Grunn|Harold|Ignacio|Ijyb|Ilsuiw|Jessica|Jorgrun|Jory|Joseph|Josephina|Josephine|Khufu|Kirke|the Lernaean hydra|Lodul|Lom Lobon|Louise|Maggie|Mara|Margery|Maurice|Menkaure|Mlioglotl|Mennas|Mnoleg|Murray|Nergalle|Natasha|Nessos|Nikola|Pan|Parghit|Pikel|Polyphemus|Prince Ribbit|Psyche|Purgy|Robin|Roxanne|the royal jelly|Rupert|Saint Roka|the Serpent of Hell|Sigmund|Snorg|Sojobo|Sonja|Terence|Tiamat|Urug|Vashnia|Vv|Xtahua|Zenata|nobody).*comes? into view #위험한 몬스터 알림 force_more_message += ((giant|floating|shining) eye).*into view force_more_message += (moth of wrath|ghost moth|torpor snail).*into view force_more_message += (guardian serpent|draconian shifter|convoker).*into view force_more_message += (flayed ghost|royal mummy|mummy priest|fiend|tzitzimitl|wyrmhole).*into view force_more_message += (tormentor|curse toe|curse skull|alderking).*into view force_more_message += (hellion|hell sentinel|deep elf sorcerer).*into view force_more_message += (deep elf high priest|scorcher).*into view force_more_message += (ancient lich|dread lich|orb of fire|executioner|juggernaut|shrike|undying armoury).*into view force_more_message += (wretched star|lurking horror).*into view force_more_message += (neqoxec|cacodemon|doom hound|nekomata).*into view force_more_message += 27-headed.* comes? into view force_more_message += (radroach|entropy weaver|meliai).*into view force_more_message += (salamander tyrant|ironbound frostheart).*into view force_more_message += (walking crystal tome|walking divine tome|walking earthen tome|walking frostbound tome).*into view #위험한 몬스터로 변신 시 force_more_message += changes into.*((giant|floating|shining) eye|eye of draining) force_more_message += changes into.*(moth of wrath|ghost moth|torpor snail) force_more_message += changes into.*(guardian serpent|draconian shifter|convoker) force_more_message += changes into.*(flayed ghost|royal mummy|mummy priest|fiend|tzitzimitl) force_more_message += changes into.*(tormentor|curse toe|curse skull) force_more_message += changes into.*(hellion|hell sentinel|deep elf sorcerer) force_more_message += changes into.*(deep elf high priest|scorcher) force_more_message += changes into.*(ancient lich|orb of fire|executioner|juggernaut|shrike) force_more_message += changes into.*(wretched star|lurking horror) force_more_message += changes into.*(neqoxec|cacodemon|doom hound) force_more_message += changes into.*(radroach|entropy weaver|meliai) force_more_message += changes into.*(salamander tyrant|ironbound frostheart) force_more_message += changes into.*(walking crystal tome|walking divine tome|walking earthen tome|walking frostbound tome) #왜곡무기 장비한 몬스터, 춤추는 왜곡무기 출현 시 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 #폰트를 Consolas로 바꿈 tile_font_crt_family = Consolas tile_font_stat_family = Consolas tile_font_msg_family = Consolas tile_font_lbl_family = Consolas #아이템 더미로 이동 explore_stop -= greedy_visited_item_stack #그물, 다투라 던지기 전 확인 autoinscribe += throwing net:!f autoinscribe += datura:!f autopickup_exceptions ^= >useless_item #골드, 스크롤, 포션, 책, 장신구, 완드, 스태프, 잡동사니를 자동으로 주움 autopickup = $?!:"/|} #그물, 쿠라레 자동으로 주움 autopickup_exceptions += = 25 then -- 1/4 이상 데미지 return "lightmagenta" elseif damage_percent >= 15 then -- 1/6.67 데미지 return "lightred" elseif damage_percent >= 10 then -- 1/10 데미지 return "red" elseif damage_percent >= 5 then -- 1/20 데미지 return "yellow" elseif damage > 1 or damage_percent > 2 then -- 2% 초과 또는 2 이상의 모든 데미지 return "white" else return "lightgray" -- 1 데미지나 2% 이하만 회색으로 end end function ready() local current_hp, max_hp = you.hp() local current_mp, max_mp = you.mp() -- HP 변화 체크 local hp_change = current_hp - last_hp if hp_change ~= 0 then local msg if hp_change < 0 then local damage = -hp_change local color = get_damage_color(damage, max_hp) msg = string.format("You took <%s>%d damage!", color, damage, color) else msg = string.format("You recovered %d HP!", hp_change) end crawl.formatted_mpr(msg) end -- MP 변화 체크 local mp_change = current_mp - last_mp if mp_change > 0 then local msg = string.format("You recovered %d MP!", mp_change) crawl.formatted_mpr(msg) end last_hp = current_hp last_mp = current_mp end } hp_warning = 50 force_more_message += LOW HITPOINT WARNING force_more_message += You have finished your manual { local need_skills_opened = true function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end end } #몬스터가 소리지르는 메세지, 문 여닫았는데 소리날 때 메세지 색 변경 message_colour ^= lightgreen:.*(shouts|hear a shout|hisses angrily|hear an angry hiss|shouts in stereo|hear two shouts|barks|hear a bark|howls|hear a howl|roars deafeningly|hear a deafening roar|roars|hear a roar|growls angrily|hear an angry growl|deep croak|croaks|hear a croak|buzzes angrily|hear an angry buzzing noise|screeches|hear a screech|bellows|hear a bellow|gurgles horribly|hear a horrible gurgling sound|squeals angrily|hear an angry squeal|bleats|hear a bleat|trumpets|hear a trumpeting|skitter|hear a skittering sound|skitter faintly|hear a faint skittering sound) message_colour ^= lightgreen:it creaks loudly #데몬스폰 몬스터러스 메세지 색 변경 message_colour ^= lightcyan:You feel monstrous as your demonic heritage exerts itself. # 젬카운트 설정 # always_show_gems = true # more_gem_info = true travel_avoid_terrain = deep water confirm_action += (Blink|Silence|Swiftness|Maxwell's Capacitive Coupling|Death's Door) force_more_message += Your magical effects are unravelling bindkey = [NP1] CMD_SAFE_MOVE_DOWN_LEFT bindkey = [NP2] CMD_SAFE_MOVE_DOWN bindkey = [NP3] CMD_SAFE_MOVE_DOWN_RIGHT bindkey = [NP4] CMD_SAFE_MOVE_LEFT bindkey = [NP6] CMD_SAFE_MOVE_RIGHT bindkey = [NP7] CMD_SAFE_MOVE_UP_LEFT bindkey = [NP8] CMD_SAFE_MOVE_UP bindkey = [NP9] CMD_SAFE_MOVE_UP_RIGHT bindkey = [-243] CMD_MOVE_UP bindkey = [-242] CMD_MOVE_DOWN bindkey = [-241] CMD_MOVE_LEFT bindkey = [-240] CMD_MOVE_RIGHT bindkey = [-238] CMD_MOVE_UP_LEFT bindkey = [-237] CMD_MOVE_DOWN_LEFT bindkey = [-235] CMD_MOVE_UP_RIGHT bindkey = [-234] CMD_MOVE_DOWN_RIGHT force_more_message += The mighty Pandemonium lord .* resides here force_more_message += You feel yourself slow down flash_screen_message += time is quickly running out force_more_message += time is quickly running out # autoinscribe += scroll:!r # autoinscribe += potion:!q cloud_status = true