Strife Conversation Help

Resolved Issues and Help get archived here for reference.
Post Reply
User avatar
Powergloveninja
New User
Posts: 16
Joined: Thu Jun 14, 2012 2:53 am

Strife Conversation Help

#1

Post by Powergloveninja » Mon Mar 17, 2014 11:05 am

I have this problem with this Strife conversation. The shopkeeper says what he is supposed to and it takes the money from the inventory however it will never give the player the item. Tried it with Zdoom and it has the same problem. It has to be a problem with the script.
[spoiler]conversation
{
actor = 1; //Shopkeeper

page
{
name = "Shopkeeper";
dialog = "Hello, what can I do for you?";
choice
{
text = "A drink";
cost
{
item = 4; //Money
amount = 1;
}
displaycost = true;
yesmessage = "Purchased a Drink";
nomessage = "No money, no buisness.";
giveitem = 3; //Small Drink
nextpage = 1;
}
}
}[/spoiler]

Everything works and will even say "Purchased a drink" but you won't get the item.

[spoiler]actor SmallDrink : HealthPickup 11000
{
ConversationID 3
Health 25
Inventory.Amount 5
Inventory.PickupMessage "You found a Small Drink!"
Inventory.PickupSound "misc/p_pkup"
+FLOATBOB
+NOGRAVITY
+INVBAR
states
{
Spawn:
HLTH A -1
stop
}
}[/spoiler]

EDIT: I'm pretty sure I posted in the wrong forum. Sorry about that.
Last edited by Powergloveninja on Mon Mar 17, 2014 11:22 am, edited 1 time in total.

Post Reply