Custom Edge/Broken Earth problem
I'm not sure what the problem is here, but something I've got in the Broken Earth file isn't working quite right.
There is a racial "ability" for Simians called "Less Educated" which blocks access to some skills, bootstraps Illiterate and such. I have an Edge called "Educated Simian" which is supposed to be going back and deleting that ability. When taking it the Illiterate is going away, but the Less Educated "ability" is still showing, and its still blocking the skills. This is the Edge: Code:
<thing id="edgEducSim" name="Educated Simian" description="A Simian with this Edge is not Illiterate nor limited in the skills they may take." compset="Edge" summary="An educated Simian"> Code:
thing id="rpLessEdu" name="Less Educated" description="Simian communities are superstitious of €œmodern€ or €œfuturistic€ technology, and traditionally don€™t teach technology to their young. Simians begin with the Illiterate Hindrance, and cannot take the following skills at the time of character creation: Driving, Lockpicking, Knowledge (Computers, Electronics, Science, and the like), Piloting, Repair. Simians, can buy this off with two character creation points, or as an Advance." compset="RacialProp" summary="Technology averse"> |
What’s the timing on the tag used to block the skills?
Also, do you really need the doneif statement on the Educated Simian? |
Quote:
Quote:
|
Don't use Replace.
Never use Replace. Did I mention not to use Replace? It replaces it everywhere, not just in the current Setting. It's not meant to be used in Setting files. Use Precludes. |
Sorry, I used "replace" in the non term-of-art way; I do use Preclude. What I meant was that I have custom versions of the relevant skills that do a pick-req for rpLessEdu.
|
So, that said, anyone got any ideas? I'd have thought "Initialize" would be early enough, but was I wrong?
|
Well, one thing I find confusing is the containerreq on the racial property checking for a tag that is applied by the racial property. You might want to use !hero#User.EducSim instead.
The doneif is for Edges that can be turned on and off by external means. You likely don't need it for this. As far as the Skills still being blocked, you are using a pickreq on the rpLessEdu. Simply removing the tag won't stop this from happening. Try using a Expr-req that checks for the User.LessEdu tag being there instead. (hero.tagis[User.LessEdu] = 0) |
Ah. I'll see what I can do with that, and while I'm at it, I'll remove the doneif. I'd assumed that bit of code was removing the rpLessEdu entirely, which I'm guessing from your response is not the case. I usually don't default to expr-reqs because as I indicated, I'm not always as clear on the syntax, so I only go there when there's no nother way.
|
Well, that was pretty painless; it didn't like the parentheses, but other than that it was simple. Thanks CC.
|
All times are GMT -8. The time now is 04:53 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.