[#modding] There's no simple way to override the Back/Next behavior in embark modules, beca...

Issue #5248 invalid
Freehold Games Bot Account created an issue

Marked for crossposting by: exsanguination microtubules

Message (jump):

<exsanguination microtubules> There's no simple way to override the Back/Next behavior in embark modules, because it is handled by the Overlay. AbstractEmbarkBuilderModule defines a virtual onBack but nothing ever calls that, so overriding it in my module has no effect. There is nothing in the window to override either. This makes it difficult to design a multi-windowed module with any conditional logic involved in navigating different option screens.

Comments (3)

  1. Corey Frang

    General idea here would the screens would shouldBeEnabled() themselves on and off and just be organized in the right order in the windows array. Is this not enough? Also specifically for navigating forward, DataErrors() and DataWarnings() will now exist per window and do the appropriate popup/warnings

  2. Log in to comment