Initial commit

Initial commit.
This commit is contained in:
Jaysyn904
2024-08-02 23:18:00 -04:00
parent 779bee26ec
commit adeff59f82
3413 changed files with 2837434 additions and 0 deletions

17
_module/nss/food.nss Normal file
View File

@@ -0,0 +1,17 @@
void main()
{
object oPC = GetItemActivator();
string sName = GetName(GetItemActivated());
int iHungry = GetLocalInt(oPC,"ate");
if (iHungry <= 1)
{
SetLocalInt(oPC,"ate",1);
FloatingTextStringOnCreature("You eat the "+ sName +" and are full.",oPC,TRUE);
}
else if (iHungry == 1)
{
FloatingTextStringOnCreature("You aren't hungry, but you eat the "+ sName +" anyway.",oPC,TRUE);
}
}