PDA

View Full Version : Savage Worlds Updates for March 18, 2025



Mike Serfass
March 17th, 2025, 21:13
Savage Worlds Updates for March 18, 2025

CreatorManager
Two new functions have been added to help create settings.

addCoreSkill
Adds a core skill. This skill will be automatically added to all new characters on character creation.
Parameters

sName - the unique name of the skill.
sRecord - the reference path to the skill
sTrait - the trait die the skill is set to at character creation

Examples

CreatorManager.addCoreSkill("Electronics", "reference.skills.athletics@SWADE Player Guide", "d4")

CreatorManager.addCoreSkill("Language Universal", "reference.skills.language_universal@Quar Dai Player", "d8")

removeCoreSkill
Removes a core skill using the unique name (key value). This skill will not be automatically added during character creation.
Parameters

sName - the unique name of the skill.

Example

CreatorManager.removeCoreSkill("Athletics")

CreatorManager.removeCoreSkill("Common Knowledge")

addCurrency
Adds a currency. This currency displays in the inventory tab on player character sheets and on the party sheet.
Parameters

sName - the unique name of the currency
nWeight - the weight of the currency
nValue - the relative value of the currency (one of them should have a value 1 as the baseline)


Examples

CreatorManager.addCurrency("GP", 0.02, 1)
CreatorManager.addCurrency("Credit", 0, 1)


removeCurrency
Removes a currency using the unique name (key value).
Parameters

sName - the unique name of the currency

Example

CreatorManager.removeCurrency("$")


Calls these functions in the onInit function of your extension's startup script.
Note that there are comments in the code, which you'll see if you open the ruleset code. I add comments to everything I add to CreatorManager, and I'm adding comments to other code files as I go.

Lonewolf
March 18th, 2025, 12:03
Yes no more json in LUA. Now all we need is now to kill off xml templates for DerivedStatManager and the days of mixing code may be over.

Mike Serfass
March 18th, 2025, 19:26
Three more functions added today. See the first post.
One of my goals in less json for content creators, and less working with tables directly. They confuse newcomers at first.