@ -1,4 +1,8 @@
<database_description >
<database_description >
<!-- 2014 - 09 - 12: Now possible to use nullable="1" in leafs. This will
add 1 additional bit to the field, which will be the only bit sent
when the value of the field is 0. Use only for fields which are
updated less frequently and which are often reset. -KAE -->
<!-- Define bank superclass -->
<!-- Define bank superclass -->
<bank_superclass >
<bank_superclass >
<bank name= "PLR" class= "CCDBSynchronised" />
<bank name= "PLR" class= "CCDBSynchronised" />
@ -61,7 +65,7 @@
<leaf name= "VALUE" type= "I32" />
<leaf name= "VALUE" type= "I32" />
</branch>
</branch>
<branch name= "NPC_CONTROL" bank= "PLR" >
<branch name= "NPC_CONTROL" bank= "PLR" >
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "RUN" type= "I32" />
<leaf name= "RUN" type= "I32" />
<leaf name= "WALK" type= "I32" />
<leaf name= "WALK" type= "I32" />
</branch>
</branch>
@ -87,7 +91,7 @@
<branch name= "BRICK_TICK_RANGE" >
<branch name= "BRICK_TICK_RANGE" >
<!-- tick range for each power -->
<!-- tick range for each power -->
<branch name= "" count= "64" >
<branch name= "" count= "64" >
<leaf name= "TICK_RANGE" type= "I64" />
<leaf name= "TICK_RANGE" type= "I64" nullable= "1" />
<!-- 32b for start tick and 32b for end tick -->
<!-- 32b for start tick and 32b for end tick -->
</branch>
</branch>
</branch>
</branch>
@ -113,11 +117,11 @@
</branch>
</branch>
<!-- ContextMenu (Bot options etc...) -->
<!-- ContextMenu (Bot options etc...) -->
<branch name= "CONTEXT_MENU" atom= "1" >
<branch name= "CONTEXT_MENU" atom= "1" >
<leaf name= "PROGRAMMES" type= "I32" />
<leaf name= "PROGRAMMES" type= "I32" nullable= "1" />
<!-- options for missions in the context menu -->
<!-- options for missions in the context menu -->
<branch name= "MISSIONS_OPTIONS" >
<branch name= "MISSIONS_OPTIONS" >
<branch name= "" count= "8" >
<branch name= "" count= "8" >
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name= "PLAYER_GIFT_NEEDED" type= "I1" />
<leaf name= "PLAYER_GIFT_NEEDED" type= "I1" />
<!-- want a player gift ? -->
<!-- want a player gift ? -->
@ -126,18 +130,18 @@
</branch>
</branch>
</branch>
</branch>
<!-- A NPC may offer to view a webpage -->
<!-- A NPC may offer to view a webpage -->
<leaf name= "WEB_PAGE_TITLE" type= "I32" />
<leaf name= "WEB_PAGE_TITLE" type= "I32" nullable= "1" />
<!-- a text ID of 0 means there's no WebPage -->
<!-- a text ID of 0 means there's no WebPage -->
<leaf name= "WEB_PAGE_URL" type= "I32" />
<leaf name= "WEB_PAGE_URL" type= "I32" nullable= "1" />
<!-- the URL text ID of the web page -->
<!-- the URL text ID of the web page -->
<leaf name= "OUTPOST" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "OUTPOST" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<!-- outpost this bot give access to (sheet id inside) -->
<!-- outpost this bot give access to (sheet id inside) -->
<!-- Mission rings -->
<!-- Mission rings -->
<branch name= "MISSION_RING" >
<branch name= "MISSION_RING" >
<branch name= "" count= "4" >
<branch name= "" count= "4" >
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name= "ID" type= "I32" />
<leaf name= "ID" type= "I32" nullable= "1" />
<!-- the id of the action if selected -->
<!-- the id of the action if selected -->
</branch>
</branch>
</branch>
</branch>
@ -167,27 +171,27 @@
<branch name= "" count= "15" >
<branch name= "" count= "15" >
<!-- see game_share/mission_desc.h TMissionType -->
<!-- see game_share/mission_desc.h TMissionType -->
<leaf name= "TYPE" type= "I2" />
<leaf name= "TYPE" type= "I2" />
<leaf name= "ICON" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "ICON" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<!-- sheet id of a .mission_icon sheet -->
<!-- sheet id of a .mission_icon sheet -->
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<leaf name= "DETAIL_TEXT" type= "I32" />
<leaf name= "DETAIL_TEXT" type= "I32" nullable= "1" />
<!-- begin date in tick -->
<!-- begin date in tick -->
<leaf name= "BEGIN_DATE" type= "I32" />
<leaf name= "BEGIN_DATE" type= "I32" nullable= "1" />
<!-- end date in tick -->
<!-- end date in tick -->
<leaf name= "END_DATE" type= "I32" />
<leaf name= "END_DATE" type= "I32" nullable= "1" />
<!-- true if the step are "OR" -->
<!-- true if the step are "OR" -->
<leaf name= "OR_STEPS" type= "I1" />
<leaf name= "OR_STEPS" type= "I1" />
<branch name= "GOALS" >
<branch name= "GOALS" >
<branch name= "" count= "20" >
<branch name= "" count= "20" >
<leaf name= "TEXT" type= "I32" />
<leaf name= "TEXT" type= "I32" nullable= "1" />
<leaf name= "NPC_ALIAS" type= "I32" />
<leaf name= "NPC_ALIAS" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
<!-- Targets -->
<!-- Targets -->
<branch name= "TARGET" count= "8" atom= "1" >
<branch name= "TARGET" count= "8" atom= "1" >
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<leaf name= "X" type= "I32" />
<leaf name= "X" type= "I32" nullable= "1" />
<leaf name= "Y" type= "I32" />
<leaf name= "Y" type= "I32" nullable= "1" />
</branch>
</branch>
<!-- Indicate if the mission is finished (0 - not 1 - success 2 - failed) -->
<!-- Indicate if the mission is finished (0 - not 1 - success 2 - failed) -->
<leaf name= "FINISHED" type= "I2" />
<leaf name= "FINISHED" type= "I2" />
@ -198,14 +202,14 @@
<!-- Historic -->
<!-- Historic -->
<branch name= "HISTO" >
<branch name= "HISTO" >
<branch name= "" count= "30" >
<branch name= "" count= "30" >
<leaf name= "TEXT" type= "I32" />
<leaf name= "TEXT" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
<!-- Common Item Data : For correct HELP, all items must have this structure:
<!-- Common Item Data : For correct HELP, all items must have this structure:
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "USER_COLOR" type= "I3" />
<leaf name= "USER_COLOR" type= "I3" />
@ -213,7 +217,7 @@
<leaf name= "LOCKED" type= "I10" />
<leaf name= "LOCKED" type= "I10" />
<leaf name= "ACCESS" type= "I2" />
<leaf name= "ACCESS" type= "I2" />
<leaf name= "WEIGHT" type= "I16" />
<leaf name= "WEIGHT" type= "I16" />
<leaf name= "NAMEID" type= "I32" />
<leaf name= "NAMEID" type= "I32" nullable= "1" />
<leaf name= "ENCHANT" type= "I10" />
<leaf name= "ENCHANT" type= "I10" />
<leaf name= "RM_CLASS_TYPE" type= "I3" />
<leaf name= "RM_CLASS_TYPE" type= "I3" />
<leaf name= "RM_FABER_STAT_TYPE" type= "I5" />
<leaf name= "RM_FABER_STAT_TYPE" type= "I5" />
@ -238,7 +242,7 @@
<branch name= "GIVE" >
<branch name= "GIVE" >
<branch name= "" count= "8" >
<branch name= "" count= "8" >
<!-- Common Item Data -->
<!-- Common Item Data -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "USER_COLOR" type= "I3" />
<leaf name= "USER_COLOR" type= "I3" />
@ -246,7 +250,7 @@
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "NAMEID" type= "I32" /> <!-- 0 or special name of item -->
<leaf name= "NAMEID" type= "I32" nullable= "1" /> <!-- 0 or special name of item -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
@ -260,7 +264,7 @@
<branch name= "RECEIVE" >
<branch name= "RECEIVE" >
<branch name= "" count= "8" >
<branch name= "" count= "8" >
<!-- Common Item Data -->
<!-- Common Item Data -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "USER_COLOR" type= "I3" />
<leaf name= "USER_COLOR" type= "I3" />
@ -268,7 +272,7 @@
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "NAMEID" type= "I32" /> <!-- 0 or special name of item -->
<leaf name= "NAMEID" type= "I32" nullable= "1" /> <!-- 0 or special name of item -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
@ -350,7 +354,7 @@
<branch name= "" count= "16" >
<branch name= "" count= "16" >
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- Common Item Data -->
<!-- Common Item Data -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "USER_COLOR" type= "I3" />
<leaf name= "USER_COLOR" type= "I3" />
@ -358,7 +362,7 @@
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "NAMEID" type= "I32" /> <!-- 0 or special name of item -->
<leaf name= "NAMEID" type= "I32" nullable= "1" /> <!-- 0 or special name of item -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
@ -378,7 +382,7 @@
<!-- session id -->
<!-- session id -->
<branch name= "" count= "16" >
<branch name= "" count= "16" >
<!-- Common Item Data -->
<!-- Common Item Data -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "USER_COLOR" type= "I3" />
<leaf name= "USER_COLOR" type= "I3" />
@ -386,7 +390,7 @@
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "NAMEID" type= "I32" /> <!-- 0 or special name of item -->
<leaf name= "NAMEID" type= "I32" nullable= "1" /> <!-- 0 or special name of item -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
@ -444,37 +448,37 @@
<!-- This is the malus ratio*50 (ie percentage/2) -->
<!-- This is the malus ratio*50 (ie percentage/2) -->
<branch name= "BONUS" >
<branch name= "BONUS" >
<branch name= "" count= "12" >
<branch name= "" count= "12" >
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "DISABLED" type= "I1" />
<leaf name= "DISABLED" type= "I1" />
<leaf name= "DISABLED_TIME" type= "I32" />
<leaf name= "DISABLED_TIME" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
<branch name= "MALUS" >
<branch name= "MALUS" >
<branch name= "" count= "12" >
<branch name= "" count= "12" >
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "DISABLED" type= "I1" />
<leaf name= "DISABLED" type= "I1" />
<leaf name= "DISABLED_TIME" type= "I32" />
<leaf name= "DISABLED_TIME" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
<branch name= "DISABLE_CONSUMABLE" bank= "PLR" >
<branch name= "DISABLE_CONSUMABLE" bank= "PLR" >
<branch name= "" count= "12" >
<branch name= "" count= "12" >
<leaf name= "FAMILY" type= "I16" />
<leaf name= "FAMILY" type= "I16" nullable= "1" />
<!-- Disable consumablel family -->
<!-- Disable consumablel family -->
<leaf name= "DISABLE_TIME" type= "I32" />
<leaf name= "DISABLE_TIME" type= "I32" nullable= "1" />
<!-- End date of diable time in tick -->
<!-- End date of diable time in tick -->
</branch>
</branch>
</branch>
</branch>
<!-- botchat texts -->
<!-- botchat texts -->
<branch name= "BOTCHAT" bank= "PLR" >
<branch name= "BOTCHAT" bank= "PLR" >
<!-- intro for player gift -->
<!-- intro for player gift -->
<leaf name= "PLAYER_GIFT" type= "I32" />
<leaf name= "PLAYER_GIFT" type= "I32" nullable= "1" />
<!-- intro for guild creation -->
<!-- intro for guild creation -->
<leaf name= "CREATE_GUILD" type= "I32" />
<leaf name= "CREATE_GUILD" type= "I32" nullable= "1" />
<!-- intro for trade window (pacts, action, item, or skills ..) -->
<!-- intro for trade window (pacts, action, item, or skills ..) -->
<leaf name= "TRADE" type= "I32" />
<leaf name= "TRADE" type= "I32" nullable= "1" />
<!-- intro for choose mission -->
<!-- intro for choose mission -->
<leaf name= "CHOOSE_MISSION" type= "I32" />
<leaf name= "CHOOSE_MISSION" type= "I32" nullable= "1" />
<!-- intro before the reward of the mission -->
<!-- intro before the reward of the mission -->
<!-- <leaf name="MISSION_END_REWARD" type="I32"/> -->
<!-- <leaf name="MISSION_END_REWARD" type="I32"/> -->
<!-- text of the mission end -->
<!-- text of the mission end -->
@ -483,15 +487,15 @@
<!-- <leaf name="NEWS" type="I32"/> -->
<!-- <leaf name="NEWS" type="I32"/> -->
<!-- choice dynamic missions -->
<!-- choice dynamic missions -->
<branch name= "DM_CHOICE" count= "3" >
<branch name= "DM_CHOICE" count= "3" >
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<branch name= "" count= "8" >
<branch name= "" count= "8" >
<leaf name= "TEXT" type= "I32" />
<leaf name= "TEXT" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
<!-- title of dynamic mission -->
<!-- title of dynamic mission -->
<leaf name= "DM_TITLE" type= "I32" />
<leaf name= "DM_TITLE" type= "I32" nullable= "1" />
<!-- description of dynamic mission -->
<!-- description of dynamic mission -->
<leaf name= "DM_DESCRIPTION" type= "I32" />
<leaf name= "DM_DESCRIPTION" type= "I32" nullable= "1" />
<!-- the rolemaster type on 2 bits -->
<!-- the rolemaster type on 2 bits -->
<leaf name= "ROLEMASTER_TYPE" type= "I2" />
<leaf name= "ROLEMASTER_TYPE" type= "I2" />
</branch>
</branch>
@ -507,8 +511,8 @@
if high order bit == 0 : guild icon : 58 low order bits - back:3 bits, symbol:6 bits, Invert:1 bit, color1& 2:24 bits each
if high order bit == 0 : guild icon : 58 low order bits - back:3 bits, symbol:6 bits, Invert:1 bit, color1& 2:24 bits each
if high order bit == 1 : low order bits = entry in the LIFT_ICONS::TLiftIcon enum
if high order bit == 1 : low order bits = entry in the LIFT_ICONS::TLiftIcon enum
-->
-->
<leaf name= "ICON" type= "I64" />
<leaf name= "ICON" type= "I64" nullable= "1" />
<leaf name= "NAME" type= "I32" />
<leaf name= "NAME" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
<branch name= "CHOOSE_MISSIONS" bank= "PLR" atom= "1" >
<branch name= "CHOOSE_MISSIONS" bank= "PLR" atom= "1" >
@ -518,10 +522,10 @@
<leaf name= "HAS_NEXT" type= "I1" />
<leaf name= "HAS_NEXT" type= "I1" />
<!-- are there pages left ? -->
<!-- are there pages left ? -->
<branch name= "" count= "8" >
<branch name= "" count= "8" >
<leaf name= "ICON" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "ICON" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<!-- sheet id of a .mission_icon sheet -->
<!-- sheet id of a .mission_icon sheet -->
<leaf name= "TEXT" type= "I32" />
<leaf name= "TEXT" type= "I32" nullable= "1" />
<leaf name= "DETAIL_TEXT" type= "I32" />
<leaf name= "DETAIL_TEXT" type= "I32" nullable= "1" />
<leaf name= "PREREQ_STATE" type= "I8" />
<leaf name= "PREREQ_STATE" type= "I8" />
<!-- game_share/mission_desc.h/TPreReqState -->
<!-- game_share/mission_desc.h/TPreReqState -->
</branch>
</branch>
@ -549,7 +553,7 @@
<!-- 10000*factor to apply on item price, so if this value = 10000, factor is 1.0 -->
<!-- 10000*factor to apply on item price, so if this value = 10000, factor is 1.0 -->
<branch name= "" count= "8" >
<branch name= "" count= "8" >
<!-- Common Item Data -->
<!-- Common Item Data -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUALITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "QUANTITY" type= "I10" />
<leaf name= "USER_COLOR" type= "I3" />
<leaf name= "USER_COLOR" type= "I3" />
@ -557,7 +561,7 @@
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "WEIGHT" type= "I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name= "NAMEID" type= "I32" /> <!-- 0 or special name of item -->
<leaf name= "NAMEID" type= "I32" nullable= "1" /> <!-- 0 or special name of item -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "ENCHANT" type= "I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_CLASS_TYPE" type= "I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name= "RM_FABER_STAT_TYPE" type= "I6" /> <!-- RM_FABER_STAT_TYPE enum -->
@ -571,7 +575,7 @@
<!-- The currency type RYMSG::TTradeCurrency -->
<!-- The currency type RYMSG::TTradeCurrency -->
<leaf name= "RRP_LEVEL" type= "I4" />
<leaf name= "RRP_LEVEL" type= "I4" />
<!-- For rrp curency, specify the rrp level -->
<!-- For rrp curency, specify the rrp level -->
<leaf name= "MONEY_SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "MONEY_SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<!-- For item curency, specify the item sheet -->
<!-- For item curency, specify the item sheet -->
<leaf name= "BASE_SKILL" type= "I4" />
<leaf name= "BASE_SKILL" type= "I4" />
<!-- For skill curency, specify the base skill as in EGSPD::CSPType::TSPType -->
<!-- For skill curency, specify the base skill as in EGSPD::CSPType::TSPType -->
@ -582,7 +586,7 @@
<!-- Special Trade -->
<!-- Special Trade -->
<leaf name= "PRICE_RETIRE" type= "I32" />
<leaf name= "PRICE_RETIRE" type= "I32" />
<leaf name= "RESALE_TIME_LEFT" type= "I16" />
<leaf name= "RESALE_TIME_LEFT" type= "I16" />
<leaf name= "VENDOR_NAMEID" type= "TEXT" />
<leaf name= "VENDOR_NAMEID" type= "TEXT" nullable= "1" />
<!-- name id of player vendor -->
<!-- name id of player vendor -->
<leaf name= "FACTION_POINT_PRICE" type= "I32" />
<leaf name= "FACTION_POINT_PRICE" type= "I32" />
<!-- 0 for standard behaviour -->
<!-- 0 for standard behaviour -->
@ -596,7 +600,7 @@
</branch>
</branch>
<branch name= "BRICK_FAMILY" bank= "PLR" >
<branch name= "BRICK_FAMILY" bank= "PLR" >
<branch name= "" count= "1024" >
<branch name= "" count= "1024" >
<leaf name= "BRICKS" type= " I64 " />
<leaf name= "BRICKS" type= " PACKED" nullable= "1 " />
</branch>
</branch>
</branch>
</branch>
<!--
<!--
@ -610,27 +614,27 @@
<branch name= "" count= "15" >
<branch name= "" count= "15" >
<!-- see game_share/mission_desc.h TMissionType -->
<!-- see game_share/mission_desc.h TMissionType -->
<leaf name= "TYPE" type= "I2" />
<leaf name= "TYPE" type= "I2" />
<leaf name= "ICON" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "ICON" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<!-- sheet id of a .mission_icon sheet -->
<!-- sheet id of a .mission_icon sheet -->
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<leaf name= "DETAIL_TEXT" type= "I32" />
<leaf name= "DETAIL_TEXT" type= "I32" nullable= "1" />
<!-- begin date in tick -->
<!-- begin date in tick -->
<leaf name= "BEGIN_DATE" type= "I32" />
<leaf name= "BEGIN_DATE" type= "I32" nullable= "1" />
<!-- end date in tick -->
<!-- end date in tick -->
<leaf name= "END_DATE" type= "I32" />
<leaf name= "END_DATE" type= "I32" nullable= "1" />
<!-- true if the step are "OR" -->
<!-- true if the step are "OR" -->
<leaf name= "OR_STEPS" type= "I1" />
<leaf name= "OR_STEPS" type= "I1" />
<branch name= "GOALS" >
<branch name= "GOALS" >
<branch name= "" count= "20" >
<branch name= "" count= "20" >
<leaf name= "TEXT" type= "I32" />
<leaf name= "TEXT" type= "I32" nullable= "1" />
<leaf name= "NPC_ALIAS" type= "I32" />
<leaf name= "NPC_ALIAS" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
<!-- Targets -->
<!-- Targets -->
<branch name= "TARGET" count= "8" atom= "1" >
<branch name= "TARGET" count= "8" atom= "1" >
<leaf name= "TITLE" type= "I32" />
<leaf name= "TITLE" type= "I32" nullable= "1" />
<leaf name= "X" type= "I32" />
<leaf name= "X" type= "I32" nullable= "1" />
<leaf name= "Y" type= "I32" />
<leaf name= "Y" type= "I32" nullable= "1" />
</branch>
</branch>
<!-- Indicate if the mission is finished (0 - not 1 - success 2 - failed) -->
<!-- Indicate if the mission is finished (0 - not 1 - success 2 - failed) -->
<leaf name= "FINISHED" type= "I2" />
<leaf name= "FINISHED" type= "I2" />
@ -641,7 +645,7 @@
<!-- Historic -->
<!-- Historic -->
<branch name= "HISTO" >
<branch name= "HISTO" >
<branch name= "" count= "30" >
<branch name= "" count= "30" >
<leaf name= "TEXT" type= "I32" />
<leaf name= "TEXT" type= "I32" nullable= "1" />
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
@ -650,7 +654,7 @@
<!-- The index of the phrase in the spell book that is being executed right now -->
<!-- The index of the phrase in the spell book that is being executed right now -->
<leaf name= "PHRASE" type= "I16" />
<leaf name= "PHRASE" type= "I16" />
<!-- If not a phrase in the speel book, give the associated brick sheet id -->
<!-- If not a phrase in the speel book, give the associated brick sheet id -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<!-- When the NEXT_COUNTER reach the one on client, reset -->
<!-- When the NEXT_COUNTER reach the one on client, reset -->
<leaf name= "NEXT_COUNTER" type= "I8" />
<leaf name= "NEXT_COUNTER" type= "I8" />
<!-- When the CYCLE_COUNTER reach the one on client, reset -->
<!-- When the CYCLE_COUNTER reach the one on client, reset -->
@ -665,7 +669,7 @@
<leaf name= "SAP_COST" type= "I16" />
<leaf name= "SAP_COST" type= "I16" />
<leaf name= "STA_COST" type= "I16" />
<leaf name= "STA_COST" type= "I16" />
<!-- Entity name -->
<!-- Entity name -->
<leaf name= "TARGET_NAME" type= "TEXT" />
<leaf name= "TARGET_NAME" type= "TEXT" nullable= "1" />
<!-- Entity State -->
<!-- Entity State -->
<leaf name= "TARGET_HP" type= "I7" />
<leaf name= "TARGET_HP" type= "I7" />
<leaf name= "TARGET_SAP" type= "I7" />
<leaf name= "TARGET_SAP" type= "I7" />
@ -712,13 +716,13 @@
<branch name= "MEMBERS" >
<branch name= "MEMBERS" >
<!-- Guild Members -->
<!-- Guild Members -->
<branch name= "" count= "256" >
<branch name= "" count= "256" >
<leaf name= "NAME" type= "TEXT" />
<leaf name= "NAME" type= "TEXT" nullable= "1" />
<!-- player name -->
<!-- player name -->
<leaf name= "GRADE" type= "I3" />
<leaf name= "GRADE" type= "I3" />
<!-- player grade -->
<!-- player grade -->
<leaf name= "ONLINE" type= "I2" cppType= "TCharConnectionState" />
<leaf name= "ONLINE" type= "I2" cppType= "TCharConnectionState" />
<!-- enum TCharConnectionState -->
<!-- enum TCharConnectionState -->
<leaf name= "ENTER_DATE" type= "I32" />
<leaf name= "ENTER_DATE" type= "I32" nullable= "1" />
<!-- tick when player entered the guild -->
<!-- tick when player entered the guild -->
</branch>
</branch>
</branch>
</branch>
@ -810,7 +814,7 @@
<branch name= "SQUAD_SHOP" >
<branch name= "SQUAD_SHOP" >
<!-- list of squad that we can buy -->
<!-- list of squad that we can buy -->
<branch name= "" count= "16" >
<branch name= "" count= "16" >
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
</branch>
</branch>
</branch>
</branch>
<branch name= "SQUADS" >
<branch name= "SQUADS" >
@ -820,11 +824,11 @@
-->
-->
<branch name= "SP" count= "24" >
<branch name= "SP" count= "24" >
<!-- Spawned -->
<!-- Spawned -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
</branch>
</branch>
<branch name= "T" count= "24" >
<branch name= "T" count= "24" >
<!-- Training -->
<!-- Training -->
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
<leaf name= "SPAWN" type= "I4" />
<leaf name= "SPAWN" type= "I4" />
<!-- Index in SQUAD_SPAWN_ZONE list -->
<!-- Index in SQUAD_SPAWN_ZONE list -->
</branch>
</branch>
@ -835,7 +839,7 @@
<branch name= "BUILDINGS" >
<branch name= "BUILDINGS" >
<!-- list of buildings on the outpost -->
<!-- list of buildings on the outpost -->
<branch name= "" count= "4" >
<branch name= "" count= "4" >
<leaf name= "SHEET" type= "I32" cppType="NLMISC::CSheetId" />
<leaf name= "SHEET" type= "I32" nullable="1" cppType="NLMISC::CSheetId" />
</branch>
</branch>
</branch>
</branch>
</branch>
</branch>
@ -984,7 +988,7 @@
<!-- X uint32 << 32 | Y uint32 -->
<!-- X uint32 << 32 | Y uint32 -->
<leaf name= "HUNGER" type= "I5" />
<leaf name= "HUNGER" type= "I5" />
<leaf name= "DESPAWN" type= "I7" />
<leaf name= "DESPAWN" type= "I7" />
<leaf name= "NAME" type= "I32" is_true="1" />
<leaf name= "NAME" type= "I32" nullable="1" is_true="1" />
</branch>
</branch>
</branch>
</branch>
<branch name= "DEBUG_INFO" bank= "PLR" >
<branch name= "DEBUG_INFO" bank= "PLR" >
@ -1056,9 +1060,9 @@
<!-- DynChat channels -->
<!-- DynChat channels -->
<branch name= "DYN_CHAT" bank= "PLR" >
<branch name= "DYN_CHAT" bank= "PLR" >
<branch name= "CHANNEL" count= "8" atom= "1" >
<branch name= "CHANNEL" count= "8" atom= "1" >
<leaf name= "NAME" type= "I32" />
<leaf name= "NAME" type= "I32" nullable= "1" />
<!-- channel not available if anme is 0 -->
<!-- channel not available if anme is 0 -->
<leaf name= "ID" type= "I64" />
<leaf name= "ID" type= "I64" nullable= "1" />
<!-- unique ID of channel (eid) -->
<!-- unique ID of channel (eid) -->
<leaf name= "WRITE_RIGHT" type= "I1" />
<leaf name= "WRITE_RIGHT" type= "I1" />
</branch>
</branch>