summaryrefslogtreecommitdiff
path: root/db/constants.conf
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2016-01-06 16:38:43 +0800
committerHaru <haru@dotalux.com>2016-01-16 19:57:34 +0100
commita1310e2d8c098fcbeb485314a4bafa5d6659be7e (patch)
tree7ebba2392df11cbf008b24e4bb9402cc89c2433e /db/constants.conf
parente3c680b76bf2d13de6286f3b486d946b25b7bdb1 (diff)
downloadhercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.tar.gz
hercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.tar.bz2
hercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.tar.xz
hercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.zip
Remove VAR_ constants
- there are 2 same constants for setlook script command, remove the wrong one - VAR_ constant added by lone_wolf is invalid https://github.com/HerculesWS/Hercules/commit/f4278f36db32f35e535a0ea8feb1cf83ca95019e, so use the LOOK_ constant
Diffstat (limited to 'db/constants.conf')
-rw-r--r--db/constants.conf47
1 files changed, 37 insertions, 10 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 0709cd758..790c0ed53 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3678,16 +3678,43 @@ constants_db: {
FW_EXTRABOLD: 800
FW_HEAVY: 900
- /** setlook */
- VAR_HEAD: 1
- VAR_WEAPON: 2
- VAR_HEAD_TOP: 3
- VAR_HEAD_MID: 4
- VAR_HEAD_BOTTOM: 5
- VAR_HEADPALETTE: 6
- VAR_BODYPALETTE: 7
- VAR_SHIELD: 8
- VAR_SHOES: 9
+ /** old setlook (use LOOK_* constants instead) */
+ VAR_HEAD: {
+ Value: 1
+ Deprecated: true // Use LOOK_HAIR
+ }
+ VAR_WEAPON: {
+ Value: 2
+ Deprecated: true // Use LOOK_WEAPON
+ }
+ VAR_HEAD_TOP: {
+ Value: 3
+ Deprecated: true // Use LOOK_HEAD_TOP
+ }
+ VAR_HEAD_MID: {
+ Value: 4
+ Deprecated: true // Use LOOK_HEAD_MID
+ }
+ VAR_HEAD_BOTTOM: {
+ Value: 5
+ Deprecated: true // Use LOOK_HEAD_BOTTOM
+ }
+ VAR_HEADPALETTE: {
+ Value: 6
+ Deprecated: true // Use LOOK_HAIR_COLOR
+ }
+ VAR_BODYPALETTE: {
+ Value: 7
+ Deprecated: true // Use LOOK_CLOTHES_COLOR
+ }
+ VAR_SHIELD: {
+ Value: 8
+ Deprecated: true // Use LOOK_SHIELD
+ }
+ VAR_SHOES: {
+ Value: 9
+ Deprecated: true // Use LOOK_SHOES
+ }
/** Directions */
DIR_NORTH: 0