디시인사이드 갤러리

갤러리 이슈박스, 최근방문 갤러리

갤러리 본문 영역

ㄷㅈ)내가 쓰는 RC파일앱에서 작성

ㅇㅇ갤로그로 이동합니다. 2024.02.25 15:48:16
조회 176 추천 3 댓글 3
														



밑에 누가 올려달라길래 올려봄


##### Crawl Init file ###############################################
# For deions of all options, as well as some more in-depth information
# on setting them, consult the file
#    options_guide.txt
# in your /docs directory. If you can't find it, the file is also available
# online at:
#
# Crawl uses the first file of the following list as its option file:
#  * init.txt in the -rcdir directory (if specified)
#  * .crawlrc in the -rcdir directory (if specified)
#  * init.txt (in the Crawl directory)
#  * ~/.crawl/init.txt (Unix only)
#  * ~/.crawlrc (Unix only)
#  * ~/init.txt (Unix only)
#  * settings/init.txt (in the Crawl directory)

##### Some basic explanation of option syntax #######################
# Lines beginning with '#' are comments.  The basic syntax is:
#
# field = value         or      field.subfield = value
#
# Only one specification is allowed per line.
#
# The terms are typically case-insensitive except in the fairly obvious
# cases (the character's name and specifying files or directories when
# on a system that has case-sensitive filenames).
#
# White space is stripped from the beginning and end of the line, as
# well as immediately before and after the '='. If the option allows
# multiple comma/semicolon-separated terms (such as
# autopickup_exceptions), all whitespace around the separator is also
# trimmed. All other whitespace is left intact.
#
# There are three broad types of Crawl options: true/false values (booleans),
# arbitrary values, and lists of values. The first two types use only the
# simple =, with later options - which includes your options that are different
# from the defaults - overriding earlier ones. List options allow using +=, ^=,
# -=, and = to append, prepend, remove, and reset, respectively. Usually you will
# want to use += to add to a list option. Lastly, there is := which you can use
# to create an alias, like so:
#   ae := autopickup_exceptions
# From there on, 'ae' will be treated as if it you typed autopickup_exceptions,
# so you can save time typing it.
#

##### Other files ###################################################
# You can include other files from your options file using the 'include'
# option. Crawl will treat it as if you copied the whole text of that file
# into your options file in that spot. You can uncomment some of the following
# lines by removing the beginning '#' to include some of the other files in
# this folder.

# Some useful, more advanced options, implemented in LUA.
# include = advanced_optioneering.txt

# Alternative vi bindings for Dvorak users.
# include = dvorak_command_keys.txt

# Alternative vi bindings for Colemak users.
# include = colemak_command_keys.txt

# Override the vi movement keys with a non-command.
# include = no_vi_command_keys.txt

# Turn the shift-vi keys into safe move, instead of run.
# include = safe_move_shift.txt

##### Ancient versions ##############################################
# If you're used to the interface of ancient versions of Crawl, you may
# get back parts of it by uncommenting the following options:

# include                 = 034_command_keys.txt

# And to revert monster glyph and colouring changes:

# include                 = 034_monster_glyphs.txt
# include                 = 052_monster_glyphs.txt
# include                 = 060_monster_glyphs.txt
# include                 = 071_monster_glyphs.txt
# include                 = 080_monster_glyphs.txt
# include                 = 0.9_monster_glyphs.txt
# include                 = 0.12_monster_glyphs.txt
# include                 = 0.13_monster_glyphs.txt
# include                 = 0.14_monster_glyphs.txt



confirm_butcher = never
easy_eat_chunks = true
auto_eat_chunks = true
autofight_stop = 60
tile_web_mouse_control = false
auto_butcher = hungry
hp_colour = 100:green, 99:lightgrey, 75:yellow, 50:lightred, 25:red
mp_colour = 100:green, 99:lightgrey, 75:yellow, 50:lightred, 25:red
stat_colour = 3:red, 7:lightred
message_colour += red: you are too injured to fight recklessly!
message_colour += brown: Done Waiting
message_colour += lightred: You die...
show_more = false
travel_delay = -1
rest_delay = -1
explore_delay = -1

################
## HP/MP 알림 ##
################


