{"id":17823207,"url":"https://github.com/dmagic1/contract-modifier","last_synced_at":"2025-04-02T10:41:52.645Z","repository":{"id":28360464,"uuid":"31874322","full_name":"DMagic1/Contract-Modifier","owner":"DMagic1","description":"A KSP addon that allows for customizing contract rewards and parameters with an in-game interface.","archived":false,"fork":false,"pushed_at":"2019-11-02T03:24:19.000Z","size":142,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T01:43:54.617Z","etag":null,"topics":["kerbal-space-program"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DMagic1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-09T01:56:02.000Z","updated_at":"2019-11-02T03:16:54.000Z","dependencies_parsed_at":"2022-08-02T11:52:08.497Z","dependency_job_id":null,"html_url":"https://github.com/DMagic1/Contract-Modifier","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMagic1%2FContract-Modifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMagic1%2FContract-Modifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMagic1%2FContract-Modifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DMagic1%2FContract-Modifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DMagic1","download_url":"https://codeload.github.com/DMagic1/Contract-Modifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246802591,"owners_count":20836365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kerbal-space-program"],"created_at":"2024-10-27T17:56:59.620Z","updated_at":"2025-04-02T10:41:52.617Z","avatar_url":"https://github.com/DMagic1.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"### **Contract Reward Modifier**\n[![][shield:support-ksp]][KSP:developers]\u0026nbsp;\n[![][shield:ckan]][CKAN:org]\u0026nbsp;\n[![][shield:license-mit]][CRMLicense]\u0026nbsp;\n[![][shield:license-cc-by-sa]][CRMLicense]\u0026nbsp;\n![][CRM:FullWindow]\n\n[![][shield:support-toolbar]][toolbar:release]\u0026nbsp;\n[![][shield:support-ccfg]][cconfig:release]\u0026nbsp;\n[![][shield:support-cwplus]][cwplus:release]\u0026nbsp;\n\n\n### People, and Info\n-------------------------------------------\n\n#### Authors and Contributors\n\n[DMagic][DMagic]: Author and maintainer\n\n[TriggerAu][TriggerAu]: Contract Reward Modifier uses a version of TriggerAu's KSP Plugin Framework\n\n#### License\n\nThe code is released under the [MIT license][CRMLicense]; all art assets are released under the [CC-BY-SA license][CRMLicense]\n\n#### FAQ\n\n  * What does Contract Reward Modifier do?\n     * It allows you to customize the reward and penalty values for each contract and parameter type.\n\t * You can limit the number of contracts of each type offered; or prevent any from appearing.\n\t * All values can be set and modified through an in-game user interface.\n  * Does CRM support contracts from other addons?\n     * All contract and parameter types are accessed upon startup; any types from other addons will be detected.\n\t * Contract Configurator contracts require some special handling and cannot be completely blocked, but are otherwise supported.\n  * Can values be set for each save file?\n     * Yes. Default values are set using the included config file (which can be changed and saved in-game), but any save file can set its own reward and penalty values; these will supercede values from the config file.\n  * I don't want another icon cluttering up the toolbar or an in-game interface, can this still be used?\n     * Yes. The toolbar icons can be completely removed (a field in the config file can be used to reset them); the values can be set in-game to your liking, then you can remove the toolbar icons.\n\t * There is another option, only available in the config file, that will disable all save-specific settings. All values will be set entirely using the config file.\n\t \n### Usage instructions\n------------------------------------------\n\nThe Contract Reward Modifier window presents a set of sliders that allow for changes to all contract and parameter reward amounts, as well as several other options.\n\n#### Contract and Parameter Type Selection\n------------------------------------------\n\n![][CRM:DropDowns]\n\n  * At the top of the window are two drop down buttons that allow for the selection of different contract and parameter types.\n    * A special **Global Settings** selection is available for both Contract and Parameter Types.\n    * Values can be set with the sliders under the global settings; these will be applied to all Contract/Parameter Types after pushing the **Apply To All** button.\n  * All addon contract and parameter types should be available here.\n  * Contract Configurator types are pushed to the bottom of the list to avoid any potential spoilers revealed by contract names.\n  \n  \n#### Sliders\n---------------------------------------------\n\n#### Rewards and Penalties sliders\n![][CRM:Slider-reward]\n\n  * The sliders below control the amount given for each different reward and penalty type.\n  * Strategy values are not directly affected by these sliders, i.e. setting science to 0.1% won't affect the science rewards given while using the science strategy.\n  * The sliders are half-way log-scale; the left half of the slider allows for 0.1 - 100% of the original value, while the right half allows for 100-1000% of the original.\n  \n#### Duration slider\n![][CRM:Slider-duration]\n\n  * Contract duration can be adjusted from 10-1000%, but will only affect newly offered contracts.\n  \n#### Contract limit sliders\n![][CRM:Slider-limits]\n\n  * The maximum number of offered and active contracts of a type can be specified; any contracts beyond this amount will be rejected when the system tries to offer new contracts.\n  * All Contract Configurator contracts are can only be set to allow 1 or more contracts to be offered.\n\n#### Additional Settings\n-----------------------------------------\n\n#### Allow for 0% values\n![][CRM:Warn-zero]\n\n  * By default the values only go down to 0.1%; there is an option to allow for nearly 0% (0.00000001%) using the **Allow 0% Values** toggle.\n    * Using this may cause odd rounding errors and prevent further adjustments from being made to any active contracts/parameters of that type.\n\n#### Alter active contracts\n![][CRM:Warn-alteractive]\n\n  * A toggle option is available to **Alter Active Contracts** as well as newly offered contracts.\n    * Turning this on and off while adjusting values may cause problems with reward values.\n    * Be default it is off; but you should stick with either turning it on, or leaving it off; don't go back and forth.\n \n#### Disable toolbars\n![][CRM:Warn-toolbar]\n\n  * There is also toggle to completely **Disable All Toolbars**.\n    * This can be used if you have set the values you want and don't need the toolbar icon taking up space.\n  * Toolbars can be re-enabled by changing the **disableToolbar** field to **True** at the top of the config file. \n  \n  * If [Blizzy78's Toolbar][toolbar:release] is installed you can switch between it and the stock app launcher using the **Use Stock Toolbar** toggle.\n\n####Reset Contract and Parameter values to default\n![][CRM:Reset-contract]\n![][CRM:Reset-param]\n\n  * Contract/Parameter amounts can be reverted to the default values set in your config file using the **Reset Values** button.\n\n#### Save values to a global config file\n![][CRM:Warn-save]\n  \n  * The current values can be saved to the global config file in your GameData folder using the **Save To Config** button.\n    * Values saved to the config file will serve as the default for current save games.\n    * New save files (or save files that haven't been loaded while Contract Reward Modifier has been installed) will set all contract and parameter values using the config file settings.\n  * The config file-only **disableSaveSpecificValues** field allows you to bypass any values set in your save files; all values stored in the save files will be deleted.\n\n\n[DMagic]: http://forum.kerbalspaceprogram.com/members/59127\n[TriggerAu]: http://forum.kerbalspaceprogram.com/members/59550\n\n[CRM:FullWindow]: http://i.imgur.com/FdXv5C1.jpg\n[CRM:DropDowns]: http://i.imgur.com/KmoIB5P.jpg?1\n[CRM:Slider-reward]: http://i.imgur.com/OTtx8q7.jpg?1\n[CRM:Slider-limits]: http://i.imgur.com/qBOKqLb.jpg?1\n[CRM:Slider-duration]: http://i.imgur.com/k2PJ0LS.jpg?1\n[CRM:Warn-zero]: http://i.imgur.com/ZxSEPjB.jpg?1\n[CRM:Warn-alteractive]: http://i.imgur.com/KTrAboK.jpg?1\n[CRM:Warn-toolbar]: http://i.imgur.com/v0k6BMW.jpg?1\n[CRM:Reset-contract]: http://i.imgur.com/B1wir2M.jpg?1\n[CRM:Reset-param]: http://i.imgur.com/PxYzX7x.jpg?1\n[CRM:Warn-save]: http://i.imgur.com/tveX99k.jpg?1 \n\n[KSP:developers]: https://kerbalspaceprogram.com/index.php\n[CKAN:org]: http://ksp-ckan.org/\n[CRMLicense]: https://github.com/DMagic1/Contract-Modifier/blob/master/GameData/ContractRewardModifier/License.txt\n\n[cconfig:release]: http://forum.kerbalspaceprogram.com/threads/101604\n[toolbar:release]: http://forum.kerbalspaceprogram.com/threads/60863\n[cwplus:release]: http://forum.kerbalspaceprogram.com/threads/91034\n\n[shield:license-mit]: http://img.shields.io/badge/license-mit-a31f34.svg\n[shield:license-cc-by-sa]: http://img.shields.io/badge/license-CC%20BY--SA-green.svg\n[shield:support-ksp]: http://img.shields.io/badge/for%20KSP-v1.1-bad455.svg\n[shield:ckan]: https://img.shields.io/badge/CKAN-Indexed-brightgreen.svg\n[shield:support-toolbar]: http://img.shields.io/badge/works%20with%20Blizzy's%20Toolbar-1.7.x-7c69c0.svg\n[shield:support-ccfg]: https://img.shields.io/badge/works%20with%20Contract%20Configurator-1.x-yellowgreen.svg\n[shield:support-cwplus]: https://img.shields.io/badge/works%20with%20Contracts%20Window%20%2B-5.x-orange.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmagic1%2Fcontract-modifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmagic1%2Fcontract-modifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmagic1%2Fcontract-modifier/lists"}