add cursed custom mods

This commit is contained in:
Izaya 2022-12-08 11:11:28 +11:00
parent ffb910115b
commit a35968b180
7 changed files with 241 additions and 0 deletions

32
CKAN/MonopropTanks.ckan Normal file
View File

@ -0,0 +1,32 @@
{
"spec_version": "v1.4",
"name": "Monopropellant Tank Switch",
"identifier": "SKSMonopropTanks",
"abstract": "Adds monopropellant to the B9PS configs CryoTanks uses. May have unexpected effects without it.",
"author": "Izaya",
"license": "restricted",
"version": "v1",
"release_status": "stable",
"ksp_version_min": "1.8.0",
"ksp_version_max": "1.12.99",
"depends": [
{ "name": "B9PartSwitch" },
{ "name": "CryoTanks" }
],
"resources": {
"homepage": "https://git.shadowkat.net/izaya/KSP-mods/MonopropTanks",
"repository": "https://git.shadowkat.net/izaya/KSP-mods",
},
"install" : [
{ "file" : "ksp-mods/MonopropTanks",
"install_to" : "GameData"
}
],
"tags": [
"parts",
"config"
],
"download": "https://git.shadowkat.net/izaya/KSP-mods/archive/master.zip",
"download_content_type": "application/zip",
"install_size": 437410
}

28
CKAN/SKSParts.ckan Normal file
View File

@ -0,0 +1,28 @@
{
"spec_version": "v1.4",
"name": "SKS Parts",
"identifier": "SKSParts",
"abstract": "A variety of varyingly cursed, evil, or otherwise fun parts.",
"author": "Izaya",
"license": "restricted",
"version": "v1",
"release_status": "stable",
"ksp_version_min": "1.8.0",
"ksp_version_max": "1.12.99",
"resources": {
"homepage": "https://git.shadowkat.net/izaya/KSP-mods/SKSParts",
"repository": "https://git.shadowkat.net/izaya/KSP-mods",
},
"install" : [
{ "file" : "ksp-mods/SKSParts",
"install_to" : "GameData"
}
],
"tags": [
"parts",
"config"
],
"download": "https://git.shadowkat.net/izaya/KSP-mods/archive/master.zip",
"download_content_type": "application/zip",
"install_size": 437410
}

31
CKAN/kOSSAS.ckan Normal file
View File

@ -0,0 +1,31 @@
{
"spec_version": "v1.4",
"name": "kOS for SAS",
"identifier": "SKSkOSSAS",
"abstract": "Adds a kOS computer to every part with built-in SAS, scaling with SAS functionality.",
"author": "Izaya",
"license": "restricted",
"version": "v1",
"release_status": "stable",
"ksp_version_min": "1.8.0",
"ksp_version_max": "1.12.99",
"depends": [
{ "name": "kOS" }
],
"resources": {
"homepage": "https://git.shadowkat.net/izaya/KSP-mods/RSDedup",
"repository": "https://git.shadowkat.net/izaya/KSP-mods",
},
"install" : [
{ "file" : "ksp-mods/kOSSAS",
"install_to" : "GameData"
}
],
"tags": [
"parts",
"config"
],
"download": "https://git.shadowkat.net/izaya/KSP-mods/archive/master.zip",
"download_content_type": "application/zip",
"install_size": 437410
}

View File

@ -0,0 +1,36 @@
@PART[*]:NEEDS[!ModularFuelTanks&!RealFuels]:AFTER[zzz_CryoTanks]
{
@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]]
{
SUBTYPE
{
name = MonoPropellant
title = #LOC_B9PartSwitch_tank_type_monoprop // MonoPropellant
tankType = MonoPropellant
addedMass = #$../../massOffset$
addedCost = #$../../costOffset$
}
}
}
//B9_TANK_TYPE
//{
// name = MonoPropellant
// title = #LOC_B9PartSwitch_tank_type_monoprop // MonoPropellant
// tankMass = 0.0004
// tankCost = 0.75
//
// RESOURCE
// {
// name = MonoPropellant
// unitsPerVolume = 1.5
// }
//}
//
// MODULE
// {
// name = ModuleRCSFX
// stagingEnabled = False
// thrusterTransformName = RCSthruster
// thrusterPower = 1
// resourceName = MonoPropellant

31
SKSParts/Parts/LFRCS.cfg Normal file
View File

@ -0,0 +1,31 @@
// RCSBlock_v2
// RCSblock_01_small
+PART[RCSBlock_v2|RCSblock_01_small|restock-rcs-block-quad-angled-1|restock-rcs-block-quad-angled-mini-1]:AFTER[ReStock] {
@name ^= :^.*$:SKS_$0_LFOX:
@title ^= :RV:LV:
@MODULE[ModuleRCSFX]
{
@resourceName = LiquidFuel
precisionFactor = 22.5
fullThrust = True
!atmosphereCurve {}
atmosphereCurve
{
key = 0 260
key = 1 86
}
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
resourceFlowMode = STAGE_PRIORITY_FLOW
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
resourceFlowMode = STAGE_PRIORITY_FLOW
}
}
}

View File

@ -0,0 +1,70 @@
PART {
name = sks_25mToroid
module = Part
author = ShadowKatStudios
rescaleFactor = 2.0
node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0
node_stack_top2 = 0.0, 0.125, 0.0, 0.0, -1.0, 0.0
node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0
node_stack_bottom2 = 0.0, -0.125, 0.0, 0.0, 1.0, 0.0
TechRequired = propulsionSystems
entryCost = 4000
cost = 698.16
category = FuelTank
subcategory = 0
title = R-480 'Spanakopita' External Tank
manufacturer = #autoLOC_501633 //#autoLOC_501633 = Probodobodyne Inc
description = ...
attachRules = 1,0,1,1,1
mass = 0.04
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
breakingForce = 50
breakingTorque = 50
maxTemp = 2000 // = 3000
fuelCrossFeed = True
bulkheadProfiles = size2, srf
tags = fueltank mono monopropellant propellant
MODEL:NEEDS[ReStock] {
model = ReStock/Assets/FuelTank/restock-fueltank-foil-torus-1
}
MODEL:NEEDS[!ReStock] {
model = Squad/Parts/FuelTank/FoilTanks/ToroidTank
}
RESOURCE {
name = LiquidFuel
amount = 216
maxAmount = 216
}
RESOURCE {
name = Oxidizer
amount = 264
maxAmount = 264
}
MODULE {
name = ModuleB9PartSwitch
moduleID = fuelSwitch
switcherDescription = #LOC_NFLaunchVehicles_switcher_fuel_title
affectDragCubes = false
baseVolume = 480
SUBTYPE {
name = LFO
tankType = LFOX
title = LF/Ox
addedCost = -220.32
}
SUBTYPE {
name = LF
tankType = LF
title = LF
addedCost = -220.32
}
}
MODULE:NEEDS[ConnectedLivingSpace] {
name = ModuleConnectedLivingSpace
passable = true
}
}

13
kOSSAS/Patches/kOSSAS.cfg Normal file
View File

@ -0,0 +1,13 @@
@PART[*]:HAS[@MODULE[ModuleSAS]]:NEEDS[kOS] {
@MODULE[ModuleSAS] {
&SASServiceLevel = 0
}
%MODULE[kOSProcessor] {
name = kOSProcessor
diskSpace = #$/MODULE[ModuleSAS]/SASServiceLevel$
@diskSpace += 1
@diskSpace *= 4096
ECPerBytePerSecond = 0
ECPerInstruction = 0.000004
}
}