Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @PART:HAS[@MODULE[ModuleCommand],#CrewCapacity[>0],!RESOURCE[Snacks]]:FOR[Snacks]
- {
- RESOURCE
- {
- name = Snacks
- amount = 50
- maxAmount = 50
- @amount *= #$../CrewCapacity$
- @maxAmount *= #$../CrewCapacity$
- }
- }
- @PART:HAS[!MODULE[ModuleCommand],#CrewCapacity[>0],!RESOURCE[Snacks]]:FOR[Snacks]
- {
- RESOURCE
- {
- name = Snacks
- amount = 200
- maxAmount = 200
- @amount *= #$../CrewCapacity$
- @maxAmount *= #$../CrewCapacity$
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement