AddReputation
A function included in the GECK for Fallout: New Vegas.
Contents
Description
Adds a certain amount of reputation (infamy/fame) with a certain faction.
Syntax
AddReputation FactionReputation:baseform Infamy/Fame:int Amount:int
AddReputation adds a certain amount of reputation to a faction, unlike AddReputationExact, it only allows 1-5, whereas 1 is a small deed done, and 5 is a big deed.
The first integer determines if infamy (0) of fame (1) should be added, whereas the second integer determines the exact amount (1-5)
If one wishes to add an exact amount of reputation, use AddReputationExact.
The amount of reputation points that these integers correspond to are determined by game settings.
- (Integer) = (Amount of reputation points actually added)
- 1 = fReputationBumpVeryMinor, Default Setting = 1
- 2 = fReputationBumpMinor, Default Setting = 2
- 3 = fReputationBumpAverage, Default Setting = 4
- 4 = fReputationBumpMajor, Default Setting = 7
- 5 = fReputationBumpVeryMajor, Default Setting = 12
Examples
AddReputation RepNVGoodsprings 0 5
The player has done a big deed against this faction, causing a big gain of infamy equal to fReputationBumpVeryMajor.
AddReputation RepNVGoodsprings 1 1
The player has done a small deed for this faction, causing a small gain of fame equal to fReputationBumpVeryMinor.
Notes
- This function can technically be used to remove reputation by having Amount be a negative number, however, it is better to use RemoveReputation for this purpose because with AddReputation the message will always say "gained" rather than "removed."