alignment.ini
resources/alignment.ini · 9.9 KB
From the archive CoffeeMud.zip
Download the archive « Back to the archive contents
# The INI file specifies all settings for the faction # Name is what the player will see in their faction listings. # It is also used for easy editing of which mobs a faction belongs to. # Example: NAME=My Name NAME=alignment # MINIMUM / MAXIMUM are the low / high values one can achieve # While traditionally the scale was a 1000 point system, going # to a larger system can allow for a more gradual approach. # Negatives, positives, zeros are all OK here. # Example: MINIMUM= -10000 # Example: MAXIMUM= -10000 MINIMUM=-10000 MAXIMUM=10000 # Whether this faction is always displayed in the player SCORE # The SCORE should be set to TRUE to show this faction in the # score command. # Example: SCOREDISPLAY= FALSE SCOREDISPLAY=TRUE # Whether this faction is displayed in the list of factions # when the FACTIONS command is used. The value should be set # to TRUE to show this faction in the factions command. # Example: SHOWINFACTIONSCMD=FALSE SHOWINFACTIONSCMD=FALSE # Whether this faction gets averaged and shown in area reports # Only one faction will be selected for this honor. The # SPECIALREPORTED should be set to TRUE to turn this feature on for # this faction. # Example: SPECIALREPORTED= FALSE SPECIALREPORTED=TRUE # Whether this faction gets a shortcut to it shown in the editors # Example: EDITALONE= FALSE EDITALONE=TRUE # DEFAULT is a semi-colon delimited set of Zappers and values # These values are applied whenever a faction is added manually, # or as the result of an event. This tag should always have at # least one value, and should never be empty. Default is 0. # Example: DEFAULT=-10000 -RACE +DWARF; 10000 -RACE +ELF; 10 DEFAULT=0 # AUTODEFAULTS is a semi-colon delimited set of Zappers and values # These values are applied when a mob or player is created. This # faction, with the value listed, will be applied ONLY if the zapper # mask is met by the player or mob at creation time, and only if # a value has not been previously saved. An empty value will prevent # this faction from ever being added to mobs or players automatically. # Example: AUTODEFAULTS=-1000 -RACE +DWARF; 1000 -RACE +ELF AUTODEFAULTS=0 # AUTOCHOICES is a semi-colon delimited set of zappers and values # which may be chosen from during player creation. # The names of the choices will be drawn from the Ranges settings below. # To not have any values from this faction selectable at player creation, # just make this value blank. # Example: AUTOCHOICES=-10000 ; 10000 ; 10 AUTOCHOICES=-7499; 0; 7500 # CHOICEINTRO is the name of the resource file containing information # for players who will be given a choice at player create time to select a default # value for this faction. This file will only be shown if the player has one or # more choices from the CHOICES setting above. # Example: CHOICEINTRO= text/myfactionintro.txt CHOICEINTRO=text/alignment.txt # RATEMODIFIER - Multiplier to accellerate or slow the rate of change. # Default is 1.0 (use the default rate of change). # Example: RATEMODIFIER=1.0 RATEMODIFIER=1.0 # Faction Ranges # This is used when the user is listing what standing they have # with a given faction. # [Code Name] is the term is used by zappers. It should be a simple # code word used to represent that range. Several ranges may share # the same code name. # [Align Flag] is in case the faction is being used as an alignment # replacement. # Syntax: RANGEX = [low] ; [high]; [long name] ; [code name] ; [align flag] # Example: RANGE1 = 0 ; 500; Long Range name ; LONGRCODENM ; RANGE1 = -10000 ; -7500 ; pure evil ; PUREEVIL ; EVIL RANGE2 = -7499 ; -4500 ; evil ; JUSTEVIL ; EVIL RANGE3 = -4499 ; -1500 ; somewhat evil ; NEUTEVIL ; NEUTRAL RANGE4 = -1499 ; 1500 ; pure neutral ; PNEUTRAL ; NEUTRAL RANGE5 = 1501 ; 4500 ; somewhat good ; NEUTGOOD ; NEUTRAL RANGE6 = 4501 ; 7500 ; good ; JUSTGOOD ; GOOD RANGE7 = 7501 ; 10000 ; pure goodness ; PUREGOOD ; GOOD # Experience factor # Does being the same/opposite end of the faction have impact on experience gained? # Values include: # NONE - this faction has no impact on experience gained # EXTREME - experience is proportional to the faction differences. # HIGHER - experience bonus goes up as my factions value goes toward maximum # LOWER - experience bonus goes up as my factions value goes toward minimum # FOLLOWHIGHER - experience bonus goes up as my enemies factions value goes toward maximum # FOLLOWLOWER - experience bonus goes up as my enemies value goes toward minimum # Example: EXPERIENCE=EXTREME EXPERIENCE=EXTREME # Zapper Factoring # Certain groups can optionally gain/lose faction more easily # Syntax: FACTORX = [gain] ; [loss] ; [zapper] # Example: FACTOR1=0.5;1.5;-RACE +DWARF # Relationships with other factions # Any faction change affecting this faction will affect all the # ones listed here. The % sets how much so, positively or negatively. # Syntax: RELATIONX = [Faction] [x.xx%]/[-x.xx%] # Example: RELATION1 = ALIGNMENT.INI 5.25% # Change Triggers - these decide how a faction value changes, when, by how much, # and under what circumstances. The first value in the list of changes is the # trigger type. Types include the following: # MURDER - when someone with this faction kills another who matches the ZAPPER part of # of the change trigger definition. # TIME - a change in value that occurs every 10 ticks (around 40 seconds) to those # with standing in this faction, and who meet the ZAPPER mask requirements. # Ability ID - the ID of a skill, spell, or similar Ability. Ability IDs can be seen # by entering from the command line: list skills, list spells, list prayers, etc.. # Ability type description - the name of a type of an ability (SPELL, PRAYER, SKILLS, # SONG, CHANT, COMMON SKILL, THIEF SKILL, etc..) # Ability domain description - the name of a spell domain (ILLUSION, TRANSMUTATION, # INVOCATION/EVOCATION, DIVINATION, etc...) # Ability flag description - the name of one of the ability flags defined in the # coffeemud source code in interfaces/Ability.java. HEALING, for instance, # if you want ANY healing abilities to initiate this change. # ADDOUTSIDER - this trigger occurs every 10 ticks, and allows the a player who does # not have standing in the faction, so long as they meet the target trigger requirements, # to have the faction added using the ADD flag in the next (Direction) section of this # trigger definition. # # 1) The Directions: # a. UP Faction increases by the standard amount (plus any adjustments) # b. DOWN Faction decreases by the standard amount (plus any adjustments) # c. TOWARDS - Faction increases or decreases towards the faction of the target. # If there is no target, then there is no change. # d. AWAY - Faction increases or decreases away from the faction of the target. # If there is no target, then there is no change. # c. OPPOSITE Faction decreases away from and proportional to the faction of the target # If there is no target, then there is no change. # d. MINIMUM the player instantly gets the lowest possible faction # e. MAXIMUM the player instantly gets the highest possible faction # f. REMOVE - the player has the faction removed from their list. # g. ADD - the player has the faction added to their list using above DEFAULTs. Only useful # with the ADDOUTSIDER trigger. # # 2) Change factor a multiplier for the change. This can be used for major/minor infractions.. # Since normal values are between 0 and 150 points, this can be used to raise or lower this # amount. # # 3) FLAGS - this section may optionally contain one or more of the following, space delimited: # # OUTSIDER Flag Normally, when a target is present, the change only applies if the # target also has standing in this faction. Including this flag will allow the # change to apply even if the target does not. # # SELFOK flag. Normally a change event will NOT trigger is the source and target are # the same person. This flag will allow a change event to trigger on an action that # is targeting the source. This is not recommended because someone can just spam # their faction in one direction or another. # # JUST100 flag. Normally the base unadjusted amount of a movement is based partially # on a comparison between the levels of the source and target, making sure they are # within the range contemplated by the "EXPRATE" entry in the coffeemud.ini file. # Including this flag will override this adjustment, leaving the base rate a flag 100 points. # # 4) Zapper string. You can specify a target mob filter for change events. So, in # #CHANGE3=Prayer_Bless;UP;100%;OUTSIDER;-RACE +RODENT, anytime a player with the # Alignment faction blesses a mob with the Rodent race, their faction will go up. # This change will not trigger if cast on a human. # # Change string format: # Syntax: CHANGEX = [TYPE];[DIRECTION];[FACTOR %];[FLAGS];[ZAPPER] # Example: CHANGE1 = MURDER;OPPOSITE;100%;JUST100;-RACE +Elf CHANGE1=MURDER;OPPOSITE;100%;OUTSIDER;; # Ability Usage Controls # Controlling whether, by default, an ability of the type, or with the given flag, # is flagged as being appropriate for the given range of faction. This has a big # impact on some character classes, and especially on MOB skill usage. # The first parameter is either a skill ID, type, spell domain, or flag name. Flag # names can be prefixed with a "!" to denote the requirement that this flag NOT be found. # All first parm values must match a given skill before the faction range check # is made to evaluate elligibility. # Syntax: ABILITYX = [SKILL NAME/TYPE/DOMAIN/FLAGS];[MIN RANGE];[MAX RANGE] # Example: ABILITY1=PRAYER HOLY !UNHOLY;4501;10000 ABILITY1=PRAYER HOLY UNHOLY;-4499;4500 ABILITY2=PRAYER HOLY !UNHOLY;4501;10000 ABILITY3=PRAYER UNHOLY !HOLY;-10000;-4500 ABILITY4=CHANT;-4499;4500