From 6af84048d17767b5039c487bbcb82c14bd1beed3 Mon Sep 17 00:00:00 2001 From: Martin Read Date: Sat, 8 Feb 2014 19:58:29 +0000 Subject: [PATCH] Added "DRESS" flag to permobjs --- default.permobjs | 4 ++++ objects.hh | 1 + pobj_comp | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/default.permobjs b/default.permobjs index 0883c56..74640d4 100644 --- a/default.permobjs +++ b/default.permobjs @@ -328,6 +328,7 @@ COLOUR l_grey POWER 1 POWER2 0 DEPTH 1 +DRESS ARMOUR battle ballgown PLURAL battle ballgowns @@ -339,6 +340,7 @@ COLOUR green POWER 3 POWER2 10 DEPTH 1 +DRESS ARMOUR imperatrix gown PLURAL imperatrix gowns @@ -350,6 +352,7 @@ COLOUR purple POWER 15 POWER2 10 DEPTH 24 +DRESS ARMOUR set of ribbons PLURAL sets of ribbons @@ -362,6 +365,7 @@ POWER 15 POWER2 -15 DEPTH 30 NOTIFY_EQUIP +DRESS RING regeneration ring PLURAL regeneration rings diff --git a/objects.hh b/objects.hh index 2df3b99..c576447 100644 --- a/objects.hh +++ b/objects.hh @@ -54,6 +54,7 @@ enum poclass_num { // POF field 0 #define POF_NOTIFY_EQUIP 0x00000001u +#define POF_DRESS 0x00010000u /*! \brief The 'permanent object' database */ struct Permobj { diff --git a/pobj_comp b/pobj_comp index f6f7fc9..fca3765 100755 --- a/pobj_comp +++ b/pobj_comp @@ -21,7 +21,8 @@ our @carrion; our %flag_indices = ( - 'NOTIFY_EQUIP' => 0 # the first of probably many. + 'NOTIFY_EQUIP' => 0, # the first of probably many. + 'DRESS' => 0 ); -- 2.11.0