Jump to content

contracts.cfg multiple part ID requirements? + MM patch contracts.cfg possible?


Recommended Posts

Hi.
I just tried to add more part ID for the requirements of those science experiment on a satellite contracts. And I failed. It seemed like the game stops offering that requirement if I modify the line and try to list another part ( with [key],[/key] or with [key];[/key]) So I guess I m doing it wrong or it is not possible. Which one is it?

So what I m modifying is this ( in green)
[code]
Contracts
{
Satellite
{
PART_REQUEST // A potential thermometer request for satellites
{
Article = a // Article (A/An) to be used prior to part description
PartDescription = thermometer // Plain speech description of part for request
VesselDescription = satellite // Plain speech description of vessel for request
Keyword = Scientific // Contract briefing keyword
[COLOR=#008000] Part = sensorThermometer // A part ID that triggers this request[/COLOR]
MinimumScience = 7 // A minimum value this request places on science rewards
Trivial // Easy Contracts
{
Weight = 5 // How common this request is in easy contracts
FundsMultiplier = 1.05 // The multiplier this request places on funds in easy contracts
ScienceMultiplier = 1.25 // The multiplier this request places on science in easy contracts
ReputationMultiplier = 1.05 // The multiplier this request places on reputation in easy contracts
}
Significant // Medium Contracts
{
Weight = 15 // How common this request is in medium contracts
FundsMultiplier = 1.05 // The multiplier this request places on funds in medium contracts
ScienceMultiplier = 1.25 // The multiplier this request places on science in medium contracts
ReputationMultiplier = 1.05 // The multiplier this request places on reputation in medium contracts
}
Exceptional // Hard Contracts
{
Weight = 25 // How common this request is in hard contracts
FundsMultiplier = 1.05 // The multiplier this request places on funds in hard contracts
ScienceMultiplier = 1.25 // The multiplier this request places on science in hard contracts
ReputationMultiplier = 1.05 // The multiplier this request places on reputation in hard contracts
}
}
}
}
[/code]

This failed:
[code]
Part = sensorThermometer; OctoSat_Sc_Science // A part ID that triggers this request
[/code]
This failed
[code]
Part = sensorThermometer, OctoSat_Sc_Science // A part ID that triggers this request
[/code]
This worked but it removes the stock part which is really wrong
[code]
Part = OctoSat_Sc_Science // A part ID that triggers this request
[/code]

Is that a limitation hard coded? Was I very unlucky with contract generation with the first two modification and they actually work? Is there a way around this without programming?

Also would it be possible to MM patch this change?
All those 'modules' are called PART_REQUEST and they have no other id it seems to me. So not patchable?
[I]Edit: It turns out it is patchable but by replacing them all. Deleting all PART_REQUEST first and then adding them all back with the modifications is working. But still this is not a neat solution.[/I]

Thanks in advance.

Edit: Reading myself I realise I m not clear on the fact I don't want multiple parts to be required but I want to add an alternative to fulfill it. In short: it should be OR and not AND. Edited by Nookos
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...