Senior Member
Join Date: Nov 2009
Posts: 891
|
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. |
#1 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
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) |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,549
|
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 |
#3 |
Senior Member
Join Date: Nov 2009
Posts: 891
|
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. |
#4 |
Thread Tools | |
Display Modes | |
|
|