2025/09/03 Update
Modified CEP 2DA hak to remove extraneous creatures from palette. Added door closer script to most town doors. Added Amulet of Mighty Fists +1 through +5 to loot table. Fixed names on remainder of creatures. Updated PEPS. Set PEPS to server mode. Set module to server mode. Updated Class Title function in ms_name_inc. Updated dungeon areas to reset, globally & per player. Added "new" weapons to the Blacksmith. Added magical "new" weapons to the treasure tables. Fixed persistent storage.
This commit is contained in:
18
_module/nss/mod_gui.nss
Normal file
18
_module/nss/mod_gui.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "inc_examine"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetLastGuiEventPlayer();
|
||||
int nType = GetLastGuiEventType();
|
||||
object oTarget = GetLastGuiEventObject();
|
||||
int nValue = GetLastGuiEventInteger();
|
||||
|
||||
if (nType == GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN)
|
||||
{
|
||||
if (nValue == GUI_PANEL_EXAMINE_CREATURE || nValue == GUI_PANEL_EXAMINE_ITEM ||
|
||||
nValue == GUI_PANEL_EXAMINE_PLACEABLE || nValue == GUI_PANEL_EXAMINE_DOOR)
|
||||
{
|
||||
Examine_HandleGUIEvents(oPlayer, oTarget, nValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user