Skip to content

Commit

Permalink
Removed unnecessary resource
Browse files Browse the repository at this point in the history
Removed TelescopePayload
Changed TelescopePayload requirements to use the new ResearchPayload resource bc it is so similar
  • Loading branch information
wyllowthewisp committed Sep 30, 2024
1 parent 12ea277 commit 9db0f2c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ CONTRACT_TYPE
{
name = HasResource
type = HasResource
resource = TelescopePayload
minQuantity = 600 // placeholder, should be at least a few hundred kg, rn is 300 kg worth
title = Bring @minQuantity units of TelescopePayload as replacement instruments
resource = ResearchPayload
minQuantity = 600 // WFPC2 + COSTAR was 571 kg
title = Bring @minQuantity units of ResearchPayload as replacement instruments
}

PARAMETER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ CONTRACT_TYPE
{
name = HasResource
type = HasResource
resource = TelescopePayload
minQuantity = 600 // placeholder, should be at least a few hundred kg, rn is 300 kg worth
title = Bring @minQuantity units of TelescopePayload as replacement instruments
resource = ResearchPayload
inQuantity = 600 // WFPC2 + COSTAR was 571 kg
title = Bring @minQuantity units of ResearchPayload as replacement instruments
}

PARAMETER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ CONTRACT_TYPE
name = HasTelescopePayload
type = HasResource
resource = TelescopePayload
minQuantity = 10000 // 5200 kg mass difference between Compton and Hubble, 10000 units is 5000 kg
title = Craft must carry 10000 units of TelescopePayload.
minQuantity = 5000 // 5200 kg mass difference between Compton and Hubble
title = Craft must carry @minQuantity units of ResearchPayload as additional instrumentation.
hideChildren = true
disableOnStateChange = true
}
Expand Down
17 changes: 0 additions & 17 deletions GameData/RP-1/Contracts/RP0_Contract_Resources.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@ RESOURCE_DEFINITION
}
}

RESOURCE_DEFINITION
{
name = TelescopePayload
density = 0.0005 // placeholder
unitCost = 0.0 // placeholder
flowMode = NO_FLOW
transfer = NONE
isTweakable = true
isVisible = true
volume = 1
RESOURCE_DRAIN_DEFINITION
{
isDrainable = false
showDrainFX = false
}
}

RESOURCE_DEFINITION
{
name = ComSatPayload
Expand Down

0 comments on commit 9db0f2c

Please sign in to comment.