summaryrefslogtreecommitdiff
path: root/doc/constants.md
diff options
context:
space:
mode:
authorHercules.ws <dev@herc.ws>2019-04-07 20:51:43 +0200
committerHerculesWSAPI <dev@herc.ws>2019-04-07 20:51:43 +0200
commitdd83aabd6f4d95183371e98689c3456e0456fef7 (patch)
treeffa668914e444d84034208cccccb873a292ea238 /doc/constants.md
parentcc0119f4836cfcafaac0e36532a1d135d8ab5169 (diff)
downloadhercules-dd83aabd6f4d95183371e98689c3456e0456fef7.tar.gz
hercules-dd83aabd6f4d95183371e98689c3456e0456fef7.tar.bz2
hercules-dd83aabd6f4d95183371e98689c3456e0456fef7.tar.xz
hercules-dd83aabd6f4d95183371e98689c3456e0456fef7.zip
Constants Documentation Sync
Signed-off-by: HerculesWSAPI <dev@herc.ws>
Diffstat (limited to 'doc/constants.md')
-rw-r--r--doc/constants.md28
1 files changed, 22 insertions, 6 deletions
diff --git a/doc/constants.md b/doc/constants.md
index 9225ce924..83d248493 100644
--- a/doc/constants.md
+++ b/doc/constants.md
@@ -1407,13 +1407,13 @@
- `e_panic`: 79
- `e_whisp`: 80
-### petstat
+### petstat - deprecated, use *getpetinfo
-- `PET_CLASS`: 1
-- `PET_NAME`: 2
-- `PET_LEVEL`: 3
-- `PET_HUNGRY`: 4
-- `PET_INTIMATE`: 5
+- `PET_CLASS`: 1 **(DEPRECATED)**
+- `PET_NAME`: 2 **(DEPRECATED)**
+- `PET_LEVEL`: 3 **(DEPRECATED)**
+- `PET_HUNGRY`: 4 **(DEPRECATED)**
+- `PET_INTIMATE`: 5 **(DEPRECATED)**
### getmonsterinfo
@@ -4294,6 +4294,22 @@
- `MERCINFO_LEVEL`: 7
- `MERCINFO_GID`: 8
+### getpetinfo options
+
+- `PETINFO_ID`: 0
+- `PETINFO_CLASS`: 1
+- `PETINFO_NAME`: 2
+- `PETINFO_INTIMACY`: 3
+- `PETINFO_HUNGRY`: 4
+- `PETINFO_RENAME`: 5
+- `PETINFO_GID`: 6
+- `PETINFO_EGGITEM`: 7
+- `PETINFO_FOODITEM`: 8
+- `PETINFO_ACCESSORYITEM`: 9
+- `PETINFO_ACCESSORYFLAG`: 10
+- `PETINFO_EVO_EGGID`: 11
+- `PETINFO_AUTOFEED`: 12
+
### monster skill states
- `MSS_ANY`: -1