Initial Commit

Initial Commit.
This commit is contained in:
Jaysyn904
2025-09-14 15:40:46 -04:00
parent 7083b33d71
commit 1eefc84201
19230 changed files with 11539227 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Ondeath/Onopen script for containers. Spawns random general
// treasures and spawns items for crafting if player has enough crafting skills.
// Modified from the orginal NWN:SoU version of the script and added with with
// Crafting script for NWN:HotU.
/////////////////////////////////////
#include "x0_i0_treasure"
#include "x2_inc_compon"
void main()
{
craft_drop_placeable();
CTG_CreateTreasure(TREASURE_TYPE_MED, GetLastOpener(), OBJECT_SELF);
if (GetLocalInt(OBJECT_SELF, "nStealing")== 1)
{
AdjustAlignment(GetLastOpener(), ALIGNMENT_CHAOTIC, 1);
}
}