Skip to content

REL_0.9.4.4

Compare
Choose a tag to compare
@ajkroeg ajkroeg released this 20 Oct 10:44
· 141 commits to master since this release

DifficultyModsFromStats

Enables Company stat "IRTweaks_DiffMod" to be added or subtracted (if negative) to career difficulty score modifier. Used in events or any Results block. E.g. an event with the following block would increase the Career Difficulty score by 0.1

"Stats": [
	{
		"typeString": "System.Single",
		"name": "IRTweaks_DiffMod",
		"value": "0.1",
		"set": false,
		"valueConstant": null
	}
],

IRTweaks is also now packaged with a SimGameStatDesc and corresponding addition to mod.json manifest to prevent errors from displaying when setting the above company stat in events, as follows. Any field with "result" can also be set to "" to hide the stat change from player view in the event screen.

{
	"Description": {
		"Id": "SimGameStatDesc_IRTweaks_DiffMod",
		"Name": "IRTweaks_DiffMod",
		"Details": "Career Difficulty Modified",
		"Icon": null
	},
	"setResult": "Career Difficulty set to {RES_VALUE.ToString}",
	"positiveResult": "Career Difficulty Modifier increased by {RES_VALUE.ToString}",
	"negativeResult": "Career Difficulty Modifier decreased by {RES_VALUE.ToString}",
	"temporalSetResult": "Career Difficulty set to {RES_VALUE.ToString} for {RES_DURATION.ToString} days",
	"temporalPositiveResult": "Career Difficulty Modifier increased by {RES_VALUE.ToString} for {RES_DURATION.ToString} days",
	"temporalNegativeResult": "Career Difficulty Modifier decreased by {RES_VALUE.ToString} for {RES_DURATION.ToString} days",
	"infinitiveSetResult": "Career Difficulty set to {RES_VALUE.ToString}",
	"infinitivePositiveResult": "Career Difficulty Modifier increased by {RES_VALUE.ToString}",
	"infinitiveNegativeResult": "Career Difficulty Modifier decreased by {RES_VALUE.ToString}"
}