View Single Post
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old March 16th, 2010, 06:10 PM
Disabling Standard Gear

The core rulebook includes a wide assortment of standard gear (including weapons, armor, and vehicles). This gear spans multiple time periods and is merely representative. For some Savage Settings, a completely new assortment of gear is employed that wholly replaces the standard gear in the core rulebook. Replacing all that gear, one item at a time, is very annoying. So we've included a way to conveniently omit all the standard gear.

This is achieved by assigning the "Hero.NoStdGear" tag to the hero. As long as this tag is assigned at the start of evaluation, all standard gear will automatically disappear. You can then define all the custom gear for the setting and have it appear instead of the standard gear.

This technique can be employed entirely through the integrated Editor. Start by defining a new Mechanics thing and assigning it a dependency on the new source for the setting. This Mechanics thing will automatically be added to every new hero created.

Within the thing, add an Eval script with a timing *earlier* than Initialize/2000. This script then assigns the necessary tag to the hero. The XML for the Eval script would look something like below.
Code:
<eval index="1" phase="Initialize" priority="1000"><![CDATA[
    perform hero.assign[Hero.NoStdGear]
    ]]></eval>
Once the above Mechanics thing is in place, reload the game system. Make sure the source is enabled that the new thing depends upon. Then go to the Armory or Gear tab and try to add a piece of equipment. All of the standard gear is omitted from the various lists. You can now start adding your own custom gear for the setting without having to worry about the standard gear getting in the way.
rob is offline   #3 Reply With Quote