Coder Social home page Coder Social logo

moneycanbuylove's Introduction

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.

moneycanbuylove's People

Contributors

ajkroeg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.