-
January 18th, 2018, 21:04 #11
- Join Date
- Apr 2012
- Location
- Prosper, TX
- Posts
- 727
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.
DaveNo signature needed, please leave parcel on the porch.
-
January 18th, 2018, 21:10 #12
- Join Date
- Apr 2012
- Location
- Prosper, TX
- Posts
- 727
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.
DaveNo signature needed, please leave parcel on the porch.
-
January 18th, 2018, 22:10 #13
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.
"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!
-
January 18th, 2018, 22:20 #14
- Join Date
- Apr 2012
- Location
- Prosper, TX
- Posts
- 727
Sweeeet, thanks Ikael.
DaveNo signature needed, please leave parcel on the porch.
-
January 18th, 2018, 22:21 #15
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks