Skip to content

Commit

Permalink
Merge pull request #48 from zer0Kerbal/4.0.9.9.1-prerelease
Browse files Browse the repository at this point in the history
# Version 4.0.9.9.1-prerelease - A Bigger Hammer

# This is PRE-RELEASE - and WILL break saves

- 01 Dec 2021  
- Release for Kerbal Space Program [KSP 1.12.2] 

## DO A CLEAN INSTALL: DELETE EXISTING THEN RE-INSTALL  

## WARNING: Only [CurseForge][CRSFG:url] version will include .dll’s

# Removed

- duplicate patches (SSPX.cfg)

# GUI Icons

- customized app icon with permission from taniwha! thank you!

# Localization

- added Chinese [zh-cn.cfg]

# CurseForge/Overwolf

- corrected archive packaging for installer

# Backend
- folder maintenance
- moved Patches --> Compatibility
- update automation to latest version
- convert _release.json to schema 1.0.2.1

# Kerbal Changelog

- due to concerns about bloating the game and module manager .cache files
- therefor changelogs might be affecting game load times
- renamed to [Changelog.kcl] and updates have been suspended.

# [ScienceLabs.cfg] v1.0.2.1

- add FullyEquipped = true (might increase productivity factor)
- Lint and maintenance pass

# [ExperienceTraits.cfg] v1.0.0.1

- adjust patch [EXPERIENCE_TRAIT[Pilot]] in order to reduce log spam
- adjust patch [EXPERIENCE_TRAIT[Engineer]] in order to reduce log spam

# [Launchclamps.cfg] v1.0.2.0

- the clampBurgler has been caught and locked away.

# [Tanks.cfg] v1.0.1.0

- append '-ore' to stock tanks
- adjusted :NEEDS so always will create / modify, even if a switcher add on is installed
- added tags:BEFORE[SimpleConstruction]
- remov tags:BEFORE[SimpleConstruction]
- adjust tags part of part creation - replacing ore with either metal or rocketparts
- adjust timing of patches to ensure proper execution
  
# [DockingPorts.cfg] v1.0.2.0

- [ELLauchpad]
  - PadName = $#../Title# (to help self label Pads)
  - adjusted [spawnOffset ] to help prevent clipping. NOTE: if rotate/offset gizmo's have been used this offset will not help. Feature Request has been submitted to taniwha.
- [ELTarget]
  - remove [TargetTransform]
  - remove [SpawnHeightOffset]
  - %TargetName = $#../Title# (to help self label Targets)
  - adjusted [spawnOffset ] to help prevent clipping. NOTE: if rotate/offset gizmo's have been used this offset will not help. Feature Request has been submitted to taniwha.
- [ELWorkshop]
  - add UnManned Productivity = 0.25; 
  - add IgnoreCrewCapacity = true;

# [CrewedPods.cfg] v1.0.1.1

- add to none command/crewed parts: FullyEquipped = true (might increase productivity factor)

### Status

- Issues/Milestones
 - closes #10 - Create SC Icon
 - closes #17 - 4.0.99.1-prerelease
 - closes #13 - 1.1.2.99-prerelease - two week CurseForge
 - closes #19 - Localization - master
 - closes #21 - Localization - Chinese
 - closes #34 - Localization - German
 - closes #35 - Duplicate patches
 - closes #36 - Launchclamps
 - updates #36 - Spawn location
 - closes #43 - Version 
 - closes #44 - Legal MumboJumbo 
 - closes #45 - Update documentation  
 - closes #46 - Release 4.0.9.9.1-prerelease 
 - closes #47 - Social Media 
- Pull Requests
  - closes #48 - 4.0.9.9.1 prerelease - A Bigger Hammer 
  - closes # - [ImgBot] Optimize images - contributed by imgbot[bot]
- *** Possible future changes ***
  - #40 - Stock Recycler
  and more

- [ELWorkshop]
  - newly discovered KSPFields
  - bool FullyEquipped;
  - bool - IgnoreCrewCapacity = true;
  - float - ProductivityFactor = 1f;
  - float - UnmannedProductivity;
  • Loading branch information
zer0Kerbal authored Dec 2, 2021
2 parents 990b57c + 1901820 commit 88dd4a3
Show file tree
Hide file tree
Showing 47 changed files with 944 additions and 575 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .gitignore v2.0.0.1
# .gitignore v2.0.0.2

# Prerequisites
*.d
Expand Down Expand Up @@ -50,7 +50,6 @@


