<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://wiki.lostsouls.org/w/skins/common/feed.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Man modifier group - Revision history</title>
		<link>http://wiki.lostsouls.org/w/index.php?title=Man_modifier_group&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.8.2</generator>
		<lastBuildDate>Sun, 03 May 2026 11:33:33 GMT</lastBuildDate>
		<item>
			<title>Laine at 20:51, 11 June 2007</title>
			<link>http://wiki.lostsouls.org/w/index.php?title=Man_modifier_group&amp;diff=3974&amp;oldid=prev</link>
			<description>&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;</description>
			<pubDate>Mon, 11 Jun 2007 20:51:49 GMT</pubDate>			<dc:creator>Laine</dc:creator>			<comments>http://wiki.lostsouls.org/Talk:Man_modifier_group</comments>		</item>
	</channel>
</rss>