Convert item type editing dialogs
This commit is contained in:
53
rsrc/dialogs/edit-item-abils.xml
Normal file
53
rsrc/dialogs/edit-item-abils.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
||||
<!--<!DOCTYPE dialog SYSTEM "dialog.dtd">-->
|
||||
<dialog skin='light' defbtn='okay' debug='true'>
|
||||
<field name='str' top='88' left='183' width='77' height='16'/>
|
||||
<button name='okay' type='regular' top='266' left='471'>OK</button>
|
||||
<button name='cancel' type='regular' top='266' left='405' def-key='esc'>Cancel</button>
|
||||
<!--
|
||||
NOTE: All these LEDs have been shifted 100 pixels left to account for the labels swapping sides
|
||||
-->
|
||||
<group name='use-type'>
|
||||
<led name='use0' state='off' top='143' left='164' width='100'>Help using PC</led>
|
||||
<led name='use1' state='off' top='158' left='164' width='100'>Harm using PC</led>
|
||||
<led name='use2' state='off' top='173' left='164' width='100'>Help whole party</led>
|
||||
<led name='use3' state='off' top='188' left='164' width='100'>Harm whole party</led>
|
||||
</group>
|
||||
<led name='always-id' state='off' top='144' left='415' width='100'>Always identified</led>
|
||||
<led name='magic' state='off' top='159' left='415' width='100'>Magical</led>
|
||||
<led name='cursed' state='off' top='174' left='415' width='100'>Cursed</led>
|
||||
<led name='conceal' state='off' top='189' left='415' width='100'>Conceal ability</led>
|
||||
<pict type='dlog' num='16' top='8' left='11'/>
|
||||
<text size='large' top='6' left='50' width='158' height='16'>Edit Item Abilities</text>
|
||||
<text top='8' left='222' width='111' height='14'>Item number:</text>
|
||||
<text name='num' top='8' left='340' width='37' height='14'/>
|
||||
<button name='weapon' type='large' top='58' left='333'>Weapon Abil.</button>
|
||||
<text size='large' top='63' left='8' width='142' height='13'>Item special ability:</text>
|
||||
<text name='abilname' framed='true' top='63' left='161' width='163' height='13'/>
|
||||
<text top='17' left='486' width='45' height='14'/>
|
||||
<text top='84' left='8' width='168' height='27'>Ability strength: (Usually 0-10, see instructions)</text>
|
||||
<text top='140' left='8' width='135' height='13'>Item use properties</text>
|
||||
<text top='156' left='21' width='123' height='39'>Only used for item abilities which are used (like healing).</text>
|
||||
<text top='140' left='292' width='121' height='13'>Other properties:</text>
|
||||
<text top='209' left='10' width='155' height='42'>Item treasure class: (0 is lowest level of treasure, 4 is highest)</text>
|
||||
<!--
|
||||
NOTE: All these LEDs have been shifted 100 pixels left to account for the labels swapping sides
|
||||
-->
|
||||
<group name='treasure'>
|
||||
<led name='type0' state='off' top='213' left='208' width='140'>Type 0: Junk, Not left</led>
|
||||
<led name='type1' state='off' top='228' left='208' width='140'>Type 1: Lousy, 1 - 20 gp</led>
|
||||
<led name='type2' state='off' top='243' left='208' width='140'>Type 2: So-so, 20-200 gp</led>
|
||||
<led name='type3' state='off' top='258' left='208' width='140'>Type 2: Good, 200+ gp</led>
|
||||
<led name='type4' state='off' top='273' left='208' width='140'>Type 4: Greate, 2500+ gp</led>
|
||||
</group>
|
||||
<text top='25' left='50' width='145' height='14'>Current item name:</text>
|
||||
<text name='name' top='25' left='198' width='196' height='14'/>
|
||||
<text top='41' left='50' width='145' height='14'>Current item variety:</text>
|
||||
<text name='variety' top='41' left='198' width='196' height='14'/>
|
||||
<button name='general' type='large' top='57' left='441'>General Abil.</button>
|
||||
<button name='usable' type='large' top='83' left='333'>NonSpell Use</button>
|
||||
<button name='missile' type='large' top='107' left='441'>Missiles</button>
|
||||
<button name='reagent' type='large' top='108' left='333'>Reagents</button>
|
||||
<button name='spell' type='large' top='82' left='441'>Spell Usable</button>
|
||||
</dialog>
|
90
rsrc/dialogs/edit-item.xml
Normal file
90
rsrc/dialogs/edit-item.xml
Normal file
@@ -0,0 +1,90 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
||||
<!--<!DOCTYPE dialog SYSTEM "dialog.dtd">-->
|
||||
<dialog skin='light' defbtn='okay' debug='true'>
|
||||
<field name='full' top='30' left='163' width='126' height='16'/>
|
||||
<field name="short" top='30' left='458' width='125' height='16'/>
|
||||
<field name='picnum' top='62' left='140' width='52' height='16'/>
|
||||
<field name='level' top='199' left='161' width='52' height='16'/>
|
||||
<field name='awkward' top='223' left='161' width='52' height='16'/>
|
||||
<field name='bonus' top='247' left='161' width='52' height='16'/>
|
||||
<field name='prot' top='271' left='161' width='52' height='16'/>
|
||||
<field name='charges' top='295' left='161' width='52' height='16'/>
|
||||
<field name='flag' top='199' left='366' width='52' height='16'/>
|
||||
<field name='value' top='223' left='366' width='52' height='16'/>
|
||||
<field name='weight' top='247' left='366' width='52' height='16'/>
|
||||
<field name='class' top='271' left='366' width='52' height='16'/>
|
||||
<button name='okay' type='regular' top='337' left='509'>OK</button>
|
||||
<button name='cancel' type='regular' top='337' left='434' def-key='esc'>Cancel</button>
|
||||
<button name='prev' type='left' top='337' left='13'/>
|
||||
<button name='next' type='right' top='337' left='76'/>
|
||||
<!--
|
||||
NOTE: All these LEDs have been shifted 100 pixels left to account for the labels swapping sides
|
||||
-->
|
||||
<group name='variety'>
|
||||
<led name='none' state='off' top='89' left='106' width='90'>No Item</led>
|
||||
<led name='weap1' state='off' top='104' left='106' width='90'>1-Handed weapon</led>
|
||||
<led name='weap2' state='off' top='119' left='106' width='90'>2-Handed weapon</led>
|
||||
<led name='gold' state='off' top='134' left='106' width='90'>Gold</led>
|
||||
<led name='bow' state='off' top='149' left='106' width='90'>Bow</led>
|
||||
<led name='arrow' state='off' top='164' left='106' width='90'>Arrows</led>
|
||||
<led name='thrown' state='off' top='179' left='106' width='90'>Thrown missile</led>
|
||||
<led name='potion' state='off' top='89' left='218' width='90'>Potion/Magic Item</led>
|
||||
<led name='scroll' state='off' top='104' left='218' width='90'>Scroll/Magic Item</led>
|
||||
<led name='wand' state='off' top='119' left='218' width='90'>Wand</led>
|
||||
<led name='tool' state='off' top='134' left='218' width='90'>Tool</led>
|
||||
<led name='food' state='off' top='149' left='218' width='90'>Food</led>
|
||||
<led name='shield' state='off' top='164' left='218' width='90'>Shield</led>
|
||||
<led name='armor' state='off' top='179' left='218' width='90'>Armor</led>
|
||||
<led name='helm' state='off' top='89' left='336' width='90'>Helm</led>
|
||||
<led name='gloves' state='off' top='104' left='336' width='90'>Gloves</led>
|
||||
<!--
|
||||
TODO: Why are there two shields?
|
||||
-->
|
||||
<led name='shield2' state='off' top='119' left='336' width='90'>Shield</led>
|
||||
<led name='boots' state='off' top='134' left='336' width='90'>Boots</led>
|
||||
<led name='ring' state='off' top='149' left='336' width='90'>Ring</led>
|
||||
<led name='necklace' state='off' top='164' left='336' width='90'>Necklace</led>
|
||||
<led name='poison' state='off' top='179' left='336' width='90'>Weapon Poison</led>
|
||||
<led name='nonuse' state='off' top='89' left='448' width='90'>Non-Use Object</led>
|
||||
<led name='pants' state='off' top='104' left='448' width='90'>Pants</led>
|
||||
<led name='xbow' state='off' top='119' left='448' width='90'>Crossbow</led>
|
||||
<led name='bolt' state='off' top='134' left='448' width='90'>Bolts</led>
|
||||
<led name='missile' state='off' top='149' left='448' width='90'>Missile (no ammo)</led>
|
||||
<led name='unused1' state='off' top='164' left='448' width='90'>Unused</led>
|
||||
<led name='unused2' state='off' top='179' left='448' width='80'>Unused</led>
|
||||
</group>
|
||||
<!--
|
||||
NOTE: These LEDs have been shifted 80 pixels left to account for the labels swapping sides
|
||||
-->
|
||||
<group name='melee-type'>
|
||||
<led name='edge' state='off' top='233' left='442' width='80'>Edged</led>
|
||||
<led name='bash' state='off' top='248' left='442' width='80'>Bashing</led>
|
||||
<led name='pole' state='off' top='263' left='442' width='80'>Pole</led>
|
||||
</group>
|
||||
<pict name="pic" type='dlog' num='16' top='8' left='11'/>
|
||||
<text size='large' top='6' left='50' width='158' height='16'>Edit an Item Type</text>
|
||||
<text top='8' left='222' width='111' height='14'>Item number:</text>
|
||||
<text name='num' top='8' left='340' width='37' height='14'/>
|
||||
<text top='31' left='50' width='107' height='14'>Item Full Name:</text>
|
||||
<text top='31' left='298' width='155' height='14'>Item Unidentified Name:</text>
|
||||
<text top='63' left='8' width='120' height='14'>Item picture:</text>
|
||||
<button name="choosepic" type='large' top='58' left='201'>Select Icon</button>
|
||||
<text size='large' top='87' left='8' width='86' height='16'>Item type:</text>
|
||||
<text top='200' left='8' width='148' height='14'>Item level: (0 - 50)</text>
|
||||
<text top='224' left='8' width='148' height='14'>Awkwardness: (0-20)</text>
|
||||
<text top='248' left='8' width='148' height='14'>Bonus: (0-10)</text>
|
||||
<text top='272' left='8' width='148' height='14'>Protection: (-10 - 20)</text>
|
||||
<text top='296' left='8' width='148' height='14'>Charges: (0-100)</text>
|
||||
<text top='200' left='220' width='137' height='13'>Type flag: (0-1000)</text>
|
||||
<text top='224' left='220' width='141' height='13'>Value: (0-10000)</text>
|
||||
<text top='248' left='220' width='141' height='13'>Weight: (0-250)</text>
|
||||
<text top='272' left='220' width='141' height='13'>Special class: (0-100)</text>
|
||||
<text top='200' left='425' width='161' height='28'>Weapon type: (ignored if not a weapon)</text>
|
||||
<text top='293' left='221' width='363' height='40'>
|
||||
Enter properties for this item type.
|
||||
For a detailed description of the fields, see the documentation.
|
||||
Click Edit Abilities to edit item abilities.
|
||||
</text>
|
||||
<button name="abils" type='large' top='337' left='155'>Abilities</button>
|
||||
</dialog>
|
@@ -8,7 +8,7 @@
|
||||
<field name='loot-item' top='246' left='194' width='64' height='16'/>
|
||||
<field name='loot-chance' top='247' left='464' width='64' height='16'/>
|
||||
<button name='okay' type='regular' top='325' left='572'>OK</button>
|
||||
<button name='cancel' type='regular' top='325' left='506'>Cancel</button>
|
||||
<button name='cancel' type='regular' top='325' left='506' def-key='esc'>Cancel</button>
|
||||
<!--
|
||||
TODO: Originally these LED labels would've been bold, I think
|
||||
Note: These LEDs were shifted left 100 pixels to account for the labels swapping sides
|
||||
|
Reference in New Issue
Block a user