FG Spreadshirt Swag
Page 2 of 2 First 12
  1. #11
    Open up leperchan5/strings/strings_common.xml and add the following line right before common_mundane

    <string name="common_leperchan5">Leperchan5</string>


    In charsheet/charsheet_inventory.xml, add the following before notes_button section:

    <button_inventorytab name="leperchan5_button">
    <labelres>common_leperchan5</labelres>
    </button_inventorytab>


    Further down, after notes_sub, add the following:

    <subwindow_inventory name="leperchan5_sub">
    <class>inventoryleperchan5_subwindow</class>
    </subwindow_inventory>


    We'll be finishing up here very shortly.


    Dave
    No signature needed, please leave parcel on the porch.

  2. #12
    Finally, in charsheet/charsheet_inventory_leperchan5.xml:

    Replace inventorynotes_subwindow with inventoryleperchan5_subwindow

    The whole file should look like this:
    <?xml version="1.0" encoding="iso-8859-1"?>

    <!--
    Please see the license.html file included with this distribution for
    attribution and copyright information.
    -->

    <root>
    <windowclass name="inventoryleperchan5_subwindow">
    <sheetdata>
    <label_char_center>
    <static>Leperchan5 Tab</static>
    </label_char_center>
    <stringfield name="shortnotes">
    <anchored position="over" offset="-20,-9">
    <top offset="42" />
    </anchored>
    <multilinespacing>20</multilinespacing>
    <font>sheettextsw</font>
    <lineoffset default="on">-2</lineoffset>
    </stringfield>
    <scrollbar>
    <anchored to="shortnotes"/>
    <target>shortnotes</target>
    </scrollbar>
    </sheetdata>
    </windowclass>
    </root>


    Save everything. If you're already in Savage Worlds, and have the extension enabled, just type /reload, and you should see the new tab.

    Nothing fancy, just a place for text.


    Dave
    No signature needed, please leave parcel on the porch.

  3. #13
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,383

    Alternative sampler

    Alternatively you could check attached sampler extension. It's highly recommended to utilize merge-rules instead of including codes from SavageWorlds ruleset, this would allow you to evade extensions getting broken when the ruleset is updated, and if something is broken, it's less maintenance work to keep it up.
    Attached Images Attached Images
    Attached Files Attached Files
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

  4. #14
    Sweeeet, thanks Ikael.


    Dave
    No signature needed, please leave parcel on the porch.

  5. #15
    Wow, this will save a lot of time. Thanks everyone!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in