ReStocked/Distribution/RestockPlus/GameData/ReStockPlus/Patches/MakingHistoryPartHiding.cfg
Michael Paul a020ae92db Set entryCost to zero on TechHidden parts
A TechHidden part's entryCost isn't included in the price shown on the
tech node's "purchase all parts" button, but clicking the button
actually charges the player for hidden parts nonetheless.  This is a bug
in the game, but it has a simple workaround: set entryCost to zero on
parts that have the TechHidden flag.  (Squad's deprecated parts do this
too.)
2020-11-15 15:59:51 -05:00

11 lines
258 B
INI

// Hides all the MH replacing parts if MH is installed
@PART[*]:HAS[#MHReplacement[True]]:FOR[zzReStockPlus]:NEEDS[SquadExpansion/MakingHistory]
{
%TechHidden = True
@entryCost = 0
@category = none
@subcategory = 0
!MODULE[ModuleTestSubject] {}
}