Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds

Notices

Reply
 
Thread Tools Display Modes
SeeleyOne
Senior Member
 
Join Date: Nov 2009
Posts: 891

Old September 29th, 2016, 03:33 PM
Sometimes as a user needs to be able to change the weight of an object. For example there are enchanted items that weight less than normal. The easiest fix for this that I came up with was to create an "edge" as follows:

Uniqueness: No
Description: This is used to customize the weight of any equipment that is on the character. This is not really an Edge, and the cost is zero, but Edges allow a user to enter an integer as well as pick from a dropdown list.

Advancement Slots: 0
Omit from Print-outs (checked, unless you have cheater players)
Require Domain Specification (checked)
Domain Term: Weight
Menu #2 Source: All Picks on Hero
Menu #2 Tag Expression: component.Gear & !Equipment.Natural & !Print.NoPrint

Eval Script
Phase: Initialization
Priority: 2101
Code:
var input as string
var weight as number
input = this.field[domDomain].text
weight = input

foreach pick in hero where "component.Gear"
   if (eachpick.uniqindex = field[usrChosen2].chosen.uniqindex) then
      eachpick.field[gearWeight].value = weight
      eachpick.field[gearNet].value = weight
   endif
nexteach

Evil wins because good rolls poorly .... or the players are not paying enough attention to the game.
SeeleyOne is offline   #1 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old September 29th, 2016, 04:57 PM
Dang, that's just something I'd been dealing with fairly recently. I think I'm going to have use that in my local HouseRules file. Thanks a ton!

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
Official (In the downloader)
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me)
zarlor is offline   #2 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,549

Old September 30th, 2016, 02:49 PM
I usually just create a copy in the editor and change the weight on the copy.

_
Currently In Development: Savage Pathfinder
Future Development: SWADE Super Powers Companion, SWADE Fantasy Companion
_
Currently Running: Savage Unity Inc. (homebrew multiverse theme)
Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane
Future Setting Files: Savage Judge Dredd
CapedCrusader is offline   #3 Reply With Quote
SeeleyOne
Senior Member
 
Join Date: Nov 2009
Posts: 891

Old September 30th, 2016, 03:36 PM
But that requires you to make an actual version of the object in your data set. I came up with the above so that my gaming group can fix some things without having to go to the editor. I don't like putting single-use things (i.e. party-specific) things into the editor. Editing the weight is not an option on items.

Evil wins because good rolls poorly .... or the players are not paying enough attention to the game.
SeeleyOne is offline   #4 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:06 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.