Areas and Fixes

Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
This commit is contained in:
2024-08-30 11:38:44 -04:00
parent 8622e5ce08
commit 69879d6957
17234 changed files with 4253346 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
//::///////////////////////////////////////////////
//:: Temps persistant
//:: Par Zyzko
//:://////////////////////////////////////////////
// A mettre sur le On Module Load
// Paste it on your module load event
void main()
{
object oMod=GetModule();
int nHour, nDay, nMonth, nYear;
if(GetCampaignInt("Dates","TIMEYEAR",oMod))
{
nHour=GetCampaignInt("Dates","TIMEHOUR",oMod);
nDay=GetCampaignInt("Dates","TIMEDAY",oMod);
nMonth=GetCampaignInt("Dates","TIMEMONTH",oMod);
nYear=GetCampaignInt("Dates","TIMEYEAR",oMod);
SetLocalInt(oMod,"HourStart", nHour);
SetLocalInt(oMod,"DayStart", nDay);
SetLocalInt(oMod,"MonthStart", nMonth);
SetLocalInt(oMod,"YearStart", nYear);
SetCalendar(nYear, nMonth, nDay);
SetTime(nHour, 0, 0, 0);
}
else
{
SetLocalInt(oMod,"HourStart", GetTimeHour());
SetLocalInt(oMod,"DayStart", GetCalendarDay());
SetLocalInt(oMod,"MonthStart", GetCalendarMonth());
SetLocalInt(oMod,"YearStart", GetCalendarYear());
}
}