Item
From Wiki001
(Redirected from Item Events)
Items are pretty much anything that the player can possess in their inventory. They can be found on a surface, such as the ground or a counter, when they are in the state of being a pick-up, where all that is required is an item resource. They can also be discovered within a treasure chest using a treasure chest effect.
Contents |
Options
Visual
- Color
- Tint of the pick-up or treasure chests.
- Opacity
- How much it blends into the ground.
- Glow
- The color of glow the item has.
- Flip Horizontally
- Flips the pick-up/treasure chest horizontally.
- Flip Vertically
- Flips the pick-up/treasure chest vertically.
- Display Shadow
- Draws a generated shadow for the pick-up (flat) or treasure chest (flipped).
Miscellaneous Properties
- Treasure Chest
- The effect that will be shown at the first frame, until it is opened, which will transition all frames until it reaches the end, at which point it will remain at that point forever (or until it is told to return).
- Return
- The number of milliseconds before the pick-up reappears after being picked up, or the treasure chest refills after being opened.
Rewards
- Item
- Which item you would like to place. Below the item you chose there will be a box with information of the item (this can be changed via the Item tab in the bottom left corner of the editor).
- Quantity
- You just type in how many of the item you are placing do you want.
- Ammunition
- Usually used for weapons, but other items can use it. Just type in the number of ammunition you want for this pick-up.
- Experience
- Amount of experience (potentially as an addition) received when rewarded.
- Money
- Amount of money (potentially as an addition) received when rewarded.
Scripting
Events
There's no specific section for item events. They are scattered all over the place. This is, however, a limited list of such:
Properties
These properties can never change during gameplay:
- Ammo Type
- The general way the ammo is used for the item, either "", "Ammo" or "Count".
- Damage
- The raw damage of a weapon without any consideration to statistics. This will trigger the Weapon Damage system script anyway, giving it fake information, in order to produce a proper value, since not every game has to use the pre-defined attack statistic.
- Description
- Description of the item.
- Graphic
- The large graphic for use in fields on interfaces.
- Name
- Name of the item.
- Price
- Base price of the item, without any alterations done by a particular Show Shop.
- Statistic
- The specific increase or decrease of a particular statistic the item affects.

