Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#include "pws_nodropunique"
void main()
{
//
// DMs are allowed to drop ANY item (including no-drop)
//
object oPC = GetModuleItemLostBy();
if (GetIsObjectValid(oPC) == TRUE) {
if (GetIsDM(oPC)) return;
//
// DMs are allowed to take ANY item (including no-drop)
//
object oItemLost = GetModuleItemLost();
object oItemPossessor = GetItemPossessor(oItemLost);
if (GetIsDM(oItemPossessor)) return;
//
// Non-DMs
//
CheckForNoDrop();
}
}