Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-09-21 21:20:34 -04:00
parent d3f23f8b3c
commit 94990edc60
5734 changed files with 6324648 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/*
Ok this is HerMyT's handy dandy persistent chest storage code
its pathetically simple and even I should be able to get it to
work properly (especially as I coded it) so hopefully it works
for all you people out there, this script retrieves the objects
from storage in the campaign database, hopefully your campaign
database is named for your module because thats what this uses,
it stores the variable name for the object as the name of the
container plus an integer value representing the number of items
in the container, so this script which retrieves those items
takes advantage of that, now hopefully using the oItem check for
invalid items will work nicely.
*/
#include "her_persist_inc"
void main()
{
if (GetLocalInt(OBJECT_SELF, "initialized") == 1)
{
//SpeakString("Initialized already");
return;
}
InitContainer(OBJECT_SELF);
}