added things
added a crafting tool merchant, added a training hall (not quite working yet) fixed crafting issues, exchanged the small cave area
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//#include "_persist_01a"
|
||||
#include "aps_include"
|
||||
|
||||
void CreateAnObject(string sResource, object oPC, int iStackSize);
|
||||
void SpinNextItemPossessedBy(object oSelf, object oPC, string sItemTag);
|
||||
@@ -92,7 +91,7 @@ void main()
|
||||
|
||||
|
||||
//int iSpindleSkill = GetTokenPair(oPC,13,10);
|
||||
int iSpindleSkill = GetPersistentInt(oPC,"iSpindleSkill","UOACraft");
|
||||
int iSpindleSkill = GetCampaignInt("UOACraft","iSpindleSkill",oPC);
|
||||
int iSpindleChance = iSpindleSkill;
|
||||
int iSuccess = 0;
|
||||
int iSuccess2 = 0;
|
||||
@@ -215,7 +214,7 @@ void main()
|
||||
if (iSpindleSkill <= 1000)
|
||||
{
|
||||
//DelayCommand(10.0,SetTokenPair(oPC,13,10,iSpindleSkill));
|
||||
DelayCommand(10.0,SetPersistentInt(oPC,"iSpindleSkill",iSpindleSkill,0,"UOACraft"));
|
||||
DelayCommand(10.0,SetCampaignInt("UOACraft","iSpindleSkill",iSpindleSkill,oPC));
|
||||
DelayCommand(10.0,SendMessageToPC(oPC,"==================================="));
|
||||
DelayCommand(10.0,SendMessageToPC(oPC,"Your skill in spindling has gone up!"));
|
||||
DelayCommand(10.0,SendMessageToPC(oPC,"Current spindling skill : "+ sOldSkill+"%"));
|
||||
@@ -270,7 +269,7 @@ void SpinNextItemPossessedBy(object oSelf, object oPC, string sItemTag)
|
||||
|
||||
|
||||
//int iSpindleSkill = GetTokenPair(oPC,13,10);
|
||||
int iSpindleSkill = GetPersistentInt(oPC,"iSpindleSkill","UOACraft");
|
||||
int iSpindleSkill = GetCampaignInt("UOACraft","iSpindleSkill",oPC);
|
||||
int iSpindleChance = iSpindleSkill;
|
||||
int iSuccess = 0;
|
||||
int iSuccess2 = 0;
|
||||
@@ -393,7 +392,7 @@ void SpinNextItemPossessedBy(object oSelf, object oPC, string sItemTag)
|
||||
if (iSpindleSkill <= 1000)
|
||||
{
|
||||
//DelayCommand(10.0,SetTokenPair(oPC,13,10,iSpindleSkill));
|
||||
DelayCommand(10.0,SetPersistentInt(oPC,"iSpindleSkill",iSpindleSkill,0,"UOACraft"));
|
||||
DelayCommand(10.0,SetCampaignInt("UOACraft","iSpindleSkill",iSpindleSkill,oPC));
|
||||
DelayCommand(10.0,SendMessageToPC(oPC,"==================================="));
|
||||
DelayCommand(10.0,SendMessageToPC(oPC,"Your skill in spindling has gone up!"));
|
||||
DelayCommand(10.0,SendMessageToPC(oPC,"Current spindling skill : "+ sOldSkill+"%"));
|
||||
|
Reference in New Issue
Block a user