{
  local need_skills_opened = true
  local previous_hp = 0
  local previous_mp = 0
  local previous_form = ''
  local was_berserk_last_turn = false
  function announce_damage_ko()
    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


    --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('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('<lightred>You take ' .. hp_difference .. ' HP,</lightred> <red>and have [' .. current_hp .. '/' .. max_hp .. '] HP</red>')
          elseif current_hp <= (max_hp * 0.50) then
            crawl.mpr('<yellow>You take ' .. hp_difference .. ' HP,</yellow> <lightred>and have [' .. current_hp .. '/' .. max_hp .. '] HP</lightred>')
          elseif current_hp <= (max_hp *  0.70) then
            crawl.mpr('<brown>You take ' .. hp_difference .. ' HP,</brown> <green>and have [' .. current_hp .. '/' .. max_hp .. '] HP</green>')
          elseif current_hp <= (max_hp * 0.90) then
            crawl.mpr('<darkgrey>You take ' .. hp_difference .. ' HP,</darkgrey> <green>and have [' .. current_hp .. '/' .. max_hp .. '] HP</green>')
          else
            crawl.mpr('<darkgrey>You take ' .. hp_difference .. ' HP,</darkgrey> <lightgreen>and have [' .. current_hp .. '/' .. max_hp .. '] HP</lightgreen>')
          end
          if hp_difference > (max_hp * 0.20) then
            crawl.mpr('<lightred>!!!!! HP Warning !!!!!</lightred>')
          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('<darkgrey>You gain ' .. health_inturn .. ' hp,</darkgrey> <red>and have [' .. current_hp .. '/' .. max_hp .. '] hp.</red>')
            elseif current_hp <= (max_hp * 0.50) then
              crawl.mpr('<yellow>You gain ' .. health_inturn .. ' HP,</yellow> <lightred>and have [' .. current_hp .. '/' .. max_hp .. '] hp.</lightred>')
            elseif current_hp <= (max_hp *  0.70) then
              crawl.mpr('<lightgreen>You gain ' .. health_inturn .. ' HP,</lightgreen> <green>and have [' .. current_hp .. '/' .. max_hp .. '] HP</green>')
            elseif current_hp <= (max_hp * 0.90) then
              crawl.mpr('<white>You gain ' .. health_inturn .. ' HP</white>, <lightgreen>and have [' .. current_hp .. '/' .. max_hp ..'] HP</lightgreen>')
            else
              crawl.mpr('<lightgreen>You gain ' .. health_inturn .. ' HP, and have [' .. current_hp .. '/' .. max_hp .. '] HP</lightgreen>')
            end
          end
          if (current_hp == max_hp) then
            crawl.mpr('<lightmagenta> HP Full. (' .. current_hp .. ')</lightmagenta>')
          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('<darkgrey>You gain ' .. mp_inturn .. ' MP,</darkgrey> <brown>and have [' .. current_mp .. '/' .. max_mp .. '] MP</brown>')
            elseif current_mp < (max_mp * 0.50) then
              crawl.mpr('<lightblue>You gain ' .. mp_inturn .. ' MP,</lightblue> <blue>and have [' .. current_mp .. '/' .. max_mp .. '] MP</blue>')
            else
              crawl.mpr('<lightblue>You gain ' .. mp_inturn .. ' MP,</lightblue> <lightcyan>and have [' .. current_mp .. '/' .. max_mp .. '] MP</lightcyan>')
            end
          end
          if (current_mp == max_mp) then
            crawl.mpr('<lightcyan>MP Full (' .. current_mp .. ')</lightcyan>')
          end
        end

        --마력 잃을때
        if current_mp < previous_mp then
          if current_mp <= (max_mp * 0.25) then
            crawl.mpr('<darkgrey>You lose ' .. mp_difference .. 'MP,</darkgrey> <white>and have [' .. current_mp .. '/' ..max_mp ..'] MP</white>')
          elseif current_mp <= (max_mp * 0.50) then
            crawl.mpr('<blue>You lose ' .. mp_difference .. 'MP,</blue> <lightblue>and have [' .. current_mp .. '/' ..max_mp ..'] MP</lightblue>')
          else
            crawl.mpr('<darkgrey>You lose ' .. mp_difference .. 'MP,</darkgrey> <lightcyan>and have [' .. current_mp .. '/' ..max_mp ..'] MP</lightcyan>')
          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
}



몇년전부터 쓰던거고 나도 한동안 이렇게 저장해놓고 써서 전부다 설명은 힘듬

대충 오탭방지용 명령어 있어서 체력 60퍼 미만 내려가면 탭질 안되는 명령어랑

호주섭 가서 한판 해보니까 자동이동이랑 휴식이 이게 -1이 아니라서 움직일때랑 쉴때 좀 답답하길래 그거 -1로 맞춰줌

그리고 밑에 긴건 메시지창에 HP랑 MP알려주는건데

1ebec223e0dc2bae61abe9e74683706d28a34983d2d2cfb4b2c7c41446088c8b573c4454f621bae200f5bc8fdfc0c73864fab353aa9d04cf0d



대충 이런식으로 작동함. 나도 이거 다른사람이 쓰는거 보고 알려달라 그래서 긁어왔을땐 한글 메세지였던거 같은데 내가 그냥 영어로 바꿔서 썼음


지금 보니까 auto butcher같은 명령어 이런건 삭제해도 될듯 ㅋㅋㅋ 진짜 존나 오래전 명령어네 저거 ㅋㅋㅋ

추천 비추천

3

고정닉 1

0

댓글 영역

전체 댓글 0
등록순정렬 기준선택
본문 보기

하단 갤러리 리스트 영역

왼쪽 컨텐츠 영역

갤러리 리스트 영역

갤러리 리스트
번호 제목 글쓴이 작성일 조회 추천
설문 어떤 상황이 닥쳐도 지갑 절대 안 열 것 같은 스타는? 운영자 24/05/20 - -
AD 희귀 정령 획득 기회! <아스달 연대기> 출석 이벤트 운영자 24/05/23 - -
공지 로그라이크 갤러리 이용 안내 [53] 운영자 16.04.08 79221 24
460762 ㄷㅈ) 코볼트 헤플 헌터 올룬 10젬 로갤러(106.71) 21:19 16 0
460761 문명이 멸망한지 2년후.. 로갤러(125.139) 20:45 38 1
460760 포탈폭풍때 뭐함? [3] 로갤러(125.139) 20:32 42 0
460759 ㅌㅈ)아이템 맵에 버리고 딴데가면 사라짐? [4] 로갤러(211.234) 19:35 46 0
460758 모바일 로그라이크는 넷핵이 젤 나은 거 같은데 조작이 [6] ㅇㅇ(218.54) 18:35 73 0
460757 발동술은어느정도가좋을까 [6] waagh!!(175.120) 18:09 73 1
460756 방금 허허벌판에서 네소스 만나서 죽음... [4] ㅇㅇ(118.235) 17:19 78 1
460755 카타클 아직 메이드 모드 남아있음? [10] daniel719갤로그로 이동합니다. 16:52 74 0
460754 이레데렘눌 아주 큰 문제점이 있네 [2] 로갤러(112.152) 16:33 71 1
460753 ㅌㅈ)드렘 해금하려는데 문양이 어디있음 [4] 로갤러(211.234) 16:22 36 0
460752 ㄷㅈ) 불법사로 세레보브 어케잡아야해? [8] 로갤러(220.80) 15:31 123 0
460751 ㄷㅍ)시부랄 아트팩트 도둑 맞았다... [7] 로갤러(71.60) 15:04 67 0
460750 ㅌㅈ)정신파괴자 염동슬롯에 템 어케낌? [2] 로갤러(45.64) 14:30 57 0
460749 포켓로그 바닥까는거 어쩌냐 [1] 로갤러(112.165) 14:25 49 0
460748 ㄷㅍ]왜 주민들이 주기적으로 웨어 스컹크로 변하는건데? [4] 로갤러(175.127) 13:08 78 0
460747 ㄷㅈ) 늅이 선택장애 오는데 목걸이 선택좀요 [4] 로갤러(106.71) 12:56 103 0
460746 카타클은 왜 딱 극초반만 재밋는걸까 [12] ㅇㅇ(117.123) 12:54 113 0
460745 어제 침대에 누워서 곰곰히 생각해본건데요.. [9] 팽도리가조은걸요갤로그로 이동합니다. 12:13 163 0
460744 ㄷㅈ) 다운죽 해상도 수정 어케함?? [6] 로갤러(218.52) 11:27 73 0
460743 ㄷㅈ)와! 4층 메뉴얼! [1] blister갤로그로 이동합니다. 11:05 102 1
460742 ㄷㅈ) 심연 도대체 어캐 나오는것임 [3] RZN갤로그로 이동합니다. 10:46 78 0
460741 ㄷㅈ)오카와루 듀얼 롤백했네 [3] 로갤러(223.39) 10:32 125 1
460740 포켓로그 이 템 뭐냐 아는 게이 있음? [2] 로갤러(124.54) 10:11 146 0
460738 ㅌㅈ)아니 그때 그 캐릭은 어케 지하실 턴거지? ㅋㅋ [9] ㅇㅇ(112.170) 09:26 90 0
460737 포케로그 첫판 뉴비 전망 좀 봐줘 [4] 로갤러(124.54) 08:47 114 0
460736 톰죽 번역 어떰? [5] 로갤러(1.228) 08:37 80 0
460735 와 근데 다이스 무섭게 터질땐 진짜 육성으로 어! 소리나옴 [3] 로갤러(112.152) 08:37 104 1
460734 urw) 외국상인 한번 잡아보니까 두번은 쉽네 [1] 로갤러(175.198) 08:33 49 0
460733 드포 cold 지형도 한번 해보고 싶어서 골랐는데 [3] ㅇㅇ갤로그로 이동합니다. 05:56 58 0
460732 ㅋㅌㅋ ㅂㅂ 섬감옥 탈출 은근 어렵네 [2] ㅇㅇ(117.123) 05:46 59 0
460731 ㅋㅌㅋ)예전에 책이 도저히 안나와서 쇼핑물 간적 있는데 ssh0818갤로그로 이동합니다. 05:41 44 1
460730 아 근데 거미줄로 로프만든거 인장력 확인하는 영상 봤는데 [1] ssh0818갤로그로 이동합니다. 04:41 53 0
460729 난 urw 사서 해볼려했는데 시야 시스템 불편해서 못하겠더라 [2] ssh0818갤로그로 이동합니다. 04:34 58 1
460728 하루에 한 번 웨이시 증오하기 114일차 [1] ㅇㅇ(210.222) 03:02 55 6
460727 urw) 외국상인 사냥 성공했다 [1] 로갤러(175.198) 02:48 95 1
460726 주피터헬)사람은 피곤할때 자야한다... [2] 와그너스갤로그로 이동합니다. 02:19 59 0
460725 ㄷㅈ)원래 계단에서 매수 쓰면 아래 브랜치에 적용됨? [3] blister갤로그로 이동합니다. 01:52 96 1
460724 ㄷㅈ) 손가락 늘려주는 목걸이도 있네 [2] ㅇㅇ갤로그로 이동합니다. 01:17 94 0
460723 대마법사 무너 (OpCj) 올룬클! [2] 팽도리가조은걸요갤로그로 이동합니다. 01:07 83 1
460722 ㅌㅈ) 이게 끔살이라는 거구나 [4] 로갤러(116.47) 00:54 89 1
460721 ㅋㅌㅋㅂㅂ)권총렙 올리는건 9미리 실탄 쏴대는게 최고임? [2] ㅇㅇ(223.62) 00:17 57 0
460720 ㄷㅈ)이건 뭐 법사는 대놓고 뒤져라 지형이네 [3] blister갤로그로 이동합니다. 00:14 113 6
460719 트로그 ****** 광폭화tt에 광역 혼란&마비 넣어주면 안되나 [1] 롬롬갤로그로 이동합니다. 05.24 52 1
460718 로틀딱을 위한 스팀기능 [2] 로갤러(1.237) 05.24 98 3
460717 ㅌㅈ) 톰죽 뉴빈데 진짜 꿀잼겜이네 [3] 로갤러(116.47) 05.24 91 1
460716 트로그 진짜 걍 처형부대 소환하는거 멋은있겠다 waagh!!(175.120) 05.24 55 0
460715 ㄷㅈ) 문어 개재밌는데 개어렵다 [3] ㅇㅇ(59.0) 05.24 74 0
460714 pc로 할수있는 로그류 추천좀요 [8] 로갤러(1.253) 05.24 101 0
460713 트로그 상향 이그나이트 매직 ㄷㄷㄷ [2] LF.갤로그로 이동합니다. 05.24 102 0
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2