<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://wiki.lostsouls.org/w/skins/common/feed.css"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.lostsouls.org/w/index.php?action=history&amp;feed=atom&amp;title=Man_modifier_group</id>
		<title>Man modifier group - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.lostsouls.org/w/index.php?action=history&amp;feed=atom&amp;title=Man_modifier_group"/>
		<link rel="alternate" type="text/html" href="http://wiki.lostsouls.org/w/index.php?title=Man_modifier_group&amp;action=history"/>
		<updated>2026-05-03T11:36:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.8.2</generator>

	<entry>
		<id>http://wiki.lostsouls.org/w/index.php?title=Man_modifier_group&amp;diff=3974&amp;oldid=prev</id>
		<title>Laine at 20:51, 11 June 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.lostsouls.org/w/index.php?title=Man_modifier_group&amp;diff=3974&amp;oldid=prev"/>
				<updated>2007-06-11T20:51:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Files==&lt;br /&gt;
&lt;br /&gt;
 /def/descriptor/modifier_group.c&lt;br /&gt;
 /lib/descriptors/modifier_gropu.h&lt;br /&gt;
 /mod/character/body.c&lt;br /&gt;
 /mod/character/skills.c&lt;br /&gt;
 /obj/extensions/weapon.c&lt;br /&gt;
 /std/room.c &lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Modifier group descriptors are used to store and work with modifier&lt;br /&gt;
descriptors.  They are intended only for use by the core system; user&lt;br /&gt;
code should never have to worry about them.&lt;br /&gt;
&lt;br /&gt;
===Public Fields===&lt;br /&gt;
&lt;br /&gt;
Modifier_Group_Static: Static modifiers.&lt;br /&gt;
&lt;br /&gt;
Modifier_Group_Orthogonal: Modifiers whose Modifier_Amount has the same&lt;br /&gt;
sign as their Modifier_Bound.&lt;br /&gt;
&lt;br /&gt;
Modifier_Group_Inverse: Modifiers whose Modifier_Amount and Modifier_Bound&lt;br /&gt;
have opposite sign.&lt;br /&gt;
&lt;br /&gt;
===Support Functions===&lt;br /&gt;
&lt;br /&gt;
'''status Modifier_Group_Empty(descriptor dxr)'''&lt;br /&gt;
&lt;br /&gt;
Returns True if the modifier group contains no modifiers.&lt;br /&gt;
&lt;br /&gt;
'''descriptor array Modifier_Group_All(descriptor dxr)'''&lt;br /&gt;
&lt;br /&gt;
Returns an array of all the modifiers contained in the modifier group.&lt;br /&gt;
&lt;br /&gt;
'''status Modifier_Group_Register(descriptor grp, descriptor mod)'''&lt;br /&gt;
&lt;br /&gt;
Places the specified modifier in the specified modifier group, returning&lt;br /&gt;
True for success (currently there are no conditions which would cause&lt;br /&gt;
failure).  Descriptors are merged if appropriate.&lt;br /&gt;
&lt;br /&gt;
'''status Modifier_Group_Present(descriptor grp, descriptor mod)'''&lt;br /&gt;
&lt;br /&gt;
Returns true if the specified modifier is present in the specified&lt;br /&gt;
modifier group.&lt;br /&gt;
&lt;br /&gt;
'''status Modifier_Group_Unregister(descriptor grp, descriptor mod)&lt;br /&gt;
'''&lt;br /&gt;
Removes the specified modifier from the specified modifier group, returning&lt;br /&gt;
True if the operation is successful.&lt;br /&gt;
&lt;br /&gt;
'''varargs mixed Modifier_Group_Apply(descriptor dxr, mixed index, mixed start,&lt;br /&gt;
mixed stat)'''&lt;br /&gt;
&lt;br /&gt;
Calculates the total modifier values that apply to the index given from&lt;br /&gt;
the modifiers in the specified modifier group.  The third and fourth&lt;br /&gt;
arguments are optional and are used to specify starting accumulative&lt;br /&gt;
and static modifier values, respectively.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
[[man descriptors|descriptors(mechanisms)]], [[man modifier|modifier(descriptors)]]&lt;/div&gt;</summary>
		<author><name>Laine</name></author>	</entry>

	</feed>