diff options
author | Carlos Henrique <carloshlfzanon@gmail.com> | 2018-09-20 16:08:47 -0300 |
---|---|---|
committer | Carlos Henrique <carloshlfzanon@gmail.com> | 2018-12-04 16:32:11 -0200 |
commit | 582336dff2bffba506891a54ecd9360e4fbdd65c (patch) | |
tree | 298a860fa285a1bc1d430322373b8b776de5fa2a /doc | |
parent | 41d370cd3308be48b4ce00a50ee46515742978b0 (diff) | |
download | hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.gz hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.bz2 hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.xz hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.zip |
Added mapflags 'nostorage' and 'nogstorage'
nostorage 1 -- blocks only @storage
nostorage 2 -- blocks only openstorage();
nostorage 3 -- blocks @storage and openstorage()
nogstorage 1 -- blocks only @gstorage
nogstorage 2 -- blocks only guildopenstorage();
nogstorage 3 -- blocks @gstorage and guildopenstorage()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/constants.md | 2 | ||||
-rw-r--r-- | doc/permissions.md | 1 | ||||
-rw-r--r-- | doc/script_commands.txt | 9 |
3 files changed, 12 insertions, 0 deletions
diff --git a/doc/constants.md b/doc/constants.md index 276881a43..cca12c59a 100644 --- a/doc/constants.md +++ b/doc/constants.md @@ -362,6 +362,8 @@ - `mf_noviewid`: 56 - `mf_pairship_startable`: 57 - `mf_pairship_endable`: 58 +- `mf_nostorage`: 59 +- `mf_nogstorage`: 60 ### Cell Properties diff --git a/doc/permissions.md b/doc/permissions.md index 7d29b59fd..a8794ecae 100644 --- a/doc/permissions.md +++ b/doc/permissions.md @@ -48,4 +48,5 @@ disable_pickup | Ability to disable the player from picking up any i disable_exp | Ability to disable the player from gaining any experience point. disable_store | Ability to disable the player from using/openning npc and player stores. disable_skill_usage | Ability to disable the player from using any skill. +bypass_nostorage | Ability to bypass the nostorage and nogstorage mapflag. diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 90d4d77cc..4d2517efa 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5693,6 +5693,10 @@ storage window, to avoid any disruption when both windows overlap. openstorage(); end; +The mapflag 'nostorage' when set to type '2' (or 3), will not open the +account storage. Unless the character group has the permission 'bypass_nostorage'. +In case blocked by mapflag, returns 0. + --------------------------------------- *openmail() @@ -5754,6 +5758,10 @@ time. This will also fail and return 2 if the attached character does not belong to any guild. +The mapflag 'nogstorage' when set to type '2' (or 3), will not open the +guild storage. Unless the character group has the permission 'bypass_nostorage'. +In case blocked by mapflag, returns 1. + --------------------------------------- *guildchangegm(<guild id>, <new master's name>) @@ -8160,6 +8168,7 @@ Valid <permission> are: PERM_DISABLE_STORE PERM_DISABLE_EXP PERM_DISABLE_SKILL_USAGE + PERM_BYPASS_NOSTORAGE Example: |