summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-04-07 20:49:20 +0200
committerGitHub <noreply@github.com>2019-04-07 20:49:20 +0200
commitcc0119f4836cfcafaac0e36532a1d135d8ab5169 (patch)
tree3bea5ac3306a2f95e96fd6e52b565aef9d36ab2f /src/map/script.h
parent831d7cf9c99fbeadb93bdbff03836320543219c4 (diff)
parent7652d647f13ad0755f355ed3d3b6ca1e8ad47d76 (diff)
downloadhercules-cc0119f4836cfcafaac0e36532a1d135d8ab5169.tar.gz
hercules-cc0119f4836cfcafaac0e36532a1d135d8ab5169.tar.bz2
hercules-cc0119f4836cfcafaac0e36532a1d135d8ab5169.tar.xz
hercules-cc0119f4836cfcafaac0e36532a1d135d8ab5169.zip
Merge pull request #2398 from AnnieRuru/69-getpetinfo
Deprecate *petstat and add CONSTANTS to *getpetinfo
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 54c5aad2a..008da9c3c 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -478,6 +478,27 @@ enum script_mercinfo_types {
};
/**
+ * Pet Info types.
+ */
+enum script_petinfo_types {
+ PETINFO_ID = 0,
+ PETINFO_CLASS,
+ PETINFO_NAME,
+ PETINFO_INTIMACY,
+ PETINFO_HUNGRY,
+ PETINFO_RENAME,
+ PETINFO_GID,
+ PETINFO_EGGITEM,
+ PETINFO_FOODITEM,
+ PETINFO_ACCESSORYITEM,
+ PETINFO_ACCESSORYFLAG,
+ PETINFO_EVO_EGGID,
+ PETINFO_AUTOFEED,
+
+ PETINFO_MAX
+};
+
+/**
* Player blocking actions related flags.
*/
enum pcblock_action_flag {