Skip to content

ajkroeg/MoneyCanBuyLove

Repository files navigation

MoneyCanBuyLove

The Beatles were wrong! Money can buy you love!

Mod adds the ability for specified store items to increase reputation. Each reputation "item" will alter faction rep by the amount defined in the mod.json settings. Reputation changes take place at the end of the current day, and reputation items are removed from inventory at this time.

Faction rep changes are based on the current star system ownerID (actually CurSystem.Def.OwnerValue.FriendlyName), NOT the shop owner ID.

"Settings": {
		"RepItemDefTypeAndID": "Item.HeatSinkDef.Gear_HeatSink_Generic_Standard",
		"SpecFactionRepItemDefTypeAndID": "",
		"SpecFactionID": "AuriganPirates",
		"SpecFactionRepModifier": 15,
		"SpecFactionMaxRepLimit": 20,
		"excludedFactions": [
			"ClanJadeFalcon",
			"ClanWolf",
			"ClanGhostBear"
			],
		"RepModifier": 15,
		"MaxRepLimit": 20
		},

RepItemDefTypeAndID defines the (custom, user-created) item which modifies reputation based on the owner of the current star system. User is responsible for creating said item and adding it to shops.

"SpecFactionRepItemDefTypeAndID" defines the (custom, user-created) item which modifies reputation of the faction listed below. Intended to be used for factions tht do not own star systems, such as AuriganPirates. User is responsible for creating said item and adding it to shops.

"SpecFactionID" see above.

SpecFactionRepModifier defines the reputation change per-item purchased for the faction defined above.

SpecFactionMaxRepLimit defines an upper limit for purchasable rep for the faction defined above.

excludedFactions define faction(s) for which the player is unable to purchase reputation even if the item appears in their store. Players can purchase the items, but they will have no effect.

RepModifier defines the reputation change per-item purchased. Using the above settings, purchasing 2 Item.HeatSinkDef.Gear_HeatSink_Generic_Standard would result in a reputation increase of 30.

MaxRepLimit defines an upper limit for purchasable rep. Using the above settings, faction rep can increase to a max of 20 from the purchase of rep items. Players can continue to purchase rep items, but they will have no effect.

About

Purchase faction rep in shops

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages