Great! I figured it was something along those lines, thanks alot for the detailed explanation. Next up are dialog trees.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function iTGlove1_UseInv()
{
if (cEgo.ActiveInventory == iBattery)
{
if (cEgo.Room == 1)
{
gInventory.Visible = false;
show_yes_no(eYNTGlove1);
}
else
{
gInventory.Visible = false;
Display ("'Note to self, make screwdriver gloves' For now you should go back to your craftbench.");
}
}
}
else if (vP == eYNTGlove1)
{
if (vYon == 1)
{
cEgo.LoseInventory(iTGlove1);
cEgo.LoseInventory(iBattery);
cEgo.AddInventory(iTGlove2);
Display("The glove powers up, your arm starts to tingle.");
gInventory.Visible = true;
}
else
{
gInventory.Visible = true;
}
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.046 seconds with 13 queries.