Merchant Documentation

From Legends of Aria Admin and Modding Wiki
Revision as of 08:46, 19 June 2018 by Gizmo (talk | contribs)
Jump to: navigation, search

back to Project Phoenix#Merchants

Table Definitions

table name table data description
buy_list {<template>,<name>,<cost>,<stackable>} template - the template to buy off the player
name - the display name
cost - cost of the item exmp: 10c
stackable - a true/false value.
stock_data_list {<template>,<name>,<sellprice>,<maxstock>,<stackable>} template - the template to sell to the player
name - the display name
sellprice - the price to sell
maxstock - the max amount to stock of the item on restock
stackable - a true/false value.
current_stock_list <template>,<display name>,<sell price>,<current_stock_count>,<max_stock_count>,<stackable> template - the template to sell to the player
display name - the display name
sell price - the price to sell the item at
current_stock_count - the amount left in stock of the item
max_stock_count - the max stock the item can have
stackable - a true/false value.

Misc Object Variables

Variable Name Type Description
CanDoRepairs bool true/false
Example Example
Example Example