SHARE
TWEET

Untitled

a guest Feb 17th, 2019 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @PART:HAS[@MODULE[ModuleCommand],#CrewCapacity[>0],!RESOURCE[Snacks]]:FOR[Snacks]
  2. {
  3.     RESOURCE
  4.     {
  5.         name = Snacks
  6.         amount = 50
  7.         maxAmount = 50
  8.         @amount *= #$../CrewCapacity$
  9.         @maxAmount *= #$../CrewCapacity$
  10.     }
  11. }
  12.  
  13. @PART:HAS[!MODULE[ModuleCommand],#CrewCapacity[>0],!RESOURCE[Snacks]]:FOR[Snacks]
  14. {
  15.     RESOURCE
  16.     {
  17.         name = Snacks
  18.         amount = 200
  19.         maxAmount = 200
  20.         @amount *= #$../CrewCapacity$
  21.         @maxAmount *= #$../CrewCapacity$
  22.     }
  23. }
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