view_delay = 200

#######################

####### 추가 rc ########

#######################





#적 위험도 표시

tile_show_threat_levels = tough nasty



show_travel_trail = true





hp_colour = 100:green, 90:white, 70:yellow, 50:lightred, 25:red

mp_colour = 100:cyan, 90:white, 70:yellow, 50:lightred, 25:red

stat_colour = 3:red, 7:lightred



show_more = false

autofight_stop = 60 

rest_wait_percent = 100

default_manual_training=true

equip_unequip=true

explore_auto_rest = true

runrest_ignore_monster += butterfly:1

explore_stop = artefacts,altars,portals,branches

explore_stop += greedy_pickup_smart




#############################################

##### Autoexplore Interruption Messages #####

#############################################

#runrest_stop_message += 특정 메세지

#ㄴ자동 탐사나 휴식 중 특정 메세지가 뜨면 탐사나 휴식을 멈춤

#runrest_ignore_message += 특정 메세지

runrest_ignore_message +=You are lightly contaminated with residual magic

runrest_ignore_message +=Your magical contamination has completely faded away

#ㄴ특정 메세지로 인해 탐사나 휴식이 멈추는 것을 막음

#runrest... 는 입력하기엔 너무 기니까 아래 기능으로 짧게 줄일 수 있음



#투명이 풀릴 시 멈춤

stop += You flicker back into view

#브레스 회복으로 인해 휴식, 탐험이 멈추는 것을 막음

ignore += your breath back

#중독 관련 멈추는 것을 막음

ignore += You feel.*sick

ignore += You are no longer corroded.



########################

##### Force_more ######

########################

#위험한 상황에 more을 띄우거나 화면을 반짝이는 기능

#메세지 창에 올라오는 메시지를 기반으로 more을 띄움

# .*은 중간 단어를 무시하는 기능



#주의해야하는 상황에서 more 띄움

force_more_message += LOW HITPOINT WARNING

force_more_message += hell_effect:

force_more_message += You feel less protected from missiles

force_more_message += finished your manual



force_more_message += .* carrying a wand of (acid|paralysis|enslavement|polymorph|disintegration)



# Death's Door

#force_more_message += Your time is quickly running out

#force_more_message += life is in your own


#npc 조우시 more 띄움

force_more_message += .*(Agnes|Aizul|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|Harold|Ignacio|Ijyb|Ilsuiw|Jessica|Jorgrun|Jory|Joseph|Josephine|Khufu|Kirke|the Lernaean hydra|Lom Lobon|Louise|Mara|Margery|Maurice|Menkaure|Mennas|Mnoleg|Murray|Nergalle|Natasha|Nessos|Nikola|Pan|Pikel|Polyphemus|Prince Ribbit|Psyche|Purgy|Roxanne|the royal jelly|Rupert|Saint Roka|the Serpent of Hell|Sigmund|Snorg|Sojobo|Sonja|Terence|Tiamat|Urug|Vashnia|Xtahua).*comes? into view





#데미지 18이상의 공격은 more을 띄움

more += you!!

more += you with.*!!



#신성무기 피격

more += you convulse!



#킬러클라운 파이

more += pie hits you



#토먼트 당함

more += Your body is wracked with pain


#슬로우

more += You feel.*slow down



#플로팅 아이가 쳐다 봄 (다음 턴에 높은 확률로 마비)

more += The floating eye.*(glare|focuse|fixate)

flash += The floating eye.*(glare|focuse|fixate)



#투명 상태의 유령 나방에게 마나 빨림

force_more_message += watched by something

flash += watched by something


#투명 풀림

more += You flicker back


#위험한 변이

more += You.*(uncertain|pissed off|vision blurs)



#위험한 함정

more += A sentinel's mark forms upon you

more += You are suddenly yanked towards

more += You become entangled in the net

more += enter.*dispersal trap

more += hear a loud "Zot

flash += (blundered into a|invokes the power of) Zot



#왜곡 무기 경고

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


#신성 무기 경고