# zer0Kerbal common files
LegalMumboJumbo/
Archive/
Old/
flaticons/
Expand Down
Binary file modified GameData/ExtraplanetaryLaunchpads/Textures/icon_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// ExperienceTraits.cfg v1.0.0.1
// SimpleConstruction! (SCON!)!
// created:
// updated: 23 Nov 2021

@EXPERIENCE_TRAIT[Pilot]
{
EFFECT
{
%name = ELSurveySkill
}
}

@EXPERIENCE_TRAIT[Engineer]
{
EFFECT
{
%name = ELConstructionSkill
}
}

// GPLv2
// zer0Kerbal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Resources.cfg v1.0.2.0
// SimpleConstruction!
// SimpleConstruction! (SCON!)!
// created:
// updated: 11 Sept 2021

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// B9TankTypes.cfg v1.0.1.0
// SimpleConstruction!
// SimpleConstruction! (SCON!)!
// created:
// updated: 01 Jun 2021

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
// CrewedPods.cfg v1.0.1.1
// SimpleConstruction
// SimpleConstruction! (SCON!)
// created: 01 Dec 2019
// updated: 05 Feb 2020

@PART[*]:HAS[@MODULE[ModuleCommand]:HAS[#minimumCrew[>0]],!MODULE[ELWorkshop]]:FOR[Launchpad]
{
MODULE {
MODULE
{
name = ELWorkshop
// command pods are a tad cramped and are really meant for other
// purposes (like flying)
ProductivityFactor = 0.25
// Unfortunately, due to MM limitations, probe cores get a workshop too
//IgnoreCrewCapacity = false
IgnoreCrewCapacity = false
FullyEquipped = false
}
}

Expand All @@ -20,8 +22,9 @@
MODULE
{
name = ELWorkshop
ProductivityFactor = 4 // 0.4 // 4
ProductivityFactor = 4 // filled with too much stuff
IgnoreCrewCapacity = false
FullyEquipped = true
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
// DockingPorts.cfg v1.0.0.2
// SimpleConstruction
// DockingPorts.cfg v1.0.2.0
// SimpleConstruction! (SCON!)
// created: 01 Dec 2019
// updated: 2020 03 27
// updated: 28 Nov 2021

@PART[*]:HAS[@MODULE[ModuleDockingNode]:HAS[!MODULE[ELLaunchPad]]]:NEEDS[Launchpad,SimpleConstruction]:FOR[SimpleConstruction]
{
@description:NEEDS[SimpleConstruction] ^= :$: <color=orange>\nSimpleConstruction Augmented. </color>:

// node_stack_LaunchPos = 0.0, 1.5, 0.0, 0.0, 1.0, 0.0, 2

MODULE
{
name = ELTarget
TargetName = Pad
TargetTransform = LaunchPos
SpawnHeightOffset = 0.2
SpawnTransform = LaunchPos
}

MODULE
{
name = ELWorkshop
ProductivityFactor = 1
UnmannedProductivity = 0.25
ProductivityFactor = 0
}

// Add Build Capability
MODULE
{
name = ELLaunchpad
SpawnTransform = LaunchPos
%PadName = #$../title$
SpawnHeightOffset = 0.25
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
// created: 11 Sep 2021
// updated:

// { FlowMode.None = 0, FlowMode.Out = 1, FlowMode.In = 2, FlowMode.Both = 3 }

@PART[RadialDrill]:NEEDS[LaunchPad,SimpleConstruction]:FOR[SimpleConstruction]
{
RESOURCE
{
name = Ore
amount = 0
maxAmount = 10
FlowMode = 1
}
}

Expand All @@ -20,6 +23,7 @@
name = Ore
amount = 0
maxAmount = 5
FlowMode = FlowMode.Out
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
// created: 11 Sept 2021
// updated:

@PART[micro1x1,micro2x2]:NEEDS[Foundations,Launchpad,SimpleConstruction]:FOR[SimpleConstruction]
@PART[sc-micro1x1,sc-micro2x2]:NEEDS[Foundations,Launchpad,SimpleConstruction]:FOR[SimpleConstruction]
{

@description ^= :$: Foundations.:
MODULE
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
MODULE
{
name = ELWorkshop
ProductivityFactor = 1
ProductivityFactor = .25
}

// Add Build Capability
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ISRU.cfg v1.0.1.0
// SimpleConstruction! (SCON!)
// SimpleConstruction! (SCON!)!
// created: 2020 Apr 20
// updated: 06 Sep 2021

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Launchclamps.cfg v1.0.2.0
// SimpleConstruction! (SCON!)
// created: 2020 Apr 20
// updated: 25 Oct 2021

// adapted from @schlosrat

+PART[launchClamp1]:NEEDS[Launchpad,SimpleConstruction]:AFTER[Launchpad]
{
@name = ELExtendingLaunchClamp
// The part is not meant to be placed directly. Rather, EL will do a
// switch when loading the craft file.
TechHidden = true
@category = none
-tags = cck-sc
@MODULE[LaunchClamp] {
@name = ELExtendingLaunchClamp
}
}

@PART[*]:HAS[@MODULE[ELExtendingLaunchClamp]]:NEEDS[Launchpad,FerramAerospaceResearch,SimpleConstruction]:AFTER[FerramAerospaceResearch]
{
-MODULE[GeometryPartModule] { }
-MODULE[FARAeroPartModule] { }
}

// GPLv2
// zer0Kerbal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ScienceLabs.cfg v1.0.2.0
// ScienceLabs.cfg v1.0.2.1
// SimpleConstruction! (SCON!)
// created: 01 Dec 2019
// updated: 05 May 2021
// updated: 01 Dec 2021

@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[LaunchPad,SimpleConstruction]:FOR[SimpleConstruction]
{
Expand Down Expand Up @@ -43,7 +43,8 @@
MODULE
{
name = ELWorkshop
ProductivityFactor = 7 // 0.6 // 7
ProductivityFactor = 7
FullyEquipped = true
}

RESOURCE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// Tanks.cfg v1.0.1.0
// SimpleConstruction! (SCON!)
// created: 2020 03 27
// updated: 23 Nov 2021

// *************************** Resource Reference
// name = Ore
// unitCost = 0.02
// unitMass = 0.01
// volume = 5
//
// Metal
// unitCost = 9.36 // 14.24
// unitMass = 0.0078
// volume = 5
//
// RocketParts
// unitCost = 1.5
// unitMass = 0.0025
// volume = 5
// *************************** Resource Reference end

@PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction]:BEFORE[SimpleConstruction]
{
%tags ^= :$: cck-sc cck-el:
}

// +PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[!B9PartSwitch,!InterstellarFuelSwitch]:FOR[SimpleConstruction]
+PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction]:FOR[SimpleConstruction]
{
@name ^= :$:-metal:
@title ^= :$: (Metal):
@description ^= :(materials):metals:
@entryCost *= 6
@cost *= 6
@tags ^= :(ore):metal:

@RESOURCE[Ore]
{
@name = Metal
}
}

+PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction]:FOR[SimpleConstruction]
{
@name ^= :$:-rocketparts:
@title ^= :$: (RocketParts):
@description ^= :(materials):RocketParts:
@entryCost *= 1.6
@cost *= 1.6
@tags ^= :(ore):rocketparts parts :

@RESOURCE[Ore]
{
@name = RocketParts
}
}

@PART[SmallTank,LargeTank,RadialOreTank]:NEEDS[SimpleConstruction]:FOR[SimpleConstruction]
{
@name ^= :$:-ore:
@title ^= :$: (Ore):
}

// GPLv2
// zer0Kerbal
10 changes: 10 additions & 0 deletions GameData/SimpleConstruction/Expat-MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The MIT License (MIT)

Copyright (c) 2016 Alexandr Bezenkov
Copyright © 2020,2021 zer0Kerbal

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 changes: 25 additions & 0 deletions GameData/SimpleConstruction/Localization/quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Translation Guide

If you want to help translate this mod, I greatly appreciate it! Follow this quick guide to get started.

### How to translate
To create a translation for your language, make a copy of the file *en_us.cfg* and name
them accordingly to your language:
* *es-es.cfg* for Spanish
* *es-mx.cfg* for Mexican Spanish
* *ja.cfg* for Japanese
* *ru.cfg* for Russian
* *zh-cn.cfg* for Simplified Chinese

*Again:*
* *es-es* for Spanish
* *es-mx* for Mexican Spanish
* *ja* for Japanese
* *ru* for Russian
* *zh-cn* for Simplified Chinese

### What not to translate
There are some characters that should not be translated into another language and be kept in the files as is
1. the tags should not be replaced. Instead the tags in the new language should be appended.
2. control sequences like '\n', '\t' or similar.
3. HTML Tags like &lt;b&gt;...&lt;/b&gt;, &lt;i&gt;...&lt;/i&gt; or similar
Loading

0 comments on commit 88dd4a3

Please sign in to comment.