generated from Jaysyn/ModuleTemplate
19 lines
706 B
Plaintext
19 lines
706 B
Plaintext
#include "habd_include"
|
|
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_pc_emote")))
|
|
CreateItemOnObject("dmfi_pc_emote", oPC);
|
|
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_pc_dicebag")))
|
|
CreateItemOnObject("dmfi_pc_dicebag", oPC);
|
|
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_pc_follow")))
|
|
CreateItemOnObject("dmfi_pc_follow", oPC);
|
|
int nDM=GetIsDM(oPC);
|
|
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_exploder")) &&
|
|
nDM ==TRUE)
|
|
CreateItemOnObject("dmfi_exploder", oPC);
|
|
HABDGetDBOnClientEnter(GetEnteringObject());
|
|
DelayCommand(6.0, HABDItemsOnClientEnter(GetEnteringObject()));
|
|
|
|
}
|