Module commit
Module commit.
This commit is contained in:
12
_module/nss/store_saygold.nss
Normal file
12
_module/nss/store_saygold.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
string svarname=GetName(oPC)+GetPCPublicCDKey(oPC);
|
||||
int GoldPG=GetCampaignInt("Bank_ORO",svarname,oPC);
|
||||
string desinenza;
|
||||
if(GoldPG==1)
|
||||
desinenza="a";
|
||||
else
|
||||
desinenza="";
|
||||
AssignCommand(OBJECT_SELF,SpeakString("You have "+IntToString(GoldPG)+ "gold"+desinenza+" pieces."));
|
||||
}
|
Reference in New Issue
Block a user