You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.
Can there be a third set of variables? As such: If at least one part is found to have the listed module, then that multiplier is applied to the entire vessel's BP total.
So e.g. we have a GlobalModuleVariable, ModuleTagHumanRated = 2. That means that if at least one part on the vessel is HumanRated, then the entire BP of the vessel is doubled.
As I understand things that should be fairly easy to do? Have a global multiplier that starts at one, and a blank hashset, and check each module against the global module vars; if it is a global module var, and the hashset doesn't contain it, multiply the global mult by that and add the module name to the hashset.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Well, I hope simpler! :)
Can there be a third set of variables? As such: If at least one part is found to have the listed module, then that multiplier is applied to the entire vessel's BP total.
So e.g. we have a GlobalModuleVariable, ModuleTagHumanRated = 2. That means that if at least one part on the vessel is HumanRated, then the entire BP of the vessel is doubled.
As I understand things that should be fairly easy to do? Have a global multiplier that starts at one, and a blank hashset, and check each module against the global module vars; if it is a global module var, and the hashset doesn't contain it, multiply the global mult by that and add the module name to the hashset.
The text was updated successfully, but these errors were encountered: