じ☆ve冰风 发表于 2026-7-31 21:02:09

Iavra Item/Skill Discovery

Description

Allows to hide the icon, name and description of items/skills until they get used for the first time. Also, a small message can be shown every time a new item/skill is discovered.

Screenshots

https://forums.rpgmakerweb.com/data/attachments/11/11091-02d2916914ae95750ad3904d4e22994f.jpg

Prerequisites

None

How to Use

Place the following tags in the notebox of items/skills you want to hide:

<hide icon>            # Hides the icon and shows a default placeholder.<hide icon 1>          # Hides the icon and shows icon #1 as a placeholder.<hide name>            # Hides the name and shows a default placeholder.<hide name "abc">      # Hides the name and shows "abc" as a placeholder.<hide desc>            # Hides the description and shows a default placeholder.<hide desc "abc">      # Hides the description and shows "abc" as a placeholderConfigurationDefault placeholder for icon/name/description if no value is given in the tag.

DEFAULT_ICON = 1DEFAULT_NAME = "???"DEFAULT_DESC = "???"Optionally shows a message on item/skill discovery.
                Code:       
SHOW_WINDOW = true# Width of the message window.WINDOW_WIDTH = 400# Spacing below the window. If multiple windows are displayed, older ones get pushed up.   WINDOW_SPACING = 10# If set to true, the icon of the discovered item/skill will be shown in front of the message.WINDOW_ICON = true# Text to be shown. All message codes can be used (though the window has a fixed height of 1 line).WINDOW_TEXT = " \\C%s\\C discovered!"# Delay (in frames), before the window fades away and the rate at which it fades.WINDOW_FADE_DELAY = 120WINDOW_FADE_RATE = 10# Horizontal and vertical padding around the message.WINDOW_PADDING_X = 5WINDOW_PADDING_Y = 5# The window background is rendered as a gradient between these colors:WINDOW_COLOR_1 = Color.new(0, 0, 0, 255)WINDOW_COLOR_2 = Color.new(0, 0, 0, 0)

Terms of UseFree to use for both commercial and non-commercial games. Please give credit.

Credits

Iavra

FAQ

None so far

Changelog

-

Script

http://pastebin.com/HfQNmgKY


本贴来自国际rpgmaker官方论坛作者:Iavra处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/iavra-item-skill-discovery.40607/
页: [1]
查看完整版本: Iavra Item/Skill Discovery