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.
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[2]%s\\C[0] 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.