Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
#include "nw_i0_plot"
void main()
{
object oDrunk = GetLastUsedBy();
object oEmptyWine = GetItemPossessedBy(oDrunk, "NW_IT_THNMISC004");
object oEmptySpirits = GetItemPossessedBy(oDrunk, "NW_IT_THNMISC003");
object oEmptyBottle = GetItemPossessedBy(oDrunk, "NW_IT_THNMISC001");
object oEmptyAle = GetItemPossessedBy(oDrunk, "NW_IT_THNMISC002");
if(HasItem(oDrunk, "NW_IT_THNMISC004") == TRUE)
{
DestroyObject (oEmptyWine, 0.0);
CreateItemOnObject("nw_it_mpotion022", oDrunk, 1);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
}
else
{
if(HasItem(oDrunk, "NW_IT_THNMISC003") == TRUE)
{
DestroyObject (oEmptySpirits, 0.0);
CreateItemOnObject("nw_it_mpotion022", oDrunk, 1);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
}
else
{
if(HasItem(oDrunk, "NW_IT_THNMISC002") == TRUE)
{
DestroyObject (oEmptyAle, 0.0);
CreateItemOnObject("nw_it_mpotion022", oDrunk, 1);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
}
else
{
if(HasItem(oDrunk, "NW_IT_THNMISC001") == TRUE)
{
DestroyObject (oEmptyBottle, 0.0);
CreateItemOnObject("nw_it_mpotion022", oDrunk, 1);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
ActionWait(0.5);
PlaySound("it_potion");
}
else
{
PlayVoiceChat(VOICE_CHAT_CUSS, oDrunk);
FloatingTextStringOnCreature("Hmmm...Wish I had an empty bottle of some kind.", oDrunk, FALSE);
}
}
}
}
}