diff options
author | Haru <haru@dotalux.com> | 2019-06-02 23:52:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 23:52:44 +0200 |
commit | eb0faf2b3ecc294d8247ce9afb81198730d516d2 (patch) | |
tree | 15964fe4890d8fab7f1baa39d4344c05a9b698b0 /doc | |
parent | bfc31c33f7311c2a647ada10eaf88190be18a2c5 (diff) | |
parent | 582336dff2bffba506891a54ecd9360e4fbdd65c (diff) | |
download | hercules-eb0faf2b3ecc294d8247ce9afb81198730d516d2.tar.gz hercules-eb0faf2b3ecc294d8247ce9afb81198730d516d2.tar.bz2 hercules-eb0faf2b3ecc294d8247ce9afb81198730d516d2.tar.xz hercules-eb0faf2b3ecc294d8247ce9afb81198730d516d2.zip |
Merge pull request #2221 from carloshenrq/nostorage
Mapflag nostorage and nogstorage
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 7101d6297..70bed4de6 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 251ce563f..a08d8a71c 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5803,6 +5803,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() @@ -5864,6 +5868,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>) @@ -8332,6 +8340,7 @@ Valid <permission> are: PERM_DISABLE_STORE PERM_DISABLE_EXP PERM_DISABLE_SKILL_USAGE + PERM_BYPASS_NOSTORAGE Example: |