질문과 답변

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 21118
RMVXA 주석 'Light'를 지우고 싶어요! file 뉴리키 2015.11.01 136
RMVXA 이벤트 중에서 파티원이 습격을 받는 이벤트 2 소드 2016.01.01 136
RMVXA 마우스가 이벤트에 반응을 하지 않습니다 1 두솔 2016.04.15 136
RMVXA 안녕하세요 ~ 혹시 데이터베이스 애니메이션에 사용되는 모든 사운드 소리를 한꺼번에 줄이거나 키울 수 있을까요? DJN 2016.07.06 136
RMVXA 안녕하세요~ rpg2k처럼 다른이벤트와 안겹칩 하려면 어떻게 해야하나요~? 4 file DJN 2016.08.11 136
RMVXA 창 불투명하게 설정하는 법좀 알려주세요 1 민트Mint 2017.07.24 136
RMVXA 출현범위에 대해서 궁금합니다. 1 file 난몰라 2017.10.07 136
스크립트 추천 RMVXA 적이 장애물이나 벽 발견시 자연스럽게 피해가게 하는 법 1 슈필러 2019.04.20 136
이벤트 작성 RMVXA 액터 파티를 수시로 변경 하는 법 6 MAYO 2019.10.07 136
맵배치 RMVXA 패럴렉스 맵핑 스크립트? VXA 질문입니다! rsy1189a 2024.03.20 137
기타 RMVXA 되돌리는 방법..? 2 현작가 2022.02.22 137
RMVXA 장비강화 스크립트가 적용 방법 질문있습니다. 1 Tes 2017.09.15 137
스크립트 사용 RMVXA Rpg vx ace 대쉬 속도 변경 1 맘스파게티 2022.11.01 137
RMVXA 알만툴 실행 캐릭터 문장 오류 file 모카라떼카푸치노 2018.02.20 137
RMVXA 상태이상을 걸 때 1 l유리눈물l 2016.07.28 137
RMVXA 내가 만든게임 다른컴터에 안돌아감 1 도리 2016.11.05 137
RMVXA (데이터베이스)게임 실행 중 주인공의 메모 부분을 수정하거나 한줄 추가할 수 있는 방법이 있나요? 2 file 미스터챈 2017.02.22 137
에러 해결 RMVXA '이벤트의 플레이어 추격 스크립트' 삽입 후 말풍선 오류 해결법 file 슈필러 2019.10.11 137
기타 RMVXA 이벤트도중 볼륨조절 1 빨간토끼 2022.07.26 137
스크립트 사용 RMVXA 포르투갈 포럼에서 알게된 메뉴 스크립트 적용 1 우야까 2021.02.02 138
Board Pagination Prev 1 ... 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ... 150 Next
/ 150