질문과 답변

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
RMXP 이 스크립트의 동료 따라오기가 제대로 적용되지 않아요. file 길고냥이 2013.07.14 745
RMVXA 이 스크립트의 윈도우를 반투명하게 만들 수 있을까요? file 쏘쿨 2016.09.27 179
RMVXA 이 스크립트의(오버레이 맵핑) 원리나 이유를 모르겠네요 2 file 마루TV 2015.04.12 316
RMVX 이 스크립트의적용 5 나루토페인 2015.02.01 270
RMVXA 이 스크립트좀 바꿔주세요! file 버섯수프 2016.08.29 161
RMVXA 이 스크립트좀 바꿔주세요..! file 버섯수프 2016.08.17 119
RMVXA 이 시스템 구현 어떻게 하나요? 10 file AccelHacker 2016.03.04 260
RMXP 이 오류는 뭐죠? 4 몽실년 2010.10.28 737
RMVXA 이 오브젝트들 사용하고싶은데 계속 크기가 잘립니다 어떻게해야되나요? 1 file 알만툴NewB 2017.01.17 155
RMVX 이 이벤트 처럼 만들려면 어떻게 해야하나요? 1 레몬 2014.04.06 650
에러 해결 RMVXA 이 이벤트를 실행하면 CTRL을 누른 듯이 벽을 통과하고 다른 이벤트들이 실행이 안 됩니다. file 우좌 2019.08.27 64
RMVX 이 전투 스크립트를 사용하면 화면 색조가 이상해집니다 2 file IU[아이유] 2014.11.11 322
RM2k 이 칩셋에 말머리의 행방을 아시는분 계십니까? 2 file 중꿔사랑 2014.01.18 1227
RMVXA 이 캐릭터들 출처를 아시나요? file 환장 2015.08.21 254
RMXP 이 캐릭터좀 찾아주세요 file ★RPG마스터★ 2011.03.06 1185
RMVX 이 파일들 지우면 안되나요? 2 file emblock 2013.06.14 688
RMVXA 이 플래시게임을 응용한 전투시스템을 만들어볼까 합니다. 1 file BJ샘물 2014.12.30 665
에러 해결 RMMV 이 플러그인 루프가 왜 안돼는지 아시는 분 계신 가요? 무명시절 2022.09.05 145
기타 RMMV 이 플러그인 수정해 주실분...? 무명시절 2023.07.15 40
플러그인 사용 RMMZ 이 플러그인 써보신 분 있나요? 1 file 하라아아암 2023.11.16 47
Board Pagination Prev 1 ... 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 ... 516 Next
/ 516