Skip to content

Commit

Permalink
reassign default value for factions for new players. Was 0, now -50.
Browse files Browse the repository at this point in the history
Should result in all NPCs being hostile towards players until they have
done some work to improve their standing (trading with faction-owned
traders).
  • Loading branch information
shadowmage45 committed Dec 17, 2014
1 parent b5ab532 commit d74e1f2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,11 @@ private void loadDefaultFactionStandings()
{
this.factionVsFactionStandings.put(name, new HashMap<String, Boolean>());
}
this.defaultFactionStandings.put(name, factionConfig.get(factionSettings, name+".starting_faction_standing", 0, "Default faction standing for: ["+name+"] for new players joining a game.").getInt(0));
this.defaultFactionStandings.put(name, factionConfig.get(factionSettings, name+".starting_faction_standing", -50,
"Default faction standing for: ["+name+"] for new players joining a game. Less than 0 will be hostile, " +
"greater than or equal to zero will be nuetral/friendly. Default value is -50 for all factions, starting" +
" all players with a minor hostile standing. Players will need to trade with faction-owned traders to" +
" improve their standing to become friendly.").getInt(-50));
for(String name2 : factionNames)
{
if(name.equals(name2)){continue;}
Expand Down

0 comments on commit d74e1f2

Please sign in to comment.