SHARE
TWEET

NanobotBuildAndRepairSystemBlock.cs: 258

a guest Dec 8th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MyFixedPoint vinv = welderInventory.MaxVolume;
  2.         // Find the cube root of v
  3.         double v = Math.Pow(vinv, 1 / 3);
  4.         Vector3 vec = new Vector3(v, v, v);
  5.  
  6.          _TransportInventory = new Sandbox.Game.MyInventory((float)welderInventory.MaxVolume / MyAPIGateway.Session.InventoryMultiplier, vec, MyInventoryFlags.CanSend); //MaxVolume handled in Pick functions
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top