2 <!-- Used because the skill points are locally updated (at buy phrase time) -->
5 <branch name="SKILL_POINTS_"
11 <branch name="FACTION_POINTS_"
13 <!-- game_share/pvp_clan.h (0 is BeginClans and size is EndClans-BeginClans+1 -->
18 <!-- The Inventory Local DB -->
19 <branch name="INVENTORY"
24 <!-- 0 Right 1 Left -->
25 <leaf name="INDEX_IN_BAG"
27 <!-- 0 nothing 1-256 index in bag from 0 to 255 -->
33 <!-- Common Item Data -->
40 <leaf name="CREATE_TIME"
44 <leaf name="USER_COLOR"
50 <!-- weight. see DB_WEIGHT_SCALE-->
53 <!-- 0 or special name of item -->
54 <leaf name="INFO_VERSION"
58 <leaf name="RM_CLASS_TYPE"
60 <leaf name="RM_FABER_STAT_TYPE"
62 <leaf name="PREREQUISIT_VALID"
66 <leaf name="RESALE_FLAG"
68 <!-- TBotChatResaleFlag -->
71 <!-- true if item is worned (show a red cross) -->
74 <!-- MAX_INVENTORY_ANIMAL -->
75 <branch name="PACK_ANIMAL"
79 <!-- Common Item Data -->
86 <leaf name="CREATE_TIME"
90 <leaf name="USER_COLOR"
96 <!-- weight. see DB_WEIGHT_SCALE-->
99 <!-- 0 or special name of item -->
100 <leaf name="INFO_VERSION"
104 <leaf name="RM_CLASS_TYPE"
106 <leaf name="RM_FABER_STAT_TYPE"
108 <leaf name="PREREQUISIT_VALID"
112 <leaf name="RESALE_FLAG"
114 <!-- TBotChatResaleFlag -->
117 <branch name="EQUIP">
118 <!-- jewelry + armor -->
121 <leaf name="INDEX_IN_BAG"
123 <!-- same as hand -->
126 <branch name="HOTBAR">
129 <leaf name="INDEX_IN_BAG"
131 <!-- same as hand -->
135 <!-- used for harvest loot and bag full -->
138 <!-- Type of temp inv see temp_inventory_mode in game_share -->
141 <!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
142 <!-- Common Item Data -->
147 <leaf name="QUANTITY"
149 <leaf name="CREATE_TIME"
153 <leaf name="USER_COLOR"
155 <!-- No LOCKED state -->
158 <!-- weight. see DB_WEIGHT_SCALE-->
161 <!-- 0 or special name of item -->
162 <leaf name="INFO_VERSION"
166 <leaf name="RM_CLASS_TYPE"
168 <leaf name="RM_FABER_STAT_TYPE"
170 <leaf name="PREREQUISIT_VALID"
173 <leaf name="ENABLE_TAKE"
175 <!-- Used only in forage -->
177 <branch name="SHARE">
178 <!-- used to share items between team members (up to 8 players) -->
184 <!-- Common Item Data -->
189 <leaf name="QUANTITY"
191 <leaf name="CREATE_TIME"
195 <leaf name="USER_COLOR"
199 <!-- weight. see DB_WEIGHT_SCALE-->
202 <!-- 0 or special name of item -->
203 <leaf name="INFO_VERSION"
207 <leaf name="RM_CLASS_TYPE"
209 <leaf name="RM_FABER_STAT_TYPE"
211 <leaf name="PREREQUISIT_VALID"
213 <!-- Additionnal info -->
214 <leaf name="NB_MEMBER"
216 <!-- Number of team member who wants this item or phrase -->
219 <!-- Does the player wants this item or phrase ? -->
222 <!-- Chance in percentage the player has to obtain this item -->
226 <!-- all the team members -->
231 <!-- is the team member has validated its own selection ? -->
237 <leaf name="BULK_MAX"
243 <!-- Common Item Data -->
248 <leaf name="QUANTITY"
250 <leaf name="CREATE_TIME"
254 <leaf name="USER_COLOR"
260 <!-- weight. see DB_WEIGHT_SCALE-->
263 <!-- 0 or special name of item -->
264 <leaf name="INFO_VERSION"
268 <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
269 <leaf name="RM_CLASS_TYPE"
271 <leaf name="RM_FABER_STAT_TYPE"
273 <leaf name="PREREQUISIT_VALID"
275 <leaf name="RESALE_FLAG"
282 <!-- gift from animator (dm) to player -->
283 <branch name="DM_GIFT"
287 <!-- caption of the gift window -->
289 <!-- player trade & gift to bot -->
290 <branch name="EXCHANGE">
297 <leaf name="ACCEPTED"
303 count="10"> <!-- Change in database.xml, player_trade.lua and NbExchangeSlots on server-->
304 <!-- Common Item Data -->
309 <leaf name="QUANTITY"
311 <leaf name="CREATE_TIME"
315 <leaf name="USER_COLOR"
317 <!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
320 <!-- weight. see DB_WEIGHT_SCALE-->
323 <!-- 0 or special name of item -->
324 <leaf name="INFO_VERSION"
328 <leaf name="RM_CLASS_TYPE"
330 <leaf name="RM_FABER_STAT_TYPE"
332 <leaf name="PREREQUISIT_VALID"
336 <branch name="RECEIVE">
338 count="10"> <!-- Change in database.xml, player_trade.lua and NbExchangeSlots on server-->
339 <!-- Common Item Data -->
344 <leaf name="QUANTITY"
346 <leaf name="CREATE_TIME"
350 <leaf name="USER_COLOR"
352 <!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
355 <!-- weight. see DB_WEIGHT_SCALE-->
358 <!-- 0 or special name of item -->
359 <leaf name="INFO_VERSION"
363 <leaf name="RM_CLASS_TYPE"
365 <leaf name="RM_FABER_STAT_TYPE"
367 <leaf name="PREREQUISIT_VALID"
372 <!-- NB this is not a copy of the server db, but the concatenation of all ascensor pages -->
373 <branch name="ASCENSOR">
382 <!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
383 <branch name="TRADING">
386 <!-- Common Item Data -->
391 <leaf name="QUANTITY"
393 <leaf name="CREATE_TIME"
397 <!-- No LOCKED state -->
398 <leaf name="USER_COLOR"
402 <!-- weight. see DB_WEIGHT_SCALE-->
405 <!-- 0 or special name of item -->
406 <leaf name="INFO_VERSION"
410 <leaf name="RM_CLASS_TYPE"
412 <leaf name="RM_FABER_STAT_TYPE"
414 <leaf name="PREREQUISIT_VALID"
416 <!-- Special Trade -->
419 <leaf name="PRICE_RETIRE"
421 <leaf name="RESALE_TIME_LEFT"
423 <leaf name="VENDOR_NAMEID"
425 <!-- name id of player vendor -->
426 <leaf name="FACTION_TYPE"
428 <!-- game_share/pvp_clan.h -->
429 <leaf name="FACTION_POINT_PRICE"
431 <!-- 0 for standard behaviour -->
432 <!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot -->
433 <!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill -->
434 <!-- These values are defined as an enum in game_share/trade_slot_type.h -->
435 <leaf name="SLOT_TYPE"
437 <!-- see TBotChatSellerType -->
438 <leaf name="SELLER_TYPE"
442 <!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
444 <branch name="ITEMS_FOR_MISSIONS">
445 <branch name="" count="512">
447 <!--<leaf name="SHEET" type="I32"/>
448 <leaf name="QUALITY" type="I16"/>
449 <leaf name="WEIGHT" type="I16"/>
450 <leaf name="NAMEID" type="I32"/>
451 <leaf name="INFO_VERSION" type="I8"/>
453 <!-- the same than for TRADING:x:SLOT_type -->
455 <leaf name="SLOT_TYPE" type="I2"/>
456 <leaf name="LOGIC_TEXT_ID" type="I32"/>
457 <leaf name="DESC_TEXT_ID" type="I32"/>
460 <!-- NB this is not a copy of the server db, but the concatenation of all mission -->
461 <branch name="CHOOSE_MISSIONS">
468 <leaf name="DETAIL_TEXT"
470 <leaf name="PREREQ_STATE"
474 <branch name="CHARACTER_INFO"
476 <branch name="CAREER"
482 <!-- (0,no) (10-250,valid more later) -->
485 <!-- Bit 1 is the Frozen State. 1 for frozen -->
486 <leaf name="BEGIN_FREEZE_TIME"
488 <!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
489 <leaf name="END_FREEZE_TIME"
491 <!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
495 <!-- context menu -->
496 <branch name="TARGET"
498 <branch name="CONTEXT_MENU"
501 <leaf name="PROGRAMMES"
503 <!-- options for missions in the context menu -->
504 <branch name="MISSIONS_OPTIONS"
511 <!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
512 <leaf name="PLAYER_GIFT_NEEDED"
514 <!-- want a player gift ? -->
515 <leaf name="PRIORITY"
517 <!-- priority of the option : the higher it is, the higher the option will be displayed in the menu -->
520 <!-- A NPC may offer to view a webpage -->
521 <leaf name="WEB_PAGE_URL"
523 <!-- a text ID of 0 means there's no WebPage -->
524 <leaf name="WEB_PAGE_TITLE"
526 <!-- a text ID of 0 means there's no WebPage -->
527 <!-- A NPC may offer to view an outpost -->
530 <!-- outpost this bot give access to (sheet id inside) -->
531 <!-- Mission rings -->
532 <branch name="MISSION_RING">
537 <!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
540 <!-- the id of the action if selected -->
547 <branch name="PLOT_ITEMS">
548 <!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
556 <branch name="AVAILABLE_PLOT_ITEMS">
557 <!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
565 <branch name="REFERENCE_PLOT_ITEMS">
566 <!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
574 <branch name="CURR_PLOT_ITEM">
579 <branch name="DM_GIFT">
585 <leaf name="QUANTITY"
590 </database_description>