Skip to content

Commit c5157a8

Browse files
authored
Merge pull request #1387 from UmbraSpaceIndustries/DEVELOP
SwapConverter Fixes
2 parents 7a46fa5 + 7404d16 commit c5157a8

37 files changed

+831
-2853
lines changed

FOR_RELEASE/GameData/000_USITools/CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.11.1 - 2018.03.11
2+
-----------------
3+
SwapConverter Fixes
4+
15
0.11.0 - 2018.03.07
26
------------------
37
KSP 1.4.0 Compatibility
2.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

FOR_RELEASE/GameData/000_USITools/USITools.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"VERSION":{
1111
"MAJOR":0,
1212
"MINOR":11,
13-
"PATCH":0,
13+
"PATCH":1,
1414
"BUILD":0
1515
},
1616
"KSP_VERSION":{

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.54.1 - 2018.03.11
2+
-----------------
3+
SwappableConverter Fixes
4+
15
0.54.0 - 2018.03.07
26
------------------
37
KSP 1.4.0 Compatibility
Binary file not shown.
Binary file not shown.
Binary file not shown.

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/MKS.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"VERSION":{
1111
"MAJOR":0,
1212
"MINOR":54,
13-
"PATCH":0,
13+
"PATCH":1,
1414
"BUILD":0
1515
},
1616
"KSP_VERSION":{

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/Parts/Duna_Agriculture.cfg

+79-33
Original file line numberDiff line numberDiff line change
@@ -142,19 +142,29 @@ PART
142142
}
143143
144144
//*********************
145-
146145
MODULE
147146
{
148-
name = ModuleResourceConverter_USI
147+
name = ModuleSwapControllerNew
148+
typeName = Config
149+
ResourceCosts = SpecializedParts,6,MaterialKits,30,ElectricCharge,30
150+
}
151+
152+
MODULE
153+
{
154+
name = ModuleSwappableConverterNew
155+
bayName = C1
156+
moduleIndex = 0
157+
isConverter = true
158+
}
159+
160+
MODULE
161+
{
162+
name = ModuleSwapOption
149163
ConverterName = Agroponics
150164
StartActionName = Start Agroponics
151165
StopActionName = Stop Agroponics
152-
153166
UseSpecialistBonus = true
154-
SpecialistEfficiencyFactor = 0.2
155-
SpecialistBonusBase = 0.05
156167
ExperienceEffect = BotanySkill
157-
Efficiency = 1
158168
159169
INPUT_RESOURCE
160170
{
@@ -197,16 +207,12 @@ PART
197207
198208
MODULE
199209
{
200-
name = ModuleResourceConverter_USI
210+
name = ModuleSwapOption
201211
ConverterName = Cultivate(S)
202212
StartActionName = Start Cultivate(S)
203213
StopActionName = Stop Cultivate(S)
204-
205214
UseSpecialistBonus = true
206-
SpecialistEfficiencyFactor = 0.2
207-
SpecialistBonusBase = 0.05
208215
ExperienceEffect = BotanySkill
209-
Efficiency = 1
210216
211217
INPUT_RESOURCE
212218
{
@@ -254,16 +260,12 @@ PART
254260
255261
MODULE
256262
{
257-
name = ModuleResourceConverter_USI
263+
name = ModuleSwapOption
258264
ConverterName = Cultivate(D)
259265
StartActionName = Start Cultivate(D)
260266
StopActionName = Stop Cultivate(D)
261-
262267
UseSpecialistBonus = true
263-
SpecialistEfficiencyFactor = 0.2
264-
SpecialistBonusBase = 0.05
265268
ExperienceEffect = BotanySkill
266-
Efficiency = 1
267269
268270
INPUT_RESOURCE
269271
{
@@ -311,16 +313,12 @@ PART
311313
312314
MODULE
313315
{
314-
name = ModuleResourceConverter_USI
316+
name = ModuleSwapOption
315317
ConverterName = Agriculture(S)
316318
StartActionName = Start Agriculture(S)
317319
StopActionName = Stop Agriculture(S)
318-
319320
UseSpecialistBonus = true
320-
SpecialistEfficiencyFactor = 0.2
321-
SpecialistBonusBase = 0.05
322321
ExperienceEffect = AgronomySkill
323-
Efficiency = 1
324322
325323
INPUT_RESOURCE
326324
{
@@ -371,6 +369,66 @@ PART
371369
}
372370
}
373371
372+
MODULE
373+
{
374+
name = ModuleSwapOption
375+
ConverterName = Agriculture(D)
376+
StartActionName = Start Agriculture(D)
377+
StopActionName = Stop Agriculture(D)
378+
UseSpecialistBonus = true
379+
ExperienceEffect = AgronomySkill
380+
381+
INPUT_RESOURCE
382+
{
383+
ResourceName = Dirt
384+
Ratio = 0.0025
385+
}
386+
INPUT_RESOURCE
387+
{
388+
ResourceName = Water
389+
Ratio = 0.0025000
390+
}
391+
392+
INPUT_RESOURCE
393+
{
394+
ResourceName = Fertilizer
395+
Ratio = 0.00000500
396+
}
397+
OUTPUT_RESOURCE
398+
{
399+
ResourceName = Organics
400+
Ratio = 0.00005000
401+
DumpExcess = False
402+
}
403+
INPUT_RESOURCE
404+
{
405+
ResourceName = ElectricCharge
406+
Ratio = 5.46
407+
}
408+
INPUT_RESOURCE
409+
{
410+
ResourceName = Machinery
411+
Ratio = 0.000002
412+
}
413+
OUTPUT_RESOURCE
414+
{
415+
ResourceName = Recyclables
416+
Ratio = 0.000002
417+
DumpExcess = true
418+
}
419+
REQUIRED_RESOURCE
420+
{
421+
ResourceName = Machinery
422+
Ratio = 100
423+
}
424+
REQUIRED_RESOURCE
425+
{
426+
ResourceName = Organics
427+
Ratio = 100
428+
}
429+
}
430+
431+
374432
MODULE
375433
{
376434
name = ModuleResourceConverter_USI
@@ -434,19 +492,7 @@ PART
434492
}
435493
}
436494
437-
MODULE
438-
{
439-
name = ModuleSwapController
440-
typeName = Config
441-
ResourceCosts = SpecializedParts,6,MaterialKits,30,ElectricCharge,30
442-
}
443495
444-
MODULE
445-
{
446-
name = ModuleSwappableConverter
447-
bayName = C1
448-
}
449-
450496
MODULE
451497
{
452498
name = USI_ModuleFieldRepair

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/Parts/Duna_Kerbitat.cfg

+8-13
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,14 @@ PART
118118
name = ModulePowerCoupler
119119
}
120120

121-
//*********************
122-
121+
MODULE
122+
{
123+
name = ModuleSwappableConverter
124+
bayName = C1
125+
typeName = Config
126+
ResourceCosts = SpecializedParts,27,MaterialKits,135,ElectricCharge,135
127+
}
128+
123129
MODULE
124130
{
125131
name = ModuleLifeSupportRecycler
@@ -173,18 +179,7 @@ PART
173179
}
174180
}
175181

176-
MODULE
177-
{
178-
name = ModuleSwapController
179-
typeName = Config
180-
ResourceCosts = SpecializedParts,27,MaterialKits,135,ElectricCharge,135
181-
}
182182

183-
MODULE
184-
{
185-
name = ModuleSwappableConverter
186-
bayName = C1
187-
}
188183
MODULE
189184
{
190185
name = USI_ModuleFieldRepair

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/Parts/Duna_LogCenter.cfg

-46
Original file line numberDiff line numberDiff line change
@@ -152,50 +152,4 @@ PART
152152
{
153153
name = ModuleOrbitalLogistics
154154
}
155-
156-
MODULE
157-
{
158-
name = ModuleResourceConverter_USI
159-
ConverterName = Transport Credits
160-
StartActionName = Start T-Credits
161-
StopActionName = Stop T-Credits
162-
163-
UseSpecialistBonus = false
164-
Efficiency = 1
165-
166-
INPUT_RESOURCE
167-
{
168-
ResourceName = MaterialKits
169-
Ratio = 0.2
170-
}
171-
INPUT_RESOURCE
172-
{
173-
ResourceName = LiquidFuel
174-
Ratio = 0.45
175-
}
176-
INPUT_RESOURCE
177-
{
178-
ResourceName = Oxidizer
179-
Ratio = 0.55
180-
}
181-
INPUT_RESOURCE
182-
{
183-
ResourceName = ElectricCharge
184-
Ratio = 10
185-
}
186-
OUTPUT_RESOURCE
187-
{
188-
ResourceName = TransportCredits
189-
Ratio = 1
190-
DumpExcess = true
191-
}
192-
}
193-
194-
RESOURCE
195-
{
196-
name = TransportCredits
197-
amount = 0
198-
maxAmount = 100000
199-
isTweakable = false
200-
}
201155
}

0 commit comments

Comments
 (0)