quest, convo, mob, and spawn fixes

This commit is contained in:
EpicValor
2023-10-14 19:57:58 -05:00
parent 25b518454d
commit 9c4d6c7eb2
140 changed files with 28623 additions and 11985 deletions

View File

@@ -15,11 +15,11 @@ void main()
object oPC=GetEnteringObject();
object oIntensity=GetNearestObjectByTag("FB1_INTENSITY",oPC);
object oArea=GetArea(oPC);
int nIntensity=3;
int nIntensity=0;
if (oIntensity!=OBJECT_INVALID)
nIntensity=StringToInt(GetName(oIntensity));
SetLocalInt(oPC,"FB1_Intensity",nIntensity);
if (nIntensity<1) nIntensity=1;
if (nIntensity<1) nIntensity=0;
if(GetIsDM(oPC)) return;
@@ -45,7 +45,7 @@ void fnHeatEffects(object oPC,object oArea)
nTotalIntensity=GetLocalInt(oPC,"FB1_Intensity");
oItem=GetItemInSlot(INVENTORY_SLOT_CHEST,oPC);
sTag=GetTag(oItem);
if (GetIsNight()==TRUE) nTotalIntensity=nTotalIntensity+10;
if (GetIsNight()==TRUE) nTotalIntensity=nTotalIntensity+0;
if (GetWeather(oArea)==WEATHER_SNOW) nTotalIntensity=nTotalIntensity-3;
if (GetWeather(oArea)==WEATHER_RAIN) nTotalIntensity=nTotalIntensity+3;
if (oItem!=OBJECT_INVALID)
@@ -57,7 +57,7 @@ void fnHeatEffects(object oPC,object oArea)
} // check clothing
else
{ // no clothes
nTotalIntensity=nTotalIntensity+20;
nTotalIntensity=nTotalIntensity+0;
} // no clothes
oItem=GetItemInSlot(INVENTORY_SLOT_CLOAK,oPC);
sTag=GetTag(oItem);