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