Update for NWN:EE 37-14

Update for NWN:EE 37-14.  Updated NWNxEE.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-21 07:45:16 -05:00
parent 9bbad998cd
commit 09e58d82a4
240 changed files with 25040 additions and 1117 deletions

20
_module/nss/nwnx_ruby.nss Normal file
View File

@@ -0,0 +1,20 @@
/// @addtogroup ruby Ruby
/// @brief Allows users to execute arbitrary Ruby from the game.
/// @{
/// @file nwnx_ruby.nss
const string NWNX_Ruby = "NWNX_Ruby"; ///< @private
string NWNX_Ruby_Evaluate(string sCode);
/// @brief Evaluates some ruby code.
/// @param sCode The code to evaluate.
/// @return The output of the call.
string NWNX_Ruby_Evaluate(string sCode)
{
NWNXPushString(sCode);
NWNXCall(NWNX_Ruby, "Evaluate");
return NWNXPopString();
}
/// @}