Repository navigation
feat(gm-commands): add the /descendancy command - #31
Merged
evrydayjunglist merged 2 commits intoNov 18, 2026
Merged
Conversation
Qblolz
force-pushed
the
feat/descendancy-command
branch
from
November 12, 2026 13:26
f51a069 to
b62daa1
Compare
Wrathen
marked this pull request as draft
November 12, 2026 13:29
The second ascendancy layer's selection moved out of LocalExile's Core/Player/Commands with the rest of the dev commands (#814). Lists and selects a Descendancy.dat row, clears it, opens the client's selector (0x7b kind 0x4c), refunds its nodes, and sets the three Wildwood Azmeri flag groups. Needs LocalExile/LocalExile#786, which makes Game.SelectDescendancy and Game.Descendancies public.
The game path now accepts 0x3a only for the row the server offered in the current area and checks the Wildwood gate and refunded nodes. The dev command keeps its unrestricted selection through Game.SelectDescendancyForDevelopment and opens the selector through Game.OpenDescendancySelector, so it still records the offer the client answers.
Qblolz
force-pushed
the
feat/descendancy-command
branch
from
November 13, 2026 06:35
b62daa1 to
cd809a2
Compare
Qblolz
marked this pull request as ready for review
November 13, 2026 08:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the second ascendancy layer's dev command to the mod, next to
/ascendancy. LocalExile'sCore/Player/Commandslost the dev commands in #814, so the command moved here with them.Command
/descendancy [name|none|open [row|name]|refund <node|all>]Descendancy.datrows and selects one. The row travels in0x33's spare byte and is saved with the character.openasks the Game module to offer a row (S→C0x7bkind0x4c); the Game records the offered row and its area, so the client's0x3aAccept is admitted only for it.noneclears the row; selecting or clearing reloads the area so the client rebuilds the tree.refundreverts one node or all of the layer, charging the five refund points per node.Game.SelectDescendancyForDevelopment, so the mod can switch rows without the game's offer/gate/refund checks.Dependency
LocalExile/LocalExile#786 is merged. The command uses the Game module's public surface
(
Game.SelectDescendancyForDevelopment,Game.OpenDescendancySelector,Game.Descendancies) as it stands in LocalExilemain(8329dad7when this was rebased).Validation
LocalExile-Modsmain(3fea683); themod.jsonversion conflict resolved as1.5.0forLocalExile
0.5.2-beta(main was at1.4.0).cd809a2.gm-commandsbuilds against LocalExilemain: 0 warnings, 0 errors.