Skip to content

Commit

Permalink
Merge pull request #390 from omnidecker/master
Browse files Browse the repository at this point in the history
Update holiday22.zon
  • Loading branch information
Seifert69 authored Dec 13, 2024
2 parents ac578af + 47afd1f commit 2c90e29
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vme/zone/holiday22.zon
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ external
xmas_initialize();
var
xmas_quests : stringlist global xmas_done@holiday22;
npc : unitptr;
m : integer;
mday : integer;
code
Expand Down Expand Up @@ -1073,6 +1074,16 @@ code
}

zonereset(findzone(self.zone));
//added to make Norma (Mrs Santa) auto spawn on Christmas
mday := getinteger(DIL_GINT_REALDAY, self, 0);
if (mday > 24){
if(not(findsymbolic("norma@holiday22")))
{
npc:=load("norma@holiday22");
log(npc.name+" was loaded by "+self.name+" and placed in market@udgaard.");
link(npc,findsymbolic("market@udgaard"));
}
}
wait(SFB_TICK, TRUE);
goto xmas;
}
Expand Down

0 comments on commit 2c90e29

Please sign in to comment.