设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 96|回复: 0

[转载发布] TSR_EquipSlots by The Northern Frog

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7947

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29901
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38742

    灌水之王

    发表于 11 小时前 | 显示全部楼层 |阅读模式


    download:
    TSR_EquipSlots
    Author:
    TSR


    This Plugin revamp the Equip Scene and provides a few options to customize some aspects of the scene.

    This is a 'scene' Plugin. It does not alter the game equipement behavior, but is made to work with Yanfly Equip Core and Item Core, along with their extensions Plugins. Place it bellow YEP_EquipCore if you're using it.

    It can also be used as a stand-alone Plugin.


    Spoiler: Instructions and parameters
                    Code:       
    1. * =======================================================================================
    2. * == About this Plugin ==================================================================
    3. * =======================================================================================
    4. * This is a 'scene' Plugin. It does not alter the game equipement behavior, but
    5. * is made to work with Yanfly Equip Core and Item Core, along with their extensions
    6. * Plugins. It can also be used as a stand-alone Plugin.
    7. *
    8. *
    9. * The Plugin rearrange the Equip scene windows as such:
    10. *
    11. *       -----------------------------------------------------------------------
    12. *      |                                                                       |
    13. *      |                         SLOTS WINDOW                                  |
    14. *      |-----------------------------------------------------------------------|
    15. *      |                             |                                         |
    16. *      |                             |                                         |
    17. *      |                             |                                         |
    18. *      |      STATUS WINDOW          |            HELP WINDOW                  |
    19. *      |                             |                                         |
    20. *      |                             |                                         |
    21. *      |                             |                                         |
    22. *      |                             |                                         |
    23. *      |-----------------------------|-----------------------------------------|
    24. *      |                             |                                         |
    25. *      |                             |                                         |
    26. *      |                             |                                         |
    27. *      |                             |                                         |
    28. *      |      DISPLAY WINDOW         |            ITEM WINDOW                  |
    29. *      |                             |                                         |
    30. *      |                             |                                         |
    31. *      |                             |                                         |
    32. *      |                             |                                         |
    33. *      |                             |                                         |
    34. *       -----------------------------------------------------------------------
    35. *
    36. * The main features of each windows are described bellow.
    37. *
    38. *      -SLOTS WINDOW
    39. *            This is an horizontal menu that shows the current actor
    40. *            equipment slots. You can toggle between slots by scrolling
    41. *            left and right, or switch between party members using the
    42. *            up and down arrow keys.
    43. *
    44. *      -STATUS WINDOW
    45. *            This window shows the current actor status. The parameters
    46. *            changes when hovering over equipment pieces are indicated
    47. *            by color changes: green = param increase, orange = param
    48. *            decrease, white = no changes.
    49. *
    50. *      -HELP WINDOW
    51. *            The new Help window display the info about the equipment
    52. *            pieces. When switching between an actor equip slots, the
    53. *            Help window will show the currently equipped gear (if any)
    54. *            for the corresponding slot. When selecting items in the
    55. *            Item window, the Help window show the infos of the selected
    56. *            item.
    57. *
    58. *            By default, the Help window display the following infos:
    59. *
    60. *                  1) Item name and icon
    61. *                  2) Item 2 lines description from database
    62. *                  3) Item 8 params
    63. *
    64. *            Using Plugin parameters, you can add additional infos in
    65. *            the order you wish:
    66. *
    67. *                  * Item Attack Elements and Elements rates traits
    68. *                  * Item Attack States and State rates/resist traits
    69. *                  * Item durability (require YEP_X_ItemDurability)
    70. *                  * Item Attach Augments (require YEP_X_AttachAugments)
    71. *
    72. *            Infos slidding:
    73. *                 Whenever the item infos are too large to fit in one
    74. *                 line of the Help window, the line will automatically
    75. *                 glide from right to left to show the info that is cut
    76. *                 off by the window borders. The line will keep moving
    77. *                 back and forth so all the infos can be seen.
    78. *
    79. *
    80. *       -DISPLAY WINDOW
    81. *             The display window show the current actor battler image,
    82. *             surrounded by its equipment slots. You can use a custom
    83. *             image instead of the battler image, by using the following
    84. *             actor notetag:
    85. *
    86. *                 <Display Image: filename>
    87. *
    88. *                   *filename is your image file name wihout the extension.
    89. *
    90. *
    91. *       -ITEM WINDOW
    92. *             The item window show the available equipments for the currently
    93. *             selected slot of the current actor. It also display the item
    94. *             that is currently equipped by the current actor, as well as the
    95. *             items that the current actor can equip, but are actually equipped
    96. *             by another party member.
    97. *
    98. *             The Item Window is compatible with the independant items from
    99. *             Yanfly ItemCore.      
    100. *
    101. *
    102. *
    103. * PARAMETERS
    104. * =======================================================================================
    105. *
    106. * General
    107. * =======
    108. *
    109. *   Windows Layout
    110. *     This parameter allow to reverse the left/right position of the windows
    111. *     in the Equip Scene.
    112. *
    113. *   Background Rectangle Color1
    114. *     This set the first gradient color of the background rectangles in the
    115. *     Status, Help, Item and Display windows.
    116. *
    117. *   Background Rectangle Color2
    118. *     This set the second gradient color of the background rectangles in the
    119. *     Equip Scene.
    120. *
    121. *
    122. * Category Window
    123. * ===============
    124. *
    125. *   Category Max Columns
    126. *     This set the maximal number of visible columns in the category window.
    127. *
    128. *
    129. * Status Window
    130. * =============
    131. *
    132. *   Enable Status Back Rect
    133. *     Enable the backround rectangle in the status window.
    134. *
    135. *
    136. * Help Window
    137. * ===========
    138. *
    139. *   Item Info
    140. *     This notebox can be use to display additional informations in the
    141. *     Help window. Each lines in the notebox has to be filled specifically,
    142. *     according to the explanation bellow. Each properties (lines) must be
    143. *     separated by a semicolon and have the following structure:
    144. *
    145. *             label : keyword, specific infos, ;(end semicolon)
    146. *
    147. *              Label = This is the label that will appear before the datas.
    148. *                      It must be followed by a colon.
    149. *
    150. *            keyword = Each information types have its own predefine keyword
    151. *                      that the Plugin can recognize.
    152. *
    153. *     Specific infos = Some information type require additional data (this
    154. *                      is specified bellow)
    155. *
    156. *   ;(end semicolon) = This should close each lines in the Item Info notebox.
    157. *     
    158. *
    159. *     Item Info (ELEMENTAL ATTACKS and RATES)
    160. *         This shows the elemental rates and elements attack traits of the
    161. *         equipment piece.
    162. *
    163. *         Keyword: 'elements'
    164. *
    165. *         Specific infos: elementID(iconIndex), elementID(iconIndex), ...
    166. *
    167. *         HOW TO USE:
    168. *            Write the label that will appear on screen, followed by a colon.
    169. *            Add the keyword 'elements' followed by a comma. Then add the
    170. *            element Id of each elements you wish to be shown, followed by
    171. *            the element icon index between brackets. Separate each by commas
    172. *            and don't forget the semicolon at the end of the line.
    173. *
    174. *            Example:
    175. *                Elements: elements, 1(100), 2(101), 3(102), 4(103);
    176. *
    177. *                This will show the elemental rates of elements Id 1 to 4
    178. *                with their associated icons, preceded by the label 'Elements'
    179. *
    180. *
    181. *      Item Info (STATES ATTACKS and RATES)
    182. *         This shows the states rates and states attack traits of the
    183. *         equipment piece.
    184. *
    185. *         Keyword: 'states'
    186. *
    187. *         Specific infos: none
    188. *
    189. *         HOW TO USE:
    190. *            Write the label that will appear on screen, followed by a colon.
    191. *            Add the keyword 'states' followed by the end semicolon.
    192. *
    193. *            Example:
    194. *                Afflictions: states;
    195. *
    196. *                This will show all the states rates of the equipment piece,
    197. *                preceded by the label 'Affliction'
    198. *           
    199. *
    200. *       Item Info (Yanfly item DURABILITY)
    201. *          You can display the equipment durability assuming you have Yanfly
    202. *          ItemCore and X_ItemDurability.
    203. *
    204. *          Keyword: durability
    205. *
    206. *          Specific infos: none
    207. *
    208. *          HOW TO USE:
    209. *            Write a label, followed by a colon. How you name the label doesn't
    210. *            matter as it is only used for reference. The label that will appear
    211. *            on screen is the name you gave to durability in Yanfly Plugin. Add
    212. *            Add the keyword 'durability' followed by the end semicolon.
    213. *           
    214. *            Example:
    215. *               1: durability;
    216. *
    217. *
    218. *       Item Info (Yanfly item ATTACH AUGMENTS)
    219. *          You can display the equipment Augments assuming you have Yanfly
    220. *          ItemCore and X_AttachAugments.
    221. *
    222. *          Keyword: augments
    223. *
    224. *          Specific infos: none
    225. *
    226. *          HOW TO USE:
    227. *            Write the label that will appear on screen, followed by a colon.
    228. *            Add the keyword 'augments' followed by the end semicolon.
    229. *           
    230. *            Example:
    231. *               Crystals: augments;
    232. *
    233. *
    234. *   Params Name Acronyms
    235. *     This notebox serves to define the acronyms for the 8 main parameters,
    236. *     as they will appears in the Status window. Define a 3 letters acronym
    237. *     for each params and associate it with its param Id. The params Id are
    238. *     as follow:
    239. *
    240. *     0: Max HP         1: MMP             2: Attack     3: Defense
    241. *     4: Magic Atttack  5: Magic defense   6: Agility    7: Luck
    242. *
    243. *     The notebox is already filled with the acronyms of the default param
    244. *     names. Change it to your liking. Separate each with a SEMICOLON.
    245. *
    246. *
    247. *   Enable Help Back Rect
    248. *     Enable the backround rectangle in the help window.
    249. *
    250. *
    251. *
    252. * Item Window
    253. * ===========
    254. *
    255. *   Items Sorting Method
    256. *     This notebox let you define different sorting method for each equip
    257. *     slots categories. Associate each equip slots to one of the following
    258. *     sorting method:
    259. *
    260. *            -1 : no sort, the items will appears in their database entries
    261. *                 order. Not inluding an equip slot in the notebox will
    262. *                 give the same result.
    263. *
    264. *         'name': Items will be sorted alphabetically according to their
    265. *                 name define in the database.
    266. *
    267. *          0 - 7: Items will be sorted numerically according to the param
    268. *                 id (0 to 7) specified in the notebox.
    269. *
    270. *         'best': Items will be sorted according to the highest params
    271. *                 combinattion (similar to optimize command).
    272. *
    273. *
    274. *                 Example:
    275. *                   1: 2; 2: 'name'; 3: 3; 4: 'best'
    276. *
    277. *         Filling the notebox as above will sort the weapons (slotId 1)
    278. *         according to the attack parameter (paramId 2). SlotId 2 will
    279. *         be sorted according to their names, slotId 3 will be sorted
    280. *         by their defense parameter (paramId 3), and slotId 4 will be
    281. *         sorted according to 'best' param optimization. Note that each
    282. *         properties are separated by a SEMICOLON.
    283. *
    284. *
    285. *   Actors Equipment Sort
    286. *     With this parameter, you can decide wether or not the currently equipped
    287. *     items will be included in the sorting method. If not, the currently
    288. *     equipped items will appears at the top of the item list.     
    289. *
    290. *   Enable Item Back Rect
    291. *     Enable the backround rectangle in the item window.
    292. *
    293. *
    294. *
    295. * Display Window
    296. * ==============
    297. *
    298. *   Display Icons Positions
    299. *     This notebox allow you to define specific screen positions for the icons
    300. *     in the display window. Enter X and Y coordinates for each slotId. Separate
    301. *     X and Y values by a COMMA, and each properties by a SEMICOLON.
    302. *
    303. *     Example:
    304. *        1: 50, 50; 2: 50, 100; 3: 200, 50; 4: 200, 100
    305. *
    306. *     In the example above, slotId 1 will appears at x50, y50 in the Display
    307. *     window. If you omit to include some slotId, they will stack up in the
    308. *     top left corner of the window. If you leave the whole parameter blank,
    309. *     the Plugin will automatically dispose the icons arround the battler
    310. *     image (default setting).
    311. *   
    312. *
    313. *   Display Icons Size
    314. *     This set the iconSize of the icons in the display window. If this parameter
    315. *     is left empty, the Plugin will refer to default icon width.
    316. *
    317. *
    复制代码


    Spoiler: Terms
                    Code:       
    1. * =======================================================================================
    2. * == Terms of usage =====================================================================
    3. * =======================================================================================
    4. * Use in any independant RPG Maker MV projects, including commercials.
    5. *
    6. * Credit is required for using this Plugin.
    7. * For crediting, use 'TSR' along with one of
    8. * the following terms:
    9. *      'The Northern Frog' or 'A frog from the north'
    10. *
    11. * Do not change the Header or the Terms of usage.
    12. *
    13. * Do not change the main object name.
    14. *
    15. * Editing of the script is allowed, but it won't relieve from crediting
    16. * obligations. Remember that changing the name of functions and variables,
    17. * or even manually retyping the entire script, doesn't make you the author
    18. * of the Plugin.
    19. *
    20. * DO NOT REDISTRIBUTE!
    21. * If you want to share it, share the link to my itchi.io account:
    22. * https://the-northern-frog.itch.io/
    23. *
    24. *
    复制代码


    Regards!
    TSR


    本贴来自国际rpgmaker官方论坛作者:TSR处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/tsr_equipslots-by-the-northern-frog.132989/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-31 22:34 , Processed in 0.114314 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表