Re: Verdant Class Pack: v2 Released!
Posted: Sat May 19, 2018 7:47 pm
Few odd things I've noticed with the mod now that I'm back to playing.
Eating the Temporal Wyrm Heart gives you Chronomancy/Blink Drake regardless of class. It should probably only do that if you're playing a Wyrmic.
Blink Drake is listed as Chronomancy but isn't in any way.
Blood Drake doesn't act like Corruption at all either.
Given that Scourge Drake and Undead Drake do use Insanity and Souls respectively that doesn't feel right.
Also it looks like you were trying to make Wild Drake, Blood Drake and Blink Drake unlock from birth if you've already gotten them but couldn't get the carryover logic working from what I'm seeing of the Blink Drake and Wild Drake acquisition code (yeah, I went code diving after seeing a Writhing One get Blink Drake).
Anyway nekoarcos figured out multiple ways to do that in Odyssey Of The Summoner.
I'm still trying to parse what he did to make doing certain things enable custom class avatars that then enable alt-modes for classes at birth if selected, but there's a very simple setup he's using to make things from one playthrough modify an event in later ones:
event that sets condition
game:setAllowedBuild("<Whatever>", false)
conditional to see if the event has fired in any playthrough
if profile.mod.allow_build["<Whatever>"] then
It's similar to the standard unlock method used in the base game: Only difference is using false instead of true in the setAllowedBuild and calling a check in gameplay instead of having the birther do it.
Ah, what the heck, I'll do a dummy test in a few minutes and see if it works the way I think it does.
Edit: Yeah, it works the way I think it does.
The false "just" suppresses notification messages.
putting
game:setAllowedBuild(<unlock tag x>, false)
in each of the three talent unlock sequences and changing
getBirthDescriptor("subclass", "Wyrmic").unlockable_talents_types[<unlock x>]={false, 0.3}
to
getBirthDescriptor("subclass", "Wyrmic").unlockable_talents_types[<unlock x>]={false, 0.3, <unlock tag x>}
will almost certainly work and definitely won't crash anything.
Can't say it works with 100% certainty because I can't test the transfer without uploading the modified version of Verdant I used to make sure it doesn't crash anything and that wouldn't be kosher.
Eating the Temporal Wyrm Heart gives you Chronomancy/Blink Drake regardless of class. It should probably only do that if you're playing a Wyrmic.
Blink Drake is listed as Chronomancy but isn't in any way.
Blood Drake doesn't act like Corruption at all either.
Given that Scourge Drake and Undead Drake do use Insanity and Souls respectively that doesn't feel right.
Also it looks like you were trying to make Wild Drake, Blood Drake and Blink Drake unlock from birth if you've already gotten them but couldn't get the carryover logic working from what I'm seeing of the Blink Drake and Wild Drake acquisition code (yeah, I went code diving after seeing a Writhing One get Blink Drake).
Anyway nekoarcos figured out multiple ways to do that in Odyssey Of The Summoner.
I'm still trying to parse what he did to make doing certain things enable custom class avatars that then enable alt-modes for classes at birth if selected, but there's a very simple setup he's using to make things from one playthrough modify an event in later ones:
event that sets condition
game:setAllowedBuild("<Whatever>", false)
conditional to see if the event has fired in any playthrough
if profile.mod.allow_build["<Whatever>"] then
It's similar to the standard unlock method used in the base game: Only difference is using false instead of true in the setAllowedBuild and calling a check in gameplay instead of having the birther do it.
Ah, what the heck, I'll do a dummy test in a few minutes and see if it works the way I think it does.
Edit: Yeah, it works the way I think it does.
The false "just" suppresses notification messages.
putting
game:setAllowedBuild(<unlock tag x>, false)
in each of the three talent unlock sequences and changing
getBirthDescriptor("subclass", "Wyrmic").unlockable_talents_types[<unlock x>]={false, 0.3}
to
getBirthDescriptor("subclass", "Wyrmic").unlockable_talents_types[<unlock x>]={false, 0.3, <unlock tag x>}
will almost certainly work and definitely won't crash anything.
Can't say it works with 100% certainty because I can't test the transfer without uploading the modified version of Verdant I used to make sure it doesn't crash anything and that wouldn't be kosher.