diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-09 22:06:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-09 22:06:55 -0300 |
commit | f3dff45a7d82b8a17ebc8ac6c5cd283ec1af2c9b (patch) | |
tree | 15a006355c7a0aabd13f719fecf3e729705ab59f | |
parent | 685bf57aeaaad175a689f766714936a9edc65aec (diff) | |
download | serverdata-f3dff45a7d82b8a17ebc8ac6c5cd283ec1af2c9b.tar.gz serverdata-f3dff45a7d82b8a17ebc8ac6c5cd283ec1af2c9b.tar.bz2 serverdata-f3dff45a7d82b8a17ebc8ac6c5cd283ec1af2c9b.tar.xz serverdata-f3dff45a7d82b8a17ebc8ac6c5cd283ec1af2c9b.zip |
Track Katze state so she doesn't seem to "vanish" out of thin air.
-rw-r--r-- | npc/010-4-1/katze.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/010-4-1/katze.txt b/npc/010-4-1/katze.txt index f7ee65e87..9c04aea05 100644 --- a/npc/010-4-1/katze.txt +++ b/npc/010-4-1/katze.txt @@ -108,15 +108,18 @@ L_CatEars: // At some times, she goes to rob the bank... No, just kidding, but she has errands OnClock1945: + .here = false; disablenpc .name$; end; OnClock2015: enablenpc .name$; + .here = true; end; OnInit: .distance=5; .sex = G_OTHER; + .here = true; OnLoadMobilia: if ($KATZE_DONATION >= 5000) @@ -177,6 +180,11 @@ OnLoadMobilia: .@q3 = getq3(CaveQuest_Katze); // Quest not started if (!.@q) end; + // Katze outside the cave + if (!getvariableofnpc(.here, "Katze")) { + npctalk3 l("Katze is not here currently. I'll need to wait she to come back."); + end; + } // Daily limit reset if (.@q3 != gettimeparam(GETTIME_DAYOFMONTH)) setq CaveQuest_Katze, .@q, 0, gettimeparam(GETTIME_DAYOFMONTH); |