summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2019-10-29 14:25:10 +0100
committerAsheraf <acheraf1998@gmail.com>2019-10-30 12:11:14 +0100
commit5a02643ceb1d8b866d5b683e312397084894a673 (patch)
tree20c09feed89bc2ae502026ee941da1e00ba4af1d /db
parent857650c4f58d347455b0d075b49a53f69e6d0c51 (diff)
downloadhercules-5a02643ceb1d8b866d5b683e312397084894a673.tar.gz
hercules-5a02643ceb1d8b866d5b683e312397084894a673.tar.bz2
hercules-5a02643ceb1d8b866d5b683e312397084894a673.tar.xz
hercules-5a02643ceb1d8b866d5b683e312397084894a673.zip
Add support for overriding default view data in mob database
Diffstat (limited to 'db')
-rw-r--r--db/pre-re/mob_db.conf15
-rw-r--r--db/re/mob_db.conf15
2 files changed, 30 insertions, 0 deletions
diff --git a/db/pre-re/mob_db.conf b/db/pre-re/mob_db.conf
index 565167e95..70edd12e9 100644
--- a/db/pre-re/mob_db.conf
+++ b/db/pre-re/mob_db.conf
@@ -94,6 +94,21 @@ mob_db: (
// ...
}
DamageTakenRate: damage taken rate (int, defaults to 100)
+ ViewData: {
+ SpriteId: sprite id (int, defaults to Id)
+ WeaponId: weapon id (int, defaults to 0)
+ ShieldId: shield id (int, defaults to 0)
+ RobeId: garment id (int, defaults to 0)
+ HeadTopId: top headgear id (int, defaults to 0)
+ HeadMidId: middle headgear id (int, defaults to 0)
+ HeadLowId: lower headgear id (int, defaults to 0)
+ HairStyleId: hair style id (int, defaults to 0)
+ BodyStyleId: clothes id (int, defaults to 0)
+ HairColorId: hair color id (int, defaults to 0)
+ BodyColorId: clothes color id (int, defaults to 0)
+ Gender: gender (string, defaults to "SEX_FEMALE")
+ Options: options (int, defaults to 0)
+ }
},
**************************************************************************/
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 95645abe6..89bcffb3e 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -94,6 +94,21 @@ mob_db: (
// ...
}
DamageTakenRate: damage taken rate (int, defaults to 100)
+ ViewData: {
+ SpriteId: sprite id (int, defaults to Id)
+ WeaponId: weapon id (int, defaults to 0)
+ ShieldId: shield id (int, defaults to 0)
+ RobeId: garment id (int, defaults to 0)
+ HeadTopId: top headgear id (int, defaults to 0)
+ HeadMidId: middle headgear id (int, defaults to 0)
+ HeadLowId: lower headgear id (int, defaults to 0)
+ HairStyleId: hair style id (int, defaults to 0)
+ BodyStyleId: clothes id (int, defaults to 0)
+ HairColorId: hair color id (int, defaults to 0)
+ BodyColorId: clothes color id (int, defaults to 0)
+ Gender: gender (string, defaults to "SEX_FEMALE")
+ Options: options (int, defaults to 0)
+ }
},
**************************************************************************/