Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2024-11-25 19:36:07 -05:00
parent 256ffe12f7
commit 04165202c0
10228 changed files with 10443677 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
// random house - glass blower
int StartingConditional()
{
object oPC=GetPCSpeaker();
object oMe=OBJECT_SELF;
int nGold=GetGold(oPC);
int nParm=GetLocalInt(oPC,"nParm");
string sRes="";
int nCost=0;
object oShoes;
if (nParm==1) { nCost=1; sRes="dh2_ewbot"; }
else { nCost=5000; sRes="x0_it_mthnmisc11"; }
if (nGold<nCost) return FALSE;
AssignCommand(oMe,TakeGoldFromCreature(nCost,oPC));
oShoes=CreateItemOnObject(sRes,oPC);
SetIdentified(oShoes,TRUE);
return TRUE;
}