12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
if (GetGold(oPC) < 5)
|
|
{
|
|
SpeakOneLinerConversation("Whoops, don't have that much gold!", oPC);
|
|
return;
|
|
}
|
|
CreateItemOnObject("verdurevinyard", oPC);
|
|
TakeGoldFromCreature(5, oPC, TRUE);
|
|
}
|