Update list of RCS thrusters for KSP v1.7.

This commit is contained in:
Casper V. Kristensen 2019-06-20 16:56:47 +02:00
parent 0e6904da89
commit 7e0151166d
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -22,8 +22,10 @@ function rcs_maxthrust {
// Source: https://wiki.kerbalspaceprogram.com/wiki/Reaction_Control_System#Thrusters // Source: https://wiki.kerbalspaceprogram.com/wiki/Reaction_Control_System#Thrusters
local rcs_thrusts is LEXICON( // in kN local rcs_thrusts is LEXICON( // in kN
"RCSBlock", 1.0, // RV-105 RCS Thruster Block "RCSBlock", 1.0, // RV-105 RCS Thruster Block
"RCSBlock.v2", 1.0, // RV-105 RCS Thruster Block (KSP v1.7+)
"linearRcs", 2.0, // Place-Anywhere 7 Linear RCS Port "linearRcs", 2.0, // Place-Anywhere 7 Linear RCS Port
"vernierEngine", 12.0 // Vernor Engine "vernierEngine", 12.0, // Vernor Engine
"mk1-3pod", 1.0 // Mk1-3 Command Pod
). ).
local thrust_sum is 0. local thrust_sum is 0.
@ -32,7 +34,7 @@ function rcs_maxthrust {
if rcs_thrusts:haskey(part_name) { if rcs_thrusts:haskey(part_name) {
set thrust_sum to thrust_sum + rcs_thrusts[part_name]. set thrust_sum to thrust_sum + rcs_thrusts[part_name].
} else { // if non-stock part } else { // if non-stock part
print "WARNING: Unknown RCS Thruster '" + part_name + "'; using default thrust of 1.0 kN". print "WARNING: Unknown RCS Thruster '" + part_name + "': using default thrust of 1.0 kN".
set thrust_sum to thrust_sum + 1.0. set thrust_sum to thrust_sum + 1.0.
} }
} }