Skip to content

Loot

Version: 1.0.0.0 Updated: 2023-11-29 16:56:05

Summary

Documentation for the Loot Page

Loot Schema

NameTypeRequiredDescription
custom_dataobjectNoCustom data associated with the resource
namestringNoName of the resource
descriptionstringNoDescription of the resource
item_idstringNoThe Item ID. Optional Item that will be granted to the player if Sub Vendor ID is not specified.
sub_vendor_idstringNoThe Sub Vendor ID. Optional Vendor ID that will be used to fulfill the Loot instead of granting the Item.
quantityintegerNoThe quantity of the Item or Sub Vendor to fulfill. This will be multiplied by the quantity of fulfilled Loot and the parent Loot if quantity_type is relative.
inventory_selector_typeobjectYesSee schema
inventory_operationobjectYesSee schema
activebooleanNoDetermines if the Loot is active. Inactive Loot will not be fulfilled.
sort_orderintegerNoThe sort order of the Loot. Lower sort order will be fulfilled first. Inventory Operation is used as a tie breaker when sort_order is the same.
drop_weightintegerNoThe drop weight of the Loot. Higher drop weight will be more likely to be fulfilled.
fill_in_new_orderbooleanNoWhen dropped in a randomly sampled vendor, will this create a new order or fill inline?. The primary use case for this is when you want the same loot to be dropped multiple times in a randomly sampled vendor.
allow_partial_bundlesbooleanNoWhen dropped in a randomly sampled vendor, will the sub vendor allow dropping part of the the bundle? False means it will only drop if the entire sub vendor can be given to the player
required_item_idstringNoItem required to be owned/rented to drop this Loot in a randomly sampled vendor
required_item_countintegerNoAmount of the required_item_id to be owned/rented to drop this Loot in a randomly sampled vendor
stack_limitintegerNoAmount of owned/rented of this Loot’s item that will prevent this Loot from dropping in a randomly sampled vendor
quantity_typeobjectNoSee schema
quantity_multi_inventory_item_idstringNoWhen fulfilling Loot if this is set the quantity will be multiplied by the quantity of this Item in the Player’s Inventory.
is_claimable_by_clientbooleanNoDetermines if the Loot can be claimed by the client. This is dangerous without the correct loot confiuration as a client could claim Loot multiple times.
time_frame_idstringNoThe Time Frame ID. Optional Time Frame ID that will be used the expiration of Loot when it is fulfilled.
use_inventory_bucketobjectNoSee schema
xp_quantity_transform_typeobjectNoSee schema
current_price_point_idstringNoThe current price point id. Optional Price Point ID that will be used to determine the price of the Loot when it is fulfilled.
pre_sale_price_point_idstringNoThe pre sale price point id. Optional Price Point ID that will be used to show the previous price of the Loot.
hard_quantity_maximumintegerNoHard cap on quantity of an item this Loot can give. Disabled with 0
sandbox_idstringNoID of the Sandbox
last_modified_account_idstringNoAccount ID of the user who last modified the resource
last_modified_timestampstringNoTimestamp of when the resource was last modified
created_timestampstringNoTimestamp of when the resource was created
loot_idstringYesThe Loot ID
vendor_idstringYesThe Vendor ID
legacy_loot_idintegerNoThe legacy ID of the Loot.
vendor_namestringNoName corresponding Vendor ID
sub_vendor_namestringNoName corresponding Sub-Vendor ID
item_namestringNoName corresponding Item ID
required_item_namestringNoName corresponding Required Item ID
quantity_multi_inventory_item_namestringNoName corresponding Quantity Multi Inventory Item ID
current_price_point_namestringNoName corresponding Current Price Point ID
pre_sale_price_point_namestringNoName corresponding Pre-sale Price Point ID

Inventory_selector_type Enum Values

ValueDescription
ownThe Inventory will be stored across Inventory Sessions.
rentThe Inventory will be stored across Inventory Sessions but will expire after a period of time. Quantity modification will modify the Inventory’s expiration time.
rent_timeframe_lockedThe Inventory will be stored across Inventory Sessions by will expire after a period of time. Quantity modification will not modify the Inventory’s expiration time but instead the quantity of the Inventory.
own_transientThe Inventory will by fulfilled as transient Inventory and will not persist across Inventory Sessions.
inherit_entitlement_inventoryLoot fulfilled will look for a parent Entitlement and then grant the Loot as transient Inventory with the rental expiration matching the parent;s expiration.

Inventory_operation Enum Values

ValueDescription
addAdd the quantity or expiration of the Inventory.
subtractSubtract the quantity or expiration of the Inventory.
setSet the quantity or expiration of the Inventory.
check_greater_than_or_equalCheck if the quantity or expiration of the Inventory is greater than or equal to the value.
check_less_thanCheck if the quantity or expiration of the Inventory is less than the value.
check_greater_than_or_equal_and_subtractCheck if the quantity or expiration of the Inventory is greater than or equal to the value and subtract the value from the quantity or expiration.

Quantity_type Enum Values

ValueDescription
relativeThe quantity will be modified relative to the context in which it is fulfilled.
absoluteThe quantity will be modified regardless of the context in which it is fulfilled.

Use_inventory_bucket Enum Values

ValueDescription
freeInventory given away for free.
sweatInventory earned by players through in game activities.
noneInventory that doesn’t belong to any known platform.
anonInventory assigned to the anonymous platform.
amazonInventory assigned to the amazon platform.
steamInventory assigned to the steam platform.
psnInventory assigned to the playstation platform.
xbox_liveInventory assigned to the Xbox platform.
googleInventory assigned to the Google platform.
twitchInventory assigned to the Twitch platform.
nintendo_switchInventory assigned to the Nintendo Switch platform.
appleInventory assigned to the Apple platform.
nintendoInventory assigned to the Nintendo platform.
epicInventory assigned to the Epic platform.
google_playInventory assigned to the Google Play platform.
nintendo_ppidInventory assigned to the Nintendo PPID platform.

Xp_quantity_transform_type Enum Values

ValueDescription
noneQuantity will be treated as XP and will not be transformed.
from_current_xp_to_target_additional_level_min_xpQuantity will be treated as level to fulfill and will be transformed to the amount of XP required to reach the min xp of the fulfilled levels.
from_current_level_min_xp_to_target_additional_level_min_xpQuantity will be treated as levels to fulfill and will be transformed to the amount of XP required to reach the min xp of the fulfilled levels from the min xp of the current level.
from_zero_to_target_exact_level_min_xpQuantity will be treated as levels to fulfill and will be transformed to the amount of XP required to reach the min xp of the fulfilled levels from zero xp.