CanResearchTech Requirement - jrossignol/ContractConfigurator GitHub Wiki
Requirement to check whether a player has the pre-requisites to research a tech. Note that this will also be met if the tech itself is researched, use with a negated TechResearched if this is undesirable.
REQUIREMENT
{
name = CanResearchTech
type = CanResearchTech
// Use one of the two following methods to identifier the tech(s).
// The technology that needs to be available to research. Take special
// note that this does not get validated - if you make a typo, the
// requirement will always return false.
//
// Type: string
// Required: No (multiples allowed)
//
tech = engineering101
// A part that needs to have its technology available to research.
//
// Type: AvailablePart
// Required: No (multiples allowed)
//
part = SmallGearBay
}