Skip to content

Commit

Permalink
variable and syntax fixes
Browse files Browse the repository at this point in the history
Added commas and an index value
  • Loading branch information
Ballatik committed Jan 28, 2024
1 parent 18d9e1d commit 00005f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions GameData/RP-1/Contracts/Space Stations/Early Space Station.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ CONTRACT_TYPE
DATA
{
type = int
index = $RepeatEarlySpaceStation_Count + 0
crewRequired = @/crewList.ElementAt(@/index)
}

Expand All @@ -111,11 +112,12 @@ CONTRACT_TYPE
}
PARAMETER
{
name = Crewmembers
type = HasCrew
minCrew = @/crewRequired
title = Has at least @/crewRequired crew members.
name = HasCapacity
type = HasCrewCapacity
minCapacity = @/crewRequired
title = Space for at least @/crewRequired crew
hideChildren = true
disableOnStateChange = false
}
PARAMETER
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ EXPERIMENT_DEFINITION
ec_rate = 0.001 //Placeholder
data_rate = 1 //Placeholder
@data_rate /= 2592000 //30d Placeholder
requires = CrewMin:1 SunAngleMin:0,SunAngleMax:60 // Necessitates a ray through athmosphere
requires = CrewMin:1, SunAngleMin:0,SunAngleMax:60 // Necessitates a ray through athmosphere
resources =
crew_operate = True
hide_when_unavailable = True
Expand Down Expand Up @@ -239,7 +239,7 @@ EXPERIMENT_DEFINITION
ec_rate = 0.0001 //Sourced from MOL Proposal Documentation
data_rate = 1 //Placeholder
@data_rate /= 2592000 //30d Placeholder
requires = CrewMin:2 TrackingStationLevelMin:4
requires = CrewMin:2, TrackingStationLevelMin:4
resources =
crew_operate = True
hide_when_unavailable = True
Expand Down Expand Up @@ -286,7 +286,7 @@ EXPERIMENT_DEFINITION
ec_rate = 0.0005 //Sourced from MOL Proposal Documentation
data_rate = 1 //Placeholder
@data_rate /= 2592000 //30d Placeholder
requires = CrewMin:2 TrackingStationLevelMin:4
requires = CrewMin:2, TrackingStationLevelMin:4
resources =
crew_operate = True
hide_when_unavailable = True
Expand Down Expand Up @@ -381,7 +381,7 @@ EXPERIMENT_DEFINITION
ec_rate = 0.01 //Sourced from MOL Proposal Documentation
data_rate = 1 //Placeholder
@data_rate /= 2592000 //30d
requires = CrewMin:1 Sunlight
requires = CrewMin:1, Sunlight
resources =
crew_operate = True
hide_when_unavailable = True
Expand Down

0 comments on commit 00005f1

Please sign in to comment.