Rewards Entity
The rewards entity defines what an object (for example an enemy) gives when it is defeated: experience, dropped items and modifiers.
Managing rewards in the admin panel
Rewards are in the Rewards section of the admin sidebar, under Rewards (/reldens-admin/rewards), see Rewards and Drops.
Key Properties
- object_id: The object that gives the reward
- item_id: Optional dropped item
- modifier_id: Optional reward modifier
- experience: Experience given
- drop_rate: Drop chance in percent (100 always drops, 0 never drops)
- drop_quantity: Quantity of the dropped item
- is_unique: When enabled, the reward is given only once
- was_given: Set by the game when a unique reward was given
- has_drop_body: When enabled, the item is dropped on the ground to be picked up (see Drops Animations)
- created_at and updated_at: Timestamps
Database Relations
- objects: The object
- items_item: The dropped item
- rewards_modifiers: The reward modifier
reldens