<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://avendar.net/index.php?action=history&amp;feed=atom&amp;title=Avendar%3AOLC_Section_5</id>
	<title>Avendar:OLC Section 5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://avendar.net/index.php?action=history&amp;feed=atom&amp;title=Avendar%3AOLC_Section_5"/>
	<link rel="alternate" type="text/html" href="https://avendar.net/index.php?title=Avendar:OLC_Section_5&amp;action=history"/>
	<updated>2026-04-17T23:46:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://avendar.net/index.php?title=Avendar:OLC_Section_5&amp;diff=2661&amp;oldid=prev</id>
		<title>Elanthe: Created page with &quot;=FEDIT=  &lt;i&gt;&quot;Faction seldom leaves a man honest, however it might find him.&lt;/i&gt;  &lt;i&gt;   -Samuel Johnson&lt;/i&gt;  :Fedit allows you to create and edit npc factions.    : Faction enemy and friend ratings have defaults of -700 and 700 (which means : it will take approximately 70 kills of mobs of your level for you to become : allied with or hated by a faction).    : Syntax: fedit [faction number]  : Provide a faction number and you will enter the editor for that  : faction. To s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://avendar.net/index.php?title=Avendar:OLC_Section_5&amp;diff=2661&amp;oldid=prev"/>
		<updated>2025-01-19T03:00:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=FEDIT=  &amp;lt;i&amp;gt;&amp;quot;Faction seldom leaves a man honest, however it might find him.&amp;lt;/i&amp;gt;  &amp;lt;i&amp;gt;   -Samuel Johnson&amp;lt;/i&amp;gt;  :Fedit allows you to create and edit npc factions.    : Faction enemy and friend ratings have defaults of -700 and 700 (which means : it will take approximately 70 kills of mobs of your level for you to become : allied with or hated by a faction).    : Syntax: fedit [faction number]  : Provide a faction number and you will enter the editor for that  : faction. To s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=FEDIT=&lt;br /&gt;
 &amp;lt;i&amp;gt;&amp;quot;Faction seldom leaves a man honest, however it might find him.&amp;lt;/i&amp;gt;&lt;br /&gt;
 &amp;lt;i&amp;gt;   -Samuel Johnson&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Fedit allows you to create and edit npc factions.  &lt;br /&gt;
&lt;br /&gt;
: Faction enemy and friend ratings have defaults of -700 and 700 (which means&lt;br /&gt;
: it will take approximately 70 kills of mobs of your level for you to become&lt;br /&gt;
: allied with or hated by a faction).  &lt;br /&gt;
&lt;br /&gt;
: Syntax: fedit [faction number] &lt;br /&gt;
: Provide a faction number and you will enter the editor for that &lt;br /&gt;
: faction. To see a list of faction numbers, type FLIST.&lt;br /&gt;
&lt;br /&gt;
: Syntax: fedit create&lt;br /&gt;
: This creates a new faction and enters the editor for that faction.&lt;br /&gt;
 &lt;br /&gt;
: Once you are fediting a given faction, you can take a look at its &lt;br /&gt;
: properties with the SHOW command, or just by hitting [enter].&lt;br /&gt;
: The following are attributes which appear when you SHOW. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Name:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: name [name]&lt;br /&gt;
: Changes the faction name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Min-Friend Rating:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: rating friend [rating]&lt;br /&gt;
: This changes the friend rating for the faction.  Players who meet or&lt;br /&gt;
: surpass this rating are considered to be allied to the faction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Min-Enemy Rating:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: rating enemy [rating]&lt;br /&gt;
: This changes the enemy rating for the faction.  Players who meet&lt;br /&gt;
: or fall below this rating are considered enemies of faction npcs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Flags:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Type the following flags to apply them to the faction.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;i&amp;gt;aggro_enemy&amp;lt;/i&amp;gt;: Makes all members of the faction aggro to faction enemies.&lt;br /&gt;
 &amp;lt;i&amp;gt;decay&amp;lt;/i&amp;gt;: Player faction ratings will slowly decay over time as the faction&lt;br /&gt;
    forgets the player&amp;#039;s actions.&lt;br /&gt;
 &amp;lt;i&amp;gt;fake&amp;lt;/i&amp;gt;: makes a fake faction. You don&amp;#039;t gain or lose faction for killing&lt;br /&gt;
    members of this faction, but you do gain/lose faction with enemies&lt;br /&gt;
    and allies. Example: the Animals of Nendor. The animals won&amp;#039;t&lt;br /&gt;
    suddenly consider you an enemy... but you will piss off the druids.&lt;br /&gt;
 &amp;lt;i&amp;gt;no_obscure&amp;lt;/i&amp;gt;: The new thief/assassin skill &amp;#039;conceal evidence&amp;#039; doesn&amp;#039;t work&lt;br /&gt;
    against this faction. &lt;br /&gt;
 &amp;lt;i&amp;gt;big_bargain&amp;lt;/i&amp;gt;: Shops provide discount to faction friends.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Ally:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: ally [faction number]&lt;br /&gt;
