Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2024-10-09 14:17:22 -04:00
parent a13073fd78
commit e51634d39b
2354 changed files with 658510 additions and 0 deletions

19
_module/nss/trn_greet.nss Normal file
View File

@@ -0,0 +1,19 @@
#include "nw_i0_tool"
void main()
{
if (GetLocalInt(OBJECT_SELF,"NW_DO_ONCE") != 0) return;
{
SetLocalInt(OBJECT_SELF,"NW_DO_ONCE",1);
object oPC = GetEnteringObject();
string sGreetString;
if (GetXP(oPC) == 0)
sGreetString = ". As a new character, you should speak to me first.";
else
sGreetString = ".";
AssignCommand(GetObjectByTag("CS1_SETUPHELPER"), SpeakString("Welcome, " + GetName(oPC) + sGreetString));
}
}