작동안하거나 필요 없는 구문 있을 수도 있는데 별 문제 없이 돌아가긴함
좀 불편할 거 같은건 걸러넣었는데
탭질 체력 65%로 되어있으니 불편하면 바꾸셈
# 방어구 자동 줍기
{
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
## 체력 경고
hp_warning = 50
force_more_message += LOW HITPOINT WARNING
## 자동공격이 멈추는 체력 비율
autofight_stop = 65
# 위험한 몬스터 알림
monster_alert += glass eye, shining eye, great orb of eyes
monster_alert += moth of wrath, ghost moth, torpor snail
monster_alert += radroach, entropy weaver, meliai, raven
monster_alert += guardian serpent, draconian shifter
monster_alert += royal mummy, mummy priest, ice fiend, brimstone fiend, tzitzimitl
monster_alert += flayed ghost, Tormentor, curse toe, curse skull, alderking
monster_alert += hellion, hell sentinel, deep elf sorcerer
monster_alert += deep elf high priest, draconian scorcher
monster_alert += ancient lich, dread lich, undying armoury, juggernaut
monster_alert += executioner, shard shrike, caustic shrike, chonchon, wyrmhole
monster_alert += wretched star, lurking horror, screaming refraction
monster_alert += neqoxec, cacodemon, oblivion hound, nekomata, zykzyl
monster_alert += salamander tyrant, ironbound frostheart, ironbound beastmaster, ironbound convoker
monster_alert += walking crystal tome, walking divine tome, walking earthen tome, walking frostbound tome
monster_alert += orb of fire, orb of winter, orb of entropy
#왜곡무기 장비한 몬스터, 춤추는 왜곡무기 출현 시 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 += <throwing net
autopickup_exceptions += <dart
#보라색 템 자동으로 주움
autopickup_exceptions ^= <(immolation|lignification|mutation|attraction|vulnerability|torment|scroll of poison|scrolls of poison)
autopickup_exceptions ^= <tin of tremorstones
force_more_message += Ouch! That really hurt!
# 자동줍기 해제 시 다음 장 (투명몹)
force_more_message += Deactivating autopickup
# 안 보이는 무언가에게 마나가 빨리면 다음 장
force_more_message += watched by something
## 사운드 자동 켜기 ##
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
{
function ready()
DDoorWarning()
DDoorCounter()
Slowed_Check()
crawlstart()
end
}
# 시작 시 경험치 창 띄움
{
local need_skills_opened = true
function crawlstart()
if you.turns() == 0 and need_skills_opened then
need_skills_opened = false
crawl.sendkeys("m")
end
end
}
# DDoor 관련 펑션
{
local door = true
function DDoorWarning()
if you.status("in death's door (expiring)") and door then
crawl.yesno("DDoor is almost expired! (Y or N to confirm.)", false, false, true, false)
crawl.mpr("<white>It will be ended in 5-10 turns...... </white>")
door = false
end
if not you.status("in death's door (expiring)") then
door = true
end
end
}
{
local counter = you.turns()
function DDoorCounter()
if you.status("in death's door (expiring)") then
crawl.mpr("<white>Count "..you.turns() - counter.."......</white>")
end
if not you.status("in death's door (expiring)") then
counter = you.turns()+1
end
end
}
{
local speed = true
function Slowed_Check()
if speed and string.find(crawl.messages(8), "yourself slow down") and you.status("in death's door (expiring)") then
crawl.yesno("Warning: You are slowed while DDoor running out! (Y or N to confirm.)", false, false, true, true)
speed = false
end
if not speed and not you.status("in death's door (expiring)") then
speed = true
end
end
}
{
local scro = true
if not scro and not you.status("in death's door (expiring)") then
scro = true
end
}
# 매뉴얼 끝났을 때
force_more_message += You have finished your manual
#몬스터가 소리지르는 메시지, 문 여닫았는데 소리날 때 메시지 색 변경
#특정 소음 메시지 색 변경
channel.sound = lightgreen
#데몬스폰 몬스터러스 메시지 색 변경
message_colour ^= lightcyan:You feel monstrous as your demonic heritage exerts itself.
# 깊은 물은 자동 탐색 안함
# 일부 특수 지형에서 자동 탐색할 때 불편할 수도 있음
travel_avoid_terrain = deep water
confirm_action += (Blink|Silence|Swiftness|Maxwell's Capacitive Coupling|Death's Door|Animate Dead)
# 디스펠 공격 피격
force_more_message += Your magical effects are unravelling
# 데도 끝나갈 때
flash_screen_message += time is quickly running out
force_more_message += time is quickly running out
# 구름 상태 표시
cloud_status = true
# 탐색시 벽 쪽으로 향하는 정도
explore_wall_bias = 0
# 디스펠 언데드, 신성 공격 피격
force_more_message += You convulse
# 왜곡무기 피격
force_more_message += Space warps .* around you
force_more_message += hits you.*distortion
force_more_message += Its appearance distorts for a moment
force_more_message += you fell strangely unstable
# 카오스무기 피격
force_more_message += hits you.*chaos
# 석화 구름 피격
force_more_message += calcifying dust hits you
# 혼란 걸림
force_more_message += You are confused
# 감속, 헤이스트 종료
force_more_message += You feel yourself slow down
# 컨터치, MCC, 태엽벌 시전 실패 시
# more 띄우고 화면 깜빡임
force_more_message += You miscast Confusing touch
flash_screen_message += You miscast Confusing touch
force_more_message += You miscast Maxwell
flash_screen_message += You miscast Maxwell
force_more_message += You miscast Launch Clockwork
flash_screen_message += You miscast Launch Clockwork
# 맹그로브가 레이븐 소환
force_more_message += ravens fly out from beneath
# 베커닝 게일 피격
force_more_message += beckoning whirlwind drags you forward
#미니서브던전 알림
force_more_message += timed_portal:.*
runrest_stop_message += timed_portal:.*
#둠,컨탬 UI 항상 표시
always_show_doom_contam = true
#이레디 컨탬 경고
warn_contam_cost = true
rest_delay=-1
travel_delay =-1
show_travel_trail=true
ㅁㅊ 이거지 고마워 뽀뽀마렵네