Skip to content

Commit

Permalink
Fix Space Dust conflict with OAO parts
Browse files Browse the repository at this point in the history
Fixes #1231
  • Loading branch information
zorg2044 committed Jun 17, 2022
1 parent c51ed4e commit 193ca5e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 17 deletions.
44 changes: 29 additions & 15 deletions Gamedata/Bluedog_DB/Compatibility/SpaceDust/SpaceDust.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@PART[bluedog_OAO3_PEP_instrument]:NEEDS[SpaceDust]
+PART[bluedog_OAO3_PEP_instrument]:NEEDS[SpaceDust]
{
@name= bluedog_OAO3_PEP_instrument_SD
@title = AOO-WPE "Bentham" Advanced Ultraviolet Telescope (Space Dust)
@real_title = OAO-PEP "Copernicus" Ultraviolet Instrument Package (Space Dust)
@description = Resource detection capabilities via SpaceDust. Can detect Liquid Hydrogen and Oxidizer but not pinpoint distributions.
@real_description = Resource detection capabilities via SpaceDust. Can detect Liquid Hydrogen and Oxidizer but not pinpoint distributions.

-MODULE[DMModuleScienceAnimateGeneric],*{}

MODULE
{
name = ModuleSpaceDustTelescope
Expand All @@ -24,13 +32,18 @@
}
}
}
@PART[bluedog_OAO3_PEP_instrument]:FOR[zzzzBluedog_DB]:NEEDS[SpaceDust]
{
@description ^= :(.)$:$0\n<#3EA99F>Resource detection capabilities via SpaceDust. Can detect Liquid Hydrogen and Oxidizer but not pinpoint distributions.</color>:
}

@PART[bluedog_OAO_WEP_instrument]:NEEDS[SpaceDust]

+PART[bluedog_OAO_WEP_instrument]:NEEDS[SpaceDust]
{
@name= bluedog_OAO_WEP_instrument_SD
@title = AOO-WPE "Marquette" Ultraviolet Telescope (Space Dust)
@real_title = OAO-WEP Ultraviolet Instrument Package (Space Dust)
@description = Resource detection capabilities via SpaceDust. Can detect Oxidizer but not pinpoint distributions.
@real_description = Resource detection capabilities via SpaceDust. Can detect Oxidizer but not pinpoint distributions.

-MODULE[DMModuleScienceAnimateGeneric],*{}

MODULE
{
name = ModuleSpaceDustTelescope
Expand All @@ -50,13 +63,18 @@
}
}
}
@PART[bluedog_OAO_WEP_instrument]:FOR[zzzzBluedog_DB]
{
@description ^= :(.)$:$0\n<#3EA99F>Resource detection capabilities via SpaceDust. Can detect Oxidizer but not pinpoint distributions.</color>:
}

@PART[bluedog_OAO_SAO_instrument]:NEEDS[SpaceDust]

+PART[bluedog_OAO_SAO_instrument]:NEEDS[SpaceDust]
{
@name= bluedog_OAO_SAO_instrument_SD
@title = AOO-OSA "Smithson" Secondary Telescope (Space Dust)
@real_title = OAO-SAO Secondary Instrument Package (Space Dust)
@description = Resource detection capabilities via SpaceDust. Can detect Liquid Fuel but not pinpoint distributions.
@real_description = Resource detection capabilities via SpaceDust. Can detect Liquid Fuel but not pinpoint distributions.
-MODULE[DMModuleScienceAnimateGeneric],*{}


MODULE
{
name = ModuleSpaceDustTelescope
Expand All @@ -76,7 +94,3 @@
}
}
}
@PART[bluedog_OAO_SAO_instrument]:FOR[zzzzBluedog_DB]:NEEDS[SpaceDust]
{
@description ^= :(.)$:$0\n<#3EA99F>Resource detection capabilities via SpaceDust. Can detect Liquid Fuel but not pinpoint distributions.</color>:
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PART
vesselType = Probe
bulkheadProfiles = size00, size0

tags = OAO AOO Science telescope ultraviolet UV spectro telescope observatory copernicus xray
tags = OAO AOO Science telescope ultraviolet UV spectro telescope observatory copernicus xray

techtag = OAO

Expand All @@ -46,7 +46,7 @@ PART
animSpeed = 1 //Speed to play animation
endEventGUIName = Retract //Title of retract animation event/action group
showEndEvent = true //Do you want to show the retract event/action group - only displayed in-flight after deploy event triggered
startEventGUIName = Deploy //Title of deploy animation event/action group
startEventGUIName = deploy //Title of deploy animation event/action group
showStartEvent = true //Do you want to show the deploy event/action group
toggleEventGUIName = Toggle //Title of toggle animation event/action group - Plays deploy or retract animation based on current state - Is reversible while playing
showToggleEvent = false //Do you want to show the toggle event/action group - not recommended to be used together with deploy/retract events, too many unnecessary buttons
Expand Down
1 change: 1 addition & 0 deletions Gamedata/Bluedog_DB/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Bug fixes
- Fix LM top hatch textures
- Fix LM EVA antenna animation
- fix Star motor level 3 and E1 engine upgrades
- Fix Space Dust bug with OAO instruments. Dedicated Space Dust versions of the instruments are now used instead.

v1.10.2
New Content and features
Expand Down

0 comments on commit 193ca5e

Please sign in to comment.