Skip to content

Commit

Permalink
Added addPayload tag to New Tanks
Browse files Browse the repository at this point in the history
* Tank-I-HP (earliest tank, needed for Sounding Rocket Payload
Contracts)
* All Service Module Tanks

**NOTE: Another option is just to add the Sounding Rocket Payload
directly to the Tank-I-HP like the EC is added to the Service Module
Tanks. Then have all 3 payload resources be part of the addResourcesSM
grouping. Your call @NathanKell
pap1723 committed Aug 6, 2017
1 parent 6ac90bc commit 4b5cf4f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions GameData/RP-0/NewRFTanks.cfg
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ TANK_DEFINITION
addResources = true
addResourcesHP = true
addLead = true
addPayload = true
}
TANK_DEFINITION
{
@@ -27,6 +28,7 @@ TANK_DEFINITION
addResourcesHP = true
addResourcesSM = true
addLead = true
addPayload = true

TANK
{
@@ -69,6 +71,7 @@ TANK_DEFINITION
addResourcesHP = true
addResourcesSM = true
addLead = true
addPayload = true

TANK
{
@@ -121,6 +124,7 @@ TANK_DEFINITION
addResourcesHP = true
addResourcesSM = true
addLead = true
addPayload = true

TANK
{
@@ -163,6 +167,7 @@ TANK_DEFINITION
addResourcesHP = true
addResourcesSM = true
addLead = true
addPayload = true

TANK
{
@@ -734,6 +739,39 @@ TANK_DEFINITION
}
}

// Add payloads
@TANK_DEFINITION:HAS[#addPayload[true]]
{
-addPayload = DEL
TANK
{
name = ComSatBus
//mass = 0
utilization = 1
fillable = True
amount = 0.0
maxAmount = 0.0
}
TANK
{
name = WeatherSatBus
//mass = 0
utilization = 1
fillable = True
amount = 0.0
maxAmount = 0.0
}
TANK
{
name = SoundingPayload
//mass = 0
utilization = 1
fillable = True
amount = 0.0
maxAmount = 0.0
}
}

// Balloon insulation fixes
@TANK_DEFINITION:HAS[#balloonTemps[true]]
{

0 comments on commit 4b5cf4f

Please sign in to comment.