View Single Post
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old March 16th, 2017, 06:46 PM
OK, for future reference you could do an evalrule on the Race record. Set it for PreTraits 5000 and try this:

Code:
      var bad as number
      @message &= "Skill not allowed: "
      foreach pick in Hero where "component.Skill"
        if (compare(eachpick.idstring,"skDriving") = 0) then
          bad += 1
          @message &= "Driving "
        elseif (compare(eachpick.idstring,"skLockPick") = 0) then
          bad += 1
          @message &= "Lockpicking "
        elseif (compare(eachpick.idstring,"skPiloting") = 0) then
          bad += 1
          @message &= "Piloting "
        elseif (compare(eachpick.idstring,"skRepair") = 0) then
          bad += 1
          @message &= "Repair "
          endif
        nexteach

      validif (bad = 0)
      if (ispanel <> 0) then
        linkvalid = 0
        endif
It still allows them to choose the Skill, but it'll throw an error and turn the race record red until the error is cleared. You could do the same for Edges.

_
Currently In Development: Savage Pathfinder, SWADE Fantasy Companion
Future Development: SWADE Super Powers Companion, SWADE Sci-Fi 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   #23 Reply With Quote