질문과 답변

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 21136
RMVXA 이 스크립트 쓰고싶은데 변수를 모르겠는데요! 1 니꺼해 2017.04.21 113
RMVX 이 스크립트 어떻게 사용하나요? 1 후라이팬샷 2014.05.02 579
스크립트 사용 RMVXA 이 스크립트 어떻게 사용하는 건가요? 2 둣녀 2022.01.04 179
RMVXA 이 스크립트 적용에 대해서 질문이요 AccelHacker 2016.04.03 101
RMVXA 이 스크립트 한글화 가능하나요? file AccelHacker 2016.03.05 175
플러그인 생성 RMMV 이 스크립트(ace) mv용으로 바꿔주실분? 3 무명시절 2020.03.10 199
RMVXA 이 스크립트는 어떻게 사용하나요 3 thentlr 2016.06.06 146
RMMV 이 스크립트를 mv에서 사용하고 싶습니다. 2 file zero? 2016.10.26 205
RMXP 이 스크립트를 사용하는 방법을 가르쳐주세요 10 이룩 2014.01.24 444
RMVX 이 스크립트를 살짝 수정하고 싶은데 고수분들 도와주세요(자체해결) 1 기관차 2014.11.06 281
RMXP 이 스크립트를 어떻게 사용해야하는 건가요? 2 체력을가르다. 2015.09.28 180
RMVXA 이 스크립트를 조금 바꿔주실수 있을까요 버섯수프 2017.01.06 87
RMVXA 이 스크립트에서 폰트 크기를 제어하려면 어떻게 해야하나요? 4 file 수이스 2013.11.24 939
RMXP 이 스크립트의 동료 따라오기가 제대로 적용되지 않아요. file 길고냥이 2013.07.14 759
RMVXA 이 스크립트의 윈도우를 반투명하게 만들 수 있을까요? file 쏘쿨 2016.09.27 194
RMVXA 이 스크립트의(오버레이 맵핑) 원리나 이유를 모르겠네요 2 file 마루TV 2015.04.12 331
RMVX 이 스크립트의적용 5 나루토페인 2015.02.01 276
RMVXA 이 스크립트좀 바꿔주세요! file 버섯수프 2016.08.29 175
RMVXA 이 스크립트좀 바꿔주세요..! file 버섯수프 2016.08.17 131
스크립트 사용 RMVXA 이 스크립트좀 찾아주세요... 2 Lemnido 2024.09.13 270
Board Pagination Prev 1 ... 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 ... 518 Next
/ 518