Major update
Fixed CCOH, Fixed starting GP, Fixed DMFI languages, Fix cep weapon appearances, Fixed new player start up system. Added PC deleter. Added ACP 4.1. Full compile. Updated release archive.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include "nw_i0_plot"
|
||||
#include "aps_include"
|
||||
|
||||
string GetInk(object oItem);
|
||||
string GetComponent(object oItem);
|
||||
@@ -58,7 +57,7 @@ void main()
|
||||
int iDifficulty;
|
||||
int iRandom;
|
||||
int iSkillGain;
|
||||
int iScribeSkill = GetPersistentInt(oPC,"iScribeSkill","UOACraft");
|
||||
int iScribeSkill = GetCampaignInt("UOACraft","iScribeSkill",oPC);
|
||||
int iScribeChance = iScribeSkill;
|
||||
if (iScribeChance < 350)
|
||||
{
|
||||
@@ -184,7 +183,7 @@ void main()
|
||||
|
||||
if (iDifficulty>iScribeChance)
|
||||
{
|
||||
DelayCommand(1.0,FloatingTextStringOnCreature("You have no idea how to prepare this ink.",oPC,FALSE));
|
||||
DelayCommand(1.0,FloatingTextStringOnCreature("You have no idea how to prepare this ink...",oPC,FALSE));
|
||||
CopyObject(oItem,GetLocation(oSelf),oSelf,GetTag(oItem));
|
||||
DestroyObject(oItem);
|
||||
return;
|
||||
@@ -212,7 +211,7 @@ void main()
|
||||
//Check for components
|
||||
if (CheckComponent(oPC,sComponent1,sComponent2,sComponent3,1,1,1,1,1,2)==0)
|
||||
{
|
||||
DelayCommand(12.0,FloatingTextStringOnCreature("You do not have all of the components required to mix this ink.",oPC,FALSE));
|
||||
DelayCommand(12.0,FloatingTextStringOnCreature("You do not have all of the components required to mix this ink...",oPC,FALSE));
|
||||
//CopyObject(oItem,GetLocation(oSelf),oSelf,sOldTag);
|
||||
CreateItemOnObject(GetResRef(oItem),OBJECT_SELF,1);
|
||||
DestroyObject(oItem);
|
||||
@@ -270,7 +269,7 @@ void main()
|
||||
if (iScribeSkill <= 1000)
|
||||
{
|
||||
//DelayCommand(13.0,SetTokenPair(oPC,13,12,iDyeSkill));
|
||||
DelayCommand(13.0,SetPersistentInt(oPC,"iScribeSkill",iScribeSkill,0,"UOACraft"));
|
||||
DelayCommand(13.0,SetCampaignInt("UOACraft","iScribeSkill",iScribeSkill,oPC));
|
||||
DelayCommand(13.0,SendMessageToPC(oPC,"======================================"));
|
||||
DelayCommand(13.0,SendMessageToPC(oPC,"Your skill in inscription has gone up!"));
|
||||
DelayCommand(13.0,SendMessageToPC(oPC,"Current inscription skill : "+ sOldSkill+"%"));
|
||||
@@ -361,7 +360,7 @@ void main()
|
||||
|
||||
if (CheckComponent(oPC,sComponent1,sComponent2,sComponent3,1,1,1,1,1,2)==0)
|
||||
{
|
||||
DelayCommand(15.0,FloatingTextStringOnCreature("The magic fails to imbue the scroll. You may be missing a vital component.",oPC,FALSE));
|
||||
DelayCommand(15.0,FloatingTextStringOnCreature("The magic fails to imbue the scroll. You may be missing a vital component...",oPC,FALSE));
|
||||
//CopyObject(oItem,GetLocation(oSelf),oSelf,sOldTag);
|
||||
CreateItemOnObject(GetResRef(oItem),OBJECT_SELF,1);
|
||||
DestroyObject(oItem);
|
||||
|
Reference in New Issue
Block a user