:if you.race() == "Vampire" or you.race() == "Mummy" or you.race() == "Ghoul" or you.race() == "Demonspawn" or your.race() == "Poltergeist" or your.race() == "Revenant" then

more += (revenant|black sun).*into view

more += wielding.*holy wrath

more += holy wrath.*into view

flash += wielding.*holy wrath

flash += holy wrath.*into view

:end



#판데 고정 룬 구역 진입

more += The mighty Pandemonium lord.*resides here



#입구 찾음

more += Found.*(Temple|Pandemonium|Abyss|bazaar)



#??

more += greedy_visited_item_stack,stairs,shops



#신 관련

more += Vehumet offers

more += Ru believe

more += god:(sends|finds|silent|anger)

: if you.god() == "Ashenzari" then

more += You have a vision of.*gate

: end

{
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
}



#미니 던전 관련 메시지가 뜰 때 more을 띄우고 탐험과 휴식을 멈춤

more += (sound.*rushing water|rusting.*drain|drain falling apart)

more += (hiss.*sand|ticking.*clock|dying ticks)

more += (wave of frost|crackling.*melting|rumble.*avalanche|falling.*rocks)

more += (rumble.*avalanche|falling.*rocks|volcano eruptslheat about you)

more += (interdimensional caravan|coins.*counted|tolling.*bell)

more += (distant wind|whistling.*wind)

more += (beating.*drum|drumbeats cease|rapidly growing quiet)

more += (roar of battle|creaking.*port|portcullis is probably)

more += (crackle.*arcane power|crackle.*magical portal)

stop += (sound.*rushing water|rusting.*drain|drain falling apart)

stop += (hiss.*sand|ticking.*clock|dying ticks)

stop += (wave of frost|crackling.*melting|rumble.*avalanche|falling.*rocks)

stop += (rumble.*avalanche|falling.*rocks|volcano eruptslheat about you)

stop += (interdimensional caravan|coins.*counted|tolling.*bell)

stop += (distant wind|whistling.*wind)

stop += (beating.*drum|drumbeats cease|rapidly growing quiet)

stop += (roar of battle|creaking.*port|portcullis is probably)

stop += (crackle.*arcane power|crackle.*magical portal)



{

function c_answer_prompt(prompt)



 if prompt:find("vortices") or prompt:find("vortex") or prompt:find("friend") then

 return true

 end



 if prompt:find("That beam") and you.res_fire() == 0 and not you.status("death's door") then

 if crawl.yesno("REALLY cast on yourself without fire resistance?",false,'n') then 

 return

 end

 end



 if prompt:find("Really attack while wielding") then

 return false

 end
 
 if prompt:find("Really dazzle near") then
     return true
     end


 if prompt == "Really attack near your battlesphere?" then

 return true

 end



 if prompt:find("cloud of flame") and you.res_fire() < 1 and not you.status("death's door") then

 if crawl.yesno("REALLY go through flame without fire resistance?",false,'n') then 

 return

 end

 end



 if prompt:find("freezing vapour") and you.res_cold() < 1 and not you.status("death's door") then

 if crawl.yesno("REALLY go through icy clouds without cold resistance?",false,'n') then

 return

 end

 end



end

}


sound_on = true
sound_pack += https://osp.nemelex.cards/build/latest.zip:["init.txt"]
one_SDL_sound_channel = true
sound_fade_time = 0.5

#폰트를 Consolas로 바꿈

#Consolas가 아마 제일 많이 쓰는 폰트인 듯? 이거 쓰면 대문자 I(아이)랑 소문자 l(엘) 구분 안돼서 소모품 날리는 개좆같은 상황 안 생김

#나는 크롬으로 웹죽하는데 가끔 폰트 적용이 안되는 버그가 생김. 그럴 때는 브라우저 껐다가 키면 다시 적용 되더라

tile_font_crt_family = Consolas

tile_font_stat_family = Consolas

tile_font_msg_family = Consolas

tile_font_lbl_family = Consolas