View Single Post
  #7  
Unread 11-21-2015, 12:43 AM
Mysstie's Avatar
Mysstie Mysstie is offline
A Griffon
 
Join Date: Oct 2008
Server: Oasis
Posts: 168
Default

Yeah the merchant window needs looking at. Here's way Drums is:

Code:
        <DataSource Name="TabSource">
            <Data Name="Buy" text="Buy" />
            <Data Name="Sell" text="Sell" />
            <Data Name="Repair" target="P3" text="Repair" />
            <Data Name="Reforge" target="SomeWidget" text="Reforge" />
            <Data Name="Restore" target="SomeWidget" text="Restore" />
            <Data Name="SpellLottery" text="Spell Transcribing" />
            <Data Name="Buyback" text="Buy Back" />
        </DataSource>
Here's the default with an extra "upgrade" tab:

Code:
        <DataSource Name="TabSource">
            <Data Name="Buy" text=":377c9c4214202474:    Buy   " />
            <Data Name="Sell" text=":377c9c42d93e8912:   Sell   " />
            <Data Name="Repair" target="P3" text=":377c9c427d069a35:   Repair   " />
            <Data Name="Reforge" target="SomeWidget" text=":868e2bebbbc6f7c7:Reforge" />
            <Data Name="Upgrade" target="SomeWidget" text=":868e2beb8724b279:Upgrade" />
            <Data Name="Restore" target="SomeWidget" text=":868e2bebb795e99c:Restore" />
            <Data Name="SpellLottery" text=":377c9c4254025d8d:Spell Transcribing" />
            <Data Name="Buyback" text=":377c9c424e61d892:Buy Back" />
        </DataSource>
I don't know if just changing this bit of code is enough, probably not. I tried it and the Sell window tab comes up empty on some merchants. I'll test the default out with the merchants to see what it should look like.

I changed the line right below the above code to:

Code:
        <TabbedPane ActiveTab="0" DataSource="TabSource" Location="4,6" Name="TabPane" PackLocation="left,top" PackSize="absolute,fixed" ScrollExtent="300,36" Size="300,36" Style="/WindowElements.WindowFrame.data.tab_data.tabbed_pane_style" />
So that the last tab button wouldn't get chopped of at a reforger.
__________________
- Mysstie

Last edited by Mysstie : 11-21-2015 at 01:11 AM.
Reply With Quote