Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

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

@@ -0,0 +1,19 @@
//--CHAIR SIT: onUse (placeables)
//-- i got sick of sitting facing the wrong way
//-- so, this does a move to location first
//-- and works more or less most of the time.
//-- (doesnt work well with invis objs on tile benches)
//-- bloosong
void main()
{
object oChair = OBJECT_SELF;
if(!GetIsObjectValid(GetSittingCreature(oChair)))
{
AssignCommand (GetLastUsedBy(), ActionMoveToLocation(GetLocation(oChair)));
AssignCommand(GetLastUsedBy(), ActionSit(oChair));
}
}