2026/01/14 Late update

Updated PEPS.
Tweaked geomorph code to prevent broken transitions.
East/west & north/south are now randomized & tacked separately.
Dungeon will reset areas when empty & no more options are available.
Fixed issue with spell effect NUI.
Full compile.
This commit is contained in:
Jaysyn904
2026-01-14 23:49:30 -05:00
parent 7598075698
commit 7207aba580
26 changed files with 540 additions and 111 deletions

View File

@@ -1,4 +1,6 @@
#include "inc_examine"
#include "nw_inc_nui"
#include "prc_nui_consts"
void main()
{
@@ -6,9 +8,17 @@ void main()
int nType = GetLastGuiEventType();
object oTarget = GetLastGuiEventObject();
int nValue = GetLastGuiEventInteger();
ExecuteScript("prc_onplayergui", oPlayer);
if (nType == GUIEVENT_EFFECTICON_CLICK)
{
int windowId = NuiFindWindow(oPlayer, DURATION_NUI_WINDOW_ID);
if (!windowId)
{
SetScriptParam(NUI_DURATION_MANUALLY_OPENED_PARAM, "1");
ExecuteScript("prc_nui_dur_view", oPlayer);
}
}
if (nType == GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN)
{
if (nValue == GUI_PANEL_EXAMINE_CREATURE || nValue == GUI_PANEL_EXAMINE_ITEM ||