Fixed DMFI wands

Fixed DMFI wands. Full Compile.  Updated release archive.
This commit is contained in:
Jaysyn904 2024-10-01 20:15:02 -04:00
parent fc81dc7725
commit 000a8bd935
12 changed files with 16 additions and 14 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.mod *.mod
*.BackupMod

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,6 +3,7 @@
void main() void main()
{ {
EnableDyeKitMenu(); EnableDyeKitMenu();
ExecuteScript("dmfi_activate", OBJECT_SELF);
ExecuteScript(GetTag(GetItemActivated()),OBJECT_SELF); ExecuteScript(GetTag(GetItemActivated()),OBJECT_SELF);
object oItem = GetItemActivated(); object oItem = GetItemActivated();
object oActivator = GetItemActivator(); object oActivator = GetItemActivator();

View File

@ -163,20 +163,20 @@ void main()
} }
//:: Give DMFI Wands if player doesn't have them //:: Give DMFI Wands if player doesn't have them
if ( GetItemPossessedBy(oPC, "dmfi_dicebag") == OBJECT_INVALID ) if ( GetItemPossessedBy(oPC, "dmfi_pc_dicebag") == OBJECT_INVALID )
{ {
DelayCommand(1.0, FloatingTextStringOnCreature("DMFI Dicebag acquired.", oPC)); DelayCommand(1.0, FloatingTextStringOnCreature("DMFI PC Dicebag acquired.", oPC));
GiveDMFI(oPC, "dmfi_dicebag"); GiveDMFI(oPC, "dmfi_pc_dicebag");
} }
if ( GetItemPossessedBy(oPC, "dmfi_emote") == OBJECT_INVALID ) if ( GetItemPossessedBy(oPC, "dmfi_pc_emote") == OBJECT_INVALID )
{ {
DelayCommand(1.0, FloatingTextStringOnCreature("DMFI Emote Wand acquired.", oPC)); DelayCommand(1.0, FloatingTextStringOnCreature("DMFI PC Emote Wand acquired.", oPC));
GiveDMFI(oPC, "dmfi_emote"); GiveDMFI(oPC, "dmfi_pc_emote");
} }
if ( GetItemPossessedBy(oPC, "dmfi_naming") == OBJECT_INVALID ) if ( GetItemPossessedBy(oPC, "dmfi_pc_follow") == OBJECT_INVALID )
{ {
DelayCommand(1.0, FloatingTextStringOnCreature("DMFI Naming acquired.", oPC)); DelayCommand(1.0, FloatingTextStringOnCreature("DMFI PC Autofollow Wand acquired.", oPC));
GiveDMFI(oPC, "dmfi_naming"); GiveDMFI(oPC, "dmfi_pc_follow");
} }
//Test to see if PC has a skill book.. if not, then create one. //Test to see if PC has a skill book.. if not, then create one.

View File

@ -46,11 +46,11 @@ int nStartingGear = TRUE; // Give new player starting gear TRUE or FALSE?
// If TRUE add ResRef between the quotes below(not tag), // If TRUE add ResRef between the quotes below(not tag),
// plus stack size,if applicable. // plus stack size,if applicable.
// eg. string sResRef = "potion"; int nStack = 6; // eg. string sResRef = "potion"; int nStack = 6;
string sResRef = "dmfi_dicebag"; int nStack = 1; string sResRef = "nw_it_mpotion001"; int nStack = 10;
string sResRef1 = "dmfi_emote"; int nStack1 = 1; string sResRef1 = ""; int nStack1 = 1;
string sResRef2 = "dmfi_naming"; int nStack2 = 1; string sResRef2 = ""; int nStack2 = 1;
string sResRef3 = "nw_it_mpotion001"; int nStack3 = 10; string sResRef3 = ""; int nStack3 = 1;
string sResRef4 = ""; int nStack4 = 1; string sResRef4 = ""; int nStack4 = 1;
/************************************************************************************/ /************************************************************************************/
/************************** END OF SETTINGS **********************************/ /************************** END OF SETTINGS **********************************/

Binary file not shown.