- Code: Select all • Expand view
choice
{
text = "Take my money!";
cost
{
item = 168;
amount = 50;
}
displaycost = false;
nomessage = "You don't have any gold!";
nextpage = 2;
closedialog = false;
}
- Code: Select all • Expand view
choice
{
text = "Take my money!";
cost
{
item = 168;
amount = 0;
}
cost
{
item = 168;
amount = 50;
}
displaycost = false;
nomessage = "You don't have any gold!";
nextpage = 3;
closedialog = false;
}
Below is a test wad. Load it up, type "give gold50" at the console, then "changemap map34". Talk to Macil. The first option in his dialogue will give you 50 gold when it should be taking fifty, the second option will take fifty gold from you.
An uncompiled version of the dialogue script is contained in the pk3, in a standard txt format.
