질문과 답변

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 50204
RMVXA Yanfly Item Menu 스크립트 커스텀 추가하는 방법? file 몽롱하다 2016.09.11 163
RMVXA 인스턴트 오류 관련 Lockerroom 2016.09.11 91
RMMV 자동 대화장 어떻게 설정하나요? 1 file 벌레군 2016.09.11 507
RMVXA RPG Maker vx ace 타일셋 적용을 못하겠습니다 1 file IzumiSagiri 2016.09.10 1139
RMVXA 고유 능력을 만들고 싶습니다 3 야느와르 2016.09.10 264
RMXP vx맵타일을 x맵타일로 2 whddbs 2016.09.10 119
RMVXA 특정 스탯을 안보이게 하고 싶어요 1 file GOETSU 2016.09.09 212
RMVXA 매핑을 하는데 제가 새로 받은 맵만 3 file AccelHacker 2016.09.09 253
RMVXA 맵칩을 다운 받았는데 맵칩 적용하려고 하면 일부 맵칩이 짤려서 적용되요 ㅠㅠ 4 file AccelHacker 2016.09.09 322
RMVXA 공격할때 배틀러 숨기는법 4 기폭 2016.09.09 178
RMVXA 스크립트 에디터에서 게임오버시... 3 BeNew 2016.09.08 155
RMMV MV는 몇 프레임까지 지원하나요? 2 ㅇㅂㄱㄹㅇ 2016.09.06 306
RMMV RPG MV 전투중 오류문구.. 자바스크립트관련 1 로브남 2016.09.06 254
RMMV 스킬에서 크리 100%는 불가능한가요? 7 잠행인 2016.09.06 259
RMMV mv에서 무기에 전투 시 방어무시 효과를 줄 수 없을까요 5 갈릭포테이토 2016.09.06 275
RMVXA 게임 화면 크기설정 9 cchandelier 2016.09.05 1711
RMMV 필요할때 아이템 창을 호출하는 스크립트나 플러그인 1 겜제작광 2016.09.05 160
RMVXA 스위치가 먹통이에요 1 Leonis 2016.09.05 145
RMMV 플러그인 "RS_ExitDialog.js" 에 관한 질문 2 최빛빛 2016.09.05 225
rpg maker xp 한글판 문제 4 꽃돼지 2016.09.04 313
Board Pagination Prev 1 ... 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 ... 518 Next
/ 518