Added "DRESS" flag to permobjs
authorMartin Read <martin@blackswordsonics.com>
Sat, 8 Feb 2014 19:58:29 +0000 (19:58 +0000)
committerMartin Read <martin@blackswordsonics.com>
Sat, 8 Feb 2014 19:58:29 +0000 (19:58 +0000)
default.permobjs
objects.hh
pobj_comp

index 0883c56..74640d4 100644 (file)
@@ -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
index 2df3b99..c576447 100644 (file)
@@ -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 {
index f6f7fc9..fca3765 100755 (executable)
--- 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
 );