Added Skullkeep's dynamic loot generation system

Added Skullkeep's PRC8 compatible dynamic loot generation system.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-11-08 18:54:51 -05:00
parent 2cb81ae698
commit 0dbb628b75
211 changed files with 40616 additions and 800 deletions

View File

@@ -0,0 +1,16 @@
void main()
{
object oPC = GetLastUsedBy();
// Play crouch animation only if PC just opened the corpse inventory GUI
// EXCEPTION: If the PC opens the corpse inventory, then quickly presses
// the "I" key (to open the PC inventory), a BioWare software bug will
// trick the software into permanently thinking the corpse inventory is
// open (even though the GUI can be opened and closed normally). This will
// cause the animation to play when corpse is opened or closed (a minor
// bug).
if (GetIsOpen(OBJECT_SELF))
{
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0f, 1.2f));
}
}