diff --git a/Perl-API.md b/Perl-API.md index d1c8166..567bbf8 100644 --- a/Perl-API.md +++ b/Perl-API.md @@ -1285,7 +1285,7 @@ quest::clear_zone_flag(128);       **Example:** ```perl -quest::repopzone(); +quest::clearspawntimers(); ``` ## collectitems @@ -1518,17 +1518,110 @@ sub EVENT_ENVIRONMENTAL_DAMAGE { } ``` +## delglobal +      **Parameter(s):** + +      key _(string)_ + +      **Usage:** + +      Deletes a quest global. Please consider using [Data Buckets](https://github.com/EQEmu/Server/wiki/Data-Buckets) instead of quest globals. + +      **Example:** + +```perl +quest::delglobal("strongbox"); +``` + +## depop + +      **Parameter(s):** + +      npc_type_id _(int)_ + +      **Usage:** + +      Depops an NPC by npc_type_id, default is 0 (self). + +      **Example:** + +```perl +#:: Depop self +quest::depop(); +``` + +## depop_withtimer + +      **Parameter(s):** + +      npc_type_id _(int)_ + +      **Usage:** + +      Depops an NPC by npc_type_id, default is 0 (self), and restarts the spawn point timer. + +      **Example:** + +```perl +#:: Depop self and restart spawn timer +quest::depop_withtimer(); +``` + +## depopall + +      **Parameter(s):** + +      npc_type_id _(int)_ + +      **Usage:** + +      Depops all NPC entities with npc_type_id in the zone. Default is 0 (self and others like me). + +      **Example:** + +```perl +#:: Depop all 4036 - a_giant_rat +quest::depopall(4036); +``` + +## depopzone + +      **Parameter(s):** + +      start_spawn_status _(bool)_ + +      **Usage:** + +      Depops the zone with the specified parameter. Default is false (don't start spawn timers). + +      **Example:** + +```perl +#:: Depop the zone and don't start the spawn timers +quest::depopzone(); +``` + +## ding + +      **Parameter(s):** + +      None. + +      **Usage:** + +      Plays the beautiful ding sound, the trumpet fanfare for your glorious deeds. Congratulations, winner. You did it. + +      **Example:** + +```perl +#:: Ding! +quest::ding(); +``` (Work in Progress) ```perl -quest::delglobal(string key) -quest::depop(int npc_type_id = 0) -quest::depop_withtimer(int npc_type_id = 0) -quest::depopall(int npc_type_id = 0) -quest::depopzone([bool start_spawn_status = false]) -quest::ding() quest::disable_proximity_say() quest::disable_spawn2(int spawn2_id) quest::disablerecipe(int recipe_id)