Advertisement
Guest User

Untitled

a guest
Mar 7th, 2015
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. SHIPCONSTRUCTIBLE.AS
  2.  
  3. double getSupportSupplyFree() {
  4. double supply = design.total(SV_SupportCapacity);
  5. for(uint i = 0, cnt = supports.length; i < cnt; ++i) {
  6. GroupData@ d = supports[i];
  7. supply -= double(d.totalSize) * pow(d.dsg.size,0.6); //SCALING
  8. }
  9. return supply;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement