Quote:
President_Elect_Shang said:
Is there a way to build a component which has a restriction that limits the total number that can be carried? For example:
The Mega Toaster
The mega toaster can toast all bread in the blink of an eye; however, due to the power draw only 1 per 100 hull spaces can be used.
*Mega Toaster Inc. is not responsible for burnt slices or charring of crust.
|
Sure, I guess you'd have to give it some unique ability that does nothing (like "AI Tag 1"), then do a requirement that Get_Component_Ability_Count("AI Tag 1") <= Get_Vehicle_Hull_Tonnage() / 100... (not entirely sure about the names of those functions)
Now if you could just restrict based on component NAME that would be much easier... but I never tried that and don't have the function list handy, so it might already be possible
