From a1310e2d8c098fcbeb485314a4bafa5d6659be7e Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Wed, 6 Jan 2016 16:38:43 +0800 Subject: 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 --- db/constants.conf | 47 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) (limited to 'db/constants.conf') 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 -- cgit v1.2.3-60-g2f50