Senior Member
Join Date: Feb 2010
Posts: 874
|
Currently I've got the Racial Ability for Simians bootstrap a version of Illiterate (with some mechanisms to let you remove it later). Unfortunately its still giving them a Reward point for that. I'm sure there's a way to include some code not to do that, but I can't find an example of how (or even what value is used for Rewards).
Anyone want to enlighten me? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,569
|
You'll want to alter the resHinder number. That's the total being displayed there. Example:
Code:
if (field[abilActive].value <> 0) then #resmax[resHinder] -= 2 endif _ 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 |
#2 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Hey Paragon, you actually have a post about exactly this (although CC encases it in the newly required activation code here) in the Common Code thread! Even crediting CC with giving you the code in the first place.
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) |
#3 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
I think I poorly explained what I needed here; I already knew how to change the number of permitted Hindrances--because I used it in that very bootstrapped Hindrance, having as you noted, got an answer from CC in the past for it.
The problem is, though, its still yielding a Reward point. I need it to not do that, and I don't know what the id for a Reward point is, or if there's any quirks about subtracting one. |
#4 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
I found this thread, about halfway down Myridden uses the following to do an offset of a known value:
Code:
~ Fix the hindrance and reward point numbers. hero.child[resHinder].field[resMax].value -= 1 herofield[acMaxMinor].value += 1 herofield[acMaxHindP].value += 1 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) |
#5 |
Senior Member
Join Date: Nov 2009
Posts: 891
|
Where is it being bootstrapped? That is, what is being added that has the bootstrap code? Is it put directly in the race? Or is it a Racial Ability or Racial Property? I cannot recall ever seeing a case where it counts as a Hindrance (and gives reward points) when it is put inside a Racial Property, which is what I usually use.
Evil wins because good rolls poorly .... or the players are not paying enough attention to the game. |
#6 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Quote:
|
|
#7 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Quote:
Last edited by Paragon; April 3rd, 2017 at 06:26 PM. |
|
#8 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Well, I tried this as an eval-script at Pre-Traits 5000, but it doesn't seem to work; I'm still getting a Reward point for the Hindrance. I'd guess I have the positioning wrong.
Code:
hero.child[resHinder].field[resMax].value += 1 herofield[acMaxMinor].value += 1 herofield[acMaxHindP].value -= 1 Last edited by Paragon; April 4th, 2017 at 07:21 AM. |
#9 |
Senior Member
Join Date: Feb 2010
Posts: 874
|
Nope. Moving around the phase doesn't seem to do anything. I must be doing something fundamentally wrong here, or I can't put this on the Hindrance itself.
|
#10 |
|
|