Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds

Notices

Reply
 
Thread Tools Display Modes
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 235

Old April 29th, 2017, 07:29 AM
So I have the Edge - Fallen Noble. It has 3 options. One of the options modifies starting wealth.

Parts of the Edge are:
Code:
<fieldval field="usrCandid1" value="component.Simple &amp; User.Advant"/>
<tag group="ChooseSrc1" tag="Thing"/>
<eval index="2" phase="PreTraits" priority="5500"><![CDATA[
if (field[usrChosen1].ischosen >= 1) then
herofield[acCashMult].value += 2
endif]]>
<before name="Calc trtFinal"/>
</eval>
Works perfectly find from the following 3 choices:
Code:
  <thing id="siBBBagGo" name="Bag of Gold" compset="Simple">
    <usesource source="Beasts"/>
    <tag group="User" tag="Advant"/>
    </thing>
  <thing id="siBBFollo" name="Follower" compset="Simple">
    <usesource source="Beasts"/>
    <tag group="User" tag="Advant"/>
    </thing>
  <thing id="siBBHeirl" name="Heirloom" compset="Simple">
    <usesource source="Beasts"/>
    <tag group="User" tag="Advant"/>
    </thing>
What it does NOT do is actually change the starting cash. I don't get erros, just no modification. So, is this actually possible and I just need to adjust timing or some code?

Or is this the infamous...make 3 different Edges, sigh.

Cheers,
Gumbytie
Gumbytie is offline   #1 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old April 29th, 2017, 04:12 PM
My first thought would be timing. How does PreTraits 5500 compare to what something like a Rich Edge uses? I don't have HL handy to check.

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)
zarlor is offline   #2 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old April 29th, 2017, 08:39 PM
Rich is Setup 5000.
Paragon is offline   #3 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old April 30th, 2017, 03:28 AM
I'd bet that's the problem. Pre-Traits is probably going to be way too late for apply a multiplier to starting cash, but it might also be way too early to apply the other option depending on what those do. That may take some playing around to see if you can get away with one Edge to do it instead of having to break it into 3.

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)
zarlor is offline   #4 Reply With Quote
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 235

Old May 2nd, 2017, 01:15 PM
Getting closer, timing was the problem for one portion:

Code:
    <eval index="2" phase="Setup" priority="5000"><![CDATA[
	if (field[usrChosen1].ischosen = 1) then
      herofield[acCashMult].value += 2
	  endif
	  ]]>
      <before name="Calc trtFinal"/>
      </eval>
So now the trick, if possible, I want that to occur only when they select the option:

Code:
  <thing id="siBBBagGo" name="Bag of Gold" compset="Simple">
    <usesource source="Beasts"/>
    <tag group="User" tag="Advant"/>
    </thing>
That is the first choice in the selection. Right now, just selecting the Edge now gives the Cash multiplier bonus.
Gumbytie is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:00 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.