: This toggles an allied faction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Opposing:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: opposing [faction number]&lt;br /&gt;
: This toggles an opposing faction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Initial Settings:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: init&lt;br /&gt;
: This enters the editor for initial settings. In the editor, add&lt;br /&gt;
: strings as follows:&lt;br /&gt;
:  race &amp;lt;race&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
:  class &amp;lt;class&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
:  gender &amp;lt;gender&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
:  altar &amp;lt;altar room vnum&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
:  race ch&amp;#039;taren 1400&lt;br /&gt;
:  class spirit templar 700&lt;br /&gt;
:  class spirit scholar 700&lt;br /&gt;
:  race shuddeni -1000&lt;br /&gt;
:  altar 3491 -1000&lt;br /&gt;
&lt;br /&gt;
:  If the min-friend rating were default (700), then ch&amp;#039;tarens, spirit templars,&lt;br /&gt;
:  and spirit scholars would all begin as friends of the faction.  If the min-enemy&lt;br /&gt;
:  rating were default (-700) shuddeni and those whose recall altar is in room 3491&lt;br /&gt;
:  would begin as enemies of the faction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Add:&amp;lt;/b&amp;gt;&lt;br /&gt;
: Syntax: add [vnums...]: &lt;br /&gt;
: This adds a list of vnums to the faction being edited.  One can also add a mob&lt;br /&gt;
: to the faction in medit, using the &amp;#039;faction&amp;#039; command while editing that mob.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==OTHER FACTION-RELATED IMM COMMANDS==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;flist:&amp;lt;/b&amp;gt; lists all factions.&lt;br /&gt;
: &lt;br /&gt;
:&amp;lt;b&amp;gt;flist &amp;lt;number&amp;gt;:&amp;lt;/b&amp;gt; lists all mobs in a faction.&lt;br /&gt;
:&lt;br /&gt;
:&amp;lt;b&amp;gt;flist &amp;lt;player&amp;gt; [faction]:&amp;lt;/b&amp;gt; lists faction ratings for player. Without [faction],&lt;br /&gt;
: it will list all factions with a non-zero standing for the player&lt;br /&gt;
:&lt;br /&gt;
:&amp;lt;b&amp;gt;set char &amp;lt;target&amp;gt; faction &amp;lt;number&amp;gt; &amp;lt;rating&amp;gt;:&amp;lt;/b&amp;gt; set faction values manually.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==PROG SUPPORT FOR FACTIONS==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;b&amp;gt;if isfriend(&amp;lt;target&amp;gt;) [== faction number]&amp;lt;/b&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
:&amp;lt;b&amp;gt;if isenemy(&amp;lt;target&amp;gt;) [== faction number]&amp;lt;/b&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
: -- if faction numbers are omitted, uses faction of mob performing check&lt;br /&gt;
:&lt;br /&gt;
: &amp;lt;b&amp;gt;mpfaction &amp;lt;target&amp;gt; &amp;lt;faction number&amp;gt; &amp;lt;change&amp;gt; [1/0]&amp;lt;/b&amp;gt; -- trailing 1/0 is to&lt;br /&gt;
: choose whether the standard faction improve/worsen message is displayed&lt;/div&gt;</summary>
		<author><name>Elanthe</name></author>
	</entry>
</feed>