질문과 답변

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 21130
RMVXA 버프가 걸려있을 때 강룩희 2016.09.12 94
RMVXA Yanfly Item Menu 스크립트 커스텀 추가하는 방법? file 몽롱하다 2016.09.11 159
RMVXA 인스턴트 오류 관련 Lockerroom 2016.09.11 86
RMVXA RPG Maker vx ace 타일셋 적용을 못하겠습니다 1 file IzumiSagiri 2016.09.10 1135
RMVXA 고유 능력을 만들고 싶습니다 3 야느와르 2016.09.10 261
RMVXA 특정 스탯을 안보이게 하고 싶어요 1 file GOETSU 2016.09.09 206
RMVXA 매핑을 하는데 제가 새로 받은 맵만 3 file AccelHacker 2016.09.09 249
RMVXA 맵칩을 다운 받았는데 맵칩 적용하려고 하면 일부 맵칩이 짤려서 적용되요 ㅠㅠ 4 file AccelHacker 2016.09.09 318
RMVXA 공격할때 배틀러 숨기는법 4 기폭 2016.09.09 175
RMVXA 스크립트 에디터에서 게임오버시... 3 BeNew 2016.09.08 151
RMVXA 게임 화면 크기설정 9 cchandelier 2016.09.05 1695
RMVXA 스위치가 먹통이에요 1 Leonis 2016.09.05 138
RMVXA 게임오버표시창에 관하여 2 클라크 2016.09.03 143
RMVXA 대열보행[분산/모임]에 관하여 질문을 좀 드리겠습니다. 4 로브남 2016.09.01 227
RMVXA 이 스크립트좀 바꿔주세요! file 버섯수프 2016.08.29 175
RMVXA 전투시 배경 문제 6 file 락취한스님 2016.08.27 191
RMVXA 몬스터 아이템 드랍확률 4 철이 2016.08.21 807
RMVXA 스크립트 관련 몇가지 질문드립니다. 4 file Xmania 2016.08.21 168
RMVXA 한글이안되요.. 2 락취한스님 2016.08.20 130
RMVXA 메시지 창 중앙 하단에 있는 화살표를 옮길 방법이 없을까요? file GOETSU 2016.08.20 124
Board Pagination Prev 1 ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ... 150 Next
/ 150