Changed folder name.
Changed folder name.
This commit is contained in:
15
_module/nss/dm_forg_ondist.nss
Normal file
15
_module/nss/dm_forg_ondist.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "dm_forge_config"
|
||||
void main()
|
||||
{
|
||||
object oItem = GetLastDisturbed();
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if(!PLOT_UNFORGEABLE) return;
|
||||
|
||||
if(GetPlotFlag(oItem))
|
||||
{
|
||||
CopyItem(oItem,oPC,TRUE);
|
||||
DestroyObject(oItem,0.5);
|
||||
SendMessageToPC(oPC,"You cannot forge that item");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user