设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1294|回复: 0
打印 上一主题 下一主题

[有事请教] SceneGlossary能否做到词条合并?

[复制链接]

Lv2.观梦者

梦石
0
星屑
799
在线时间
81 小时
注册时间
2018-3-27
帖子
36
跳转到指定楼层
1
发表于 2023-2-6 12:33:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
本帖最后由 river12 于 2023-2-6 12:44 编辑

同名的词条合并在一块显示,比如刚开始
词条一:主角17岁
随着剧情展开
获得更新词条
词条一:主角17岁,主角27岁

能否做到呢

JAVASCRIPT 代码复制
  1. @help Add a screen that allows you to view the terms that appear in the game.
  2. * Images and text descriptions describing the terms are displayed in the window.
  3. *
  4. * How to use
  5. * 1. Register items to be treated as terms from the database.
  6. *
  7. * 2. Set the parameter "GlossaryInfo".
  8. *
  9. * Terms can be browsed by acquiring the target item, and there is
  10. * also a function to register automatically
  11. * when the same word appears in the command of displaying sentences.
  12. * (It is also possible to specify a specific term outside the scope
  13. * of automatic registration)
  14. *
  15. * You can switch from menu scene and plugin command to
  16. * glossary scene.
  17. *
  18. * How to register data
  19. * 1. Register new data in item database and
  20. * set "item type" to "hidden item A" or "hidden item B"
  21. *
  22. * 2. Set note param
  23. * <SGDescription:xxx> // Description of Glossary *1
  24. * <SGCategory:xxx>    // Category of Glossary
  25. * <SGManual>          // Exclude terms from automatic registration
  26. * <SGPicture:filename> // Filename of the term picture
  27. * <SGEnemy:1>          // Enemy instead of the picture
  28. * <SGPicturePosition:text> // Picture position
  29. *  top, bottom, text
  30. * <SGTextPosition:100>      // Text position
  31. * <SGPicturePriority:top>   // Picture priority
  32. *  top, bottom
  33. * <SGPictureScale:0.5>     // Picture scale
  34. * <SGPictureAlign:right>   // Picture align
  35. *  left, center, right
  36. * <SGNoCollect>            // Glossary No Collect
  37. * <SGTextColorChange:1,10> // If switch[1] ON. Change color[10]
  38. *
  39. * *1 Escape Characters
  40. * \COMMON[1]  // It is replaced by aaa(<CommonDescription:aaa>)
  41. * \mhp[3]     // Enemy Max HP(Zero padding 3)
  42. * \mmp[3]     // Max MP
  43. * \atk[3]     // Atk
  44. * \def[3]     // Def
  45. * \mag[3]     // Mag
  46. * \mdf[3]     // Mdf
  47. * \agi[3]     // Agi
  48. * \luk[3]     // Luk
  49. * \exp[3]     // Exp
  50. * \money[3]   // Gold
  51. * \drop[1]    // Drop item 1
  52. * \DATA[prop] // 対象データのプロパティ「prop」に置き換えられます。(下記参照)
  53. * \DATA[description] // 対象データの説明
  54. * \DATA[price]       // 対象データの価格
  55. *
  56. * you can use multiple pages with one term.
  57. * The pages are switched with the direction keys.
  58. * <SGDescription2:xxx>
  59. * <SGPicture2:filename>
  60. * <SGPicturePosition2:text>
  61. *
  62. * The same is true for the third and subsequent pages, up to 99 pages can be specified.
  63. * Do not attach "1" to the first page when displaying multiple pages.
  64. * NG:<SGDescription1:xxx>
  65. *
  66. * The following tags are required when displaying terms in different type of dictionary.
  67. * <SGType:2>   // Type of Glossary
  68. *
  69. * Plugin Command
  70. *
  71. * GLOSSARY_GAIN_ALL
  72. *  All terms registered in the database will be in acquisition state.
  73. *
  74. * GLOSSARY_CALL [Type]
  75. *  Call the glossary screen.
  76. *  If the type is omitted, it will be automatically set to "1".
  77. * ex:GLOSSARY_CALL 1
  78. *
  79. * GLOSSARY_BACK
  80. *  Call up the glossary screen with reselecting the last selected item.
  81. * ex:GLOSSARY_BACK
  82. *
  83. * GLOSSARY_ITEM_CHANGE_CATEGORY [Item id] [new category]
  84. *  Change the category of the item with the specified ID to another one.
  85. * ex:GLOSSARY_ITEM_CATEGORY_CHANGE 10 AAA
  86. * Only items can be changed. Weapons and armors can not be changed.
  87. *
  88. * GLOSSARY_ITEM_CHANGE_USABLE [Item id] [ON or OFF]
  89. *  Change prohibition of items with the specified ID.
  90. *  (ON: Possible OFF: Prohibited)
  91. * ex:GLOSSARY_ITEM_CHANGE_USABLE 10 ON
  92. * Only items can be changed. Weapons and armors can not be changed.
  93. *
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-11-17 18:28

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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