Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.9.9.1 prerelease - A Bigger Hammer #48

Merged
merged 13 commits into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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