질문과 답변

Extra Form

 

 

 

 =begin

Improved Item Processing
by Fomar0153
Version 1.0
----------------------
Notes
----------------------
Allows you to define which items appear in the item
processing window.
----------------------
Instructions
----------------------
Set VARIABLE_CAT to the id of the variable you wish 
to use to define what appears.
By defualt:
VARIABLE -> What appear
0 -> Normal Items
1 -> Weapons
2 -> Armours
3 -> Key Items
4 -> All Items
5+ will open up a custom selection window.
You define the items to be included in it by note tagging.
<itemp x>
Where x is the value of the variable you want to use.
----------------------
Known bugs
----------------------
None
=end
class Window_KeyItem < Window_ItemList
  #--------------------------------------------------------------------------
  # ● Change the number to the id of the variable you wish to use
  #--------------------------------------------------------------------------
  VARIABLE_CAT = 2
  #--------------------------------------------------------------------------
  # ● Replaces the inherited method.
  #--------------------------------------------------------------------------
  def include?(item)
    case $game_variables[VARIABLE_CAT]
    when 0 # Normal Items
      item.is_a?(RPG::Item) && !item.key_item?
    when 1 # Weapons
      item.is_a?(RPG::Weapon)
    when 2 # Armours
      item.is_a?(RPG::Armor)
    when 3 # Key Items
      item.is_a?(RPG::Item) && item.key_item?
    when 4 # All Items
      item.is_a?(RPG::Item)
    else
      item.is_a?(RPG::Item) && item.note.include?("<itemp " + $game_variables[VARIABLE_CAT].to_s + ">")
    end
  end
  #--------------------------------------------------------------------------
  # ● Otherwise weapons and armours are not clickable - hopefully this won't
  #   have any unforseen consequences.
  #--------------------------------------------------------------------------
  def enable?(item)
    return true
  end
end




일단 텍스트파일로도 첨부했습니다

이 스크립트는 199번 변수의값이 뭐냐에따라서 아이템의선택처리시 장비아이템,중요템,일반템,아머 등등을 보여주게할수있습니다. 제시도가능하구요

아무튼.. 제가 뭘 부탁드리고싶냐면요

이 스크립트에다가 카테고리를 넣고싶습니다

즉. 장비아이템,중요아이템 . 이렇게 분류탭을 넣고싶습니다.

그림으로도 첨부하겠습니다! 

 

 

제목 없음.png




List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12451
RMVXA 은행시스템에 이자 시스템 넣기!! 닉네잉 2012.10.05 1181
RMVXA 음 아무리 검색해도 않나오네요 방어 효과율 2 너무어려운알만툴 2013.01.18 740
RMVXA 음악 추천 부탁드려요! 대자연, 맹수와의 사투를 주제로 하는 게임을 제작 중입니다. 2 달밤에왈츠 2012.06.13 1381
RMVXA 음악이나 변수 스위치등을 사용한 이벤트를 빠르게 알수있는 기능이 없나요? ksu127 2016.10.27 102
RMVXA 의미불명의 오류 2 file 아무개 2015.04.25 322
기본툴 사용법 RMVXA 의자를 옮긴후 의자를 밟고 올라가는 이벤트를 만들고싶습니다. 2 LWH 2019.01.28 135
이벤트 작성 RMVXA 의자를 특정 장소로 이동시킨 후 올라타는 이벤트를 만들고 싶습니다. 5 MAYO 2019.08.17 155
RMVXA 이 스크립트 쓰고싶은데 변수를 모르겠는데요! 1 니꺼해 2017.04.21 95
스크립트 사용 RMVXA 이 스크립트 어떻게 사용하는 건가요? 2 둣녀 2022.01.04 148
RMVXA 이 스크립트 적용에 대해서 질문이요 AccelHacker 2016.04.03 92
RMVXA 이 스크립트 한글화 가능하나요? file AccelHacker 2016.03.05 162
RMVXA 이 스크립트는 어떻게 사용하나요 3 thentlr 2016.06.06 139
RMVXA 이 스크립트를 조금 바꿔주실수 있을까요 버섯수프 2017.01.06 74
RMVXA 이 스크립트에서 폰트 크기를 제어하려면 어떻게 해야하나요? 4 file 수이스 2013.11.24 916
RMVXA 이 스크립트의 윈도우를 반투명하게 만들 수 있을까요? file 쏘쿨 2016.09.27 179
RMVXA 이 스크립트의(오버레이 맵핑) 원리나 이유를 모르겠네요 2 file 마루TV 2015.04.12 316
RMVXA 이 스크립트좀 바꿔주세요! file 버섯수프 2016.08.29 161
RMVXA 이 스크립트좀 바꿔주세요..! file 버섯수프 2016.08.17 119
RMVXA 이 시스템 구현 어떻게 하나요? 10 file AccelHacker 2016.03.04 260
RMVXA 이 오브젝트들 사용하고싶은데 계속 크기가 잘립니다 어떻게해야되나요? 1 file 알만툴NewB 2017.01.17 154
Board Pagination Prev 1 ... 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 ... 149 Next
/ 149