Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include "x4_inc_functions"
void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oCloak = GetItemInSlot(INVENTORY_SLOT_CLOAK, oPC);
// Have us fake-cast Invisibility.
ActionCastFakeSpellAtObject(SPELL_INVISIBILITY, oPC);
object oNew = CopyItemAndModify(oCloak, ITEM_APPR_TYPE_SIMPLE_MODEL, 0, 99, TRUE);
if (oNew != OBJECT_INVALID) DestroyObject(oCloak);
EquipItem(oPC, oNew);
}