• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

A couple of questions for the Savage Worlds editor

CapedCrusader

Well-known member
How do I add another Edge Type?
I can't see anywhere here to add another Edge Type, and I've tried going through the various to find where the current ones are defined with no luck.

Also...

How do I add a +2 to a specific Knowledge skill?
I've tried quite a few code constructs, but I can't quite get it to work.

I can spin through a foreach and find the Knowledge skill I want, but it won't let me use the loop variable in the modification statement. Am I even close?

foreach pick in hero where "thingid.skKnow"
if (compare(lowercase(eachpick.field[domDomain].text),"arcana") = 0) then
perform #traitprof[eachpick,+,2,"Old Family"]
~hero.childfound[eachpick].field[trtNoStack].modify[+,2,"Old Family"]
endif
nexteach
 
OK, I got the answer to the second question... still looking for the answer to the first one.

foreach pick in hero where "thingid.skKnow"
if (compare(lowercase(eachpick.field[domDomain].text),"arcana") = 0) then
perform eachpick.field[trtRoll].modify[+,2,"Old Family"]
endif
nexteach
 
Glad you got the second question figured out! I just answered the first question in the separate thread were you first posted it.
 
Have you seen the possible bug in the purchasing screen I posted in the Savage Worlds forum? I recall you were talking about an update coming out soon...
 
OK, I got the answer to the second question... still looking for the answer to the first one.

foreach pick in hero where "thingid.skKnow"
if (compare(lowercase(eachpick.field[domDomain].text),"arcana") = 0) then
perform eachpick.field[trtRoll].modify[+,2,"Old Family"]
endif
nexteach

Hey Crusader, did you put this under Eval Scripts or Eval Rules?

EDIT: Scratch that question, did it as an Eval Rule and it worked. The bonus doesn't show up if you don't take a the skill though.
 
Last edited:
Back
Top