Merge branch 'resource' into develop

This commit is contained in:
2019-08-30 21:21:18 -07:00
73 changed files with 1448 additions and 2 deletions

View File

@ -227,6 +227,11 @@ Localization
#LOC_RestockPlus_restock-decoupler-radial-tiny-1_description = It's an extra small decoupler for very small separation events.
#LOC_RestockPlus_restock-decoupler-radial-tiny-1_tags = restock break decouple separat split stag
// 0.625m
#LOC_RestockPlus_restock-claw-625-1_title = Advanced Grabbing Unit Junior
#LOC_RestockPlus_restock-claw-625-1_description = A smaller claw for grappling smaller things. Unfortunately, it does not pivot.
#LOC_RestockPlus_restock-claw-625-1_tags = restock a.r.m arm asteroid capture clam claw connect dock fasten grab join klaw nasa 625
// 1.875m
#LOC_RestockPlus_restock-decoupler-1875-1_title = TD-18 Decoupler
#LOC_RestockPlus_restock-decoupler-1875-1_description = This stack decoupler is a medium sized tool for splitting rockets.
@ -294,6 +299,16 @@ Localization
// ELECTRICAL
// ==========
// Radial
#LOC_RestockPlus_restock-apu-radial-1_title = NH-24 Monopropellant APU
#LOC_RestockPlus_restock-apu-radial-1_description = After playing with a children's pinwheel toy and asking themselves "how could this become more awesome", one engineer tried pointing a small rocket engine at it. The engineering team immediately got to work using it to generate electricity, and the Monopropellant APU was born
#LOC_RestockPlus_restock-apu-radial-1_tags = APU backup turbine array bank charge convert e/c elect energ pack power volt watt
#LOC_RestockPlus_restock-apu_name = APU turbine
#LOC_RestockPlus_restock-apu_start = Start turbine
#LOC_RestockPlus_restock-apu_stop = Stop turbine
#LOC_RestockPlus_restock-apu_toggle = Toggle turbine
// 1.875m
#LOC_RestockPlus_restock-battery-1875-1_title = Z-2500 Rechargeable Battery Bank
#LOC_RestockPlus_restock-battery-1875-1_description = Medium battery pack for medium battery applications.
@ -361,5 +376,18 @@ Localization
#LOC_RestockPlus_restock-ladder-static-3_title = Pegasus III Mobility Enhancer
#LOC_RestockPlus_restock-ladder-static-3_description = A much needed enhancement to a mobility enhancement. It is very long.
#LOC_RestockPlus_restock-ladder-static-3_tags =
// RESOURCE
// ==============
// 1.875m
#LOC_RestockPlus_restock-oretank-1875-1_title = Medium Holding Tank
#LOC_RestockPlus_restock-oretank-1875-1_description = A medium tank that can be used for storing raw materials. Warranty void if used to store snacks.
#LOC_RestockPlus_restock-oretank-1875-1_tags = black isru mine )mining (ore resource store restock
// 3.75m
#LOC_RestockPlus_restock-oretank-375-1_title = Jumbo Holding Tank
#LOC_RestockPlus_restock-oretank-375-1_description = A very large tank that can be used for storing raw materials. The manufacturer denies any claims that it has been re-purposed from a local farm
#LOC_RestockPlus_restock-oretank-375-1_tags = black isru mine )mining (ore resource store restock
}
}

View File

@ -0,0 +1,75 @@
// ReStock+ 0.1.0
// size 0 claw
PART
{
name = restock-claw-625-1
module = Part
author = Andrew Cassidy
MODEL
{
model = ReStockPlus/Assets/Coupling/restock-claw-625
scale = 1.0, 1.0, 1.0
}
rescaleFactor = 1.0
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,0,0,0
node_attach = 0.0, -0.01, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.06, 0.0, 0.0, -1.0, 0.0, 0
TechRequired = actuators
entryCost = 4000
cost = 350
mass = 0.03
category = Coupling
subcatagory = 0
title = #LOC_RestockPlus_restock-claw-625-1_title //Advanced Grabbing Unit Junior
manufacturer = #autoLOC_501631 //#autoLOC_501631 = STEADLER Engineering Corps
description = #LOC_RestockPlus_restock-claw-625-1_description
// A smaller claw for grappling smaller things. Unfortunately, it does not pivot.
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 8
maxTemp = 2000
bulkheadProfiles = size0, srf
tags = #LOC_RestockPlus_restock-claw-625-1_tags // restock a.r.m arm asteroid capture clam claw connect dock fasten grab join klaw nasa 625
MODULE
{
name = ModuleGrappleNode
nodeTransformName = Pivot
deployAnimationController = 1
nodetype = size0
captureRange = 0.06
captureMinFwdDot = 0.733
captureMaxRvel = 1
pivotRange = 0
}
MODULE
{
name = ModuleAnimateGeneric
animationName = Deploy
startEventGUIName = #autoLOC_502073 //#autoLOC_502073 = Arm
endEventGUIName = #autoLOC_502074 //#autoLOC_502074 = Disarm
actionGUIName = #autoLOC_502075 //#autoLOC_502075 = Toggle Arming
}
MODULE
{
name = ModuleLight
lightName = Spotlight
useAnimationDim = true
lightBrightenSpeed = 5
lightDimSpeed = 3
resourceAmount = 0.01
useResources = true
animationName = RestockMiniClawLamp_On
}
}

View File

@ -0,0 +1,77 @@
// ReStock+ 0.2.0
// monopropellant APU/"Fuel Cell"
PART
{
// --- general parameters ---
name = restock-apu-radial-1
module = Part
author = Andrew Cassidy
// --- asset parameters ---
MODEL
{
model = ReStock/Assets/Electrical/restock-apu-radial-1
}
scale = 1.0
rescaleFactor = 1
// --- node definitions ---
node_attach = 0, 0, 0, 1, 0, 0, 0
// --- editor parameters ---
TechRequired = specializedElectrics
entryCost = 2000
cost = 700
category = Electrical
subcategory = 0
title = #LOC_RestockPlus_restock-apu-radial-1_title //NH-24 Monopropellant APU
manufacturer = #autoLOC_501636 //#autoLOC_501636 = Zaltonic Electronics
description = #LOC_RestockPlus_restock-apu-radial-1_description
// After playing with a children's pinwheel toy and asking themselves "how could this become more awesome", one engineer tried pointing a small rocket engine at it. The engineering team immediately got to work using it to generate electricity, and the Monopropellant APU was born
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 0,1,0,0,0
bulkheadProfiles = surf
// --- standard part parameters ---
mass = 0.075
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-apu-radial-1_tags //APU backup turbine array bank charge convert e/c elect energ pack power volt watt
MODULE
{
name = ModuleResourceConverter
ConverterName = #LOC_RestockPlus_restock-apu_name //APU turbine
StartActionName = #LOC_RestockPlus_restock-apu_start //Start turbine
StopActionName = #LOC_RestockPlus_restock-apu_stop //Stop turbine
ToggleActionName = #LOC_RestockPlus_restock-apu_toggle //Toggle turbine
FillAmount = 0.95
AutoShutdown = false
GeneratesHeat = false
UseSpecialistBonus = false
INPUT_RESOURCE
{
ResourceName = MonoPropellant
Ratio = 0.006
FlowMode = STAGE_PRIORITY_FLOW
}
OUTPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 1.5
DumpExcess = false
}
}
RESOURCE
{
name = ElectricCharge
amount = 40
maxAmount = 40
}
}

View File

@ -0,0 +1,56 @@
// ReStock+ 0.2.0
// 1.875m Ore Tank
PART
{
// --- general parameters ---
name = restock-oretank-1875-1
module = Part
author = Andrew Cassidy
// --- asset parameters ---
MODEL
{
model = ReStockPlus/Assets/Resource/restock-oretank-1875-1
}
scale = 1.0
rescaleFactor = 1
// --- node definitions ---
node_attach = 0,0,0.9,0,0,-1,2
node_stack_top = 0.0, 0.9, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -0.9, 0.0, 0.0, -1.0, 0.0, 2
// --- editor parameters ---
TechRequired = experimentalScience
entryCost = 6000
cost = 2000
category = FuelTank // y tho
subcategory = 0
title = #LOC_RestockPlus_restock-oretank-1875-1_title //Medium Holding Tank
manufacturer = #autoLOC_501627 //#autoLOC_501627 = Jebediah Kerman's Junkyard and Spacecraft Parts Co
description = #LOC_RestockPlus_restock-oretank-1875-1_description //A medium tank that can be used for storing raw materials. Warranty void if used to store snacks.
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0
bulkheadProfiles = size1p5
// --- standard part parameters ---
mass = 1.2
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-oretank-1875-1_tags //black isru mine )mining (ore resource store restock
RESOURCE
{
name = Ore
amount = 0
maxAmount = 800
}
MODULE
{
name = ModuleFuelJettison
}
}

View File

@ -0,0 +1,55 @@
// ReStock+ 0.2.0
// 3.75m Ore Tank
PART
{
// --- general parameters ---
name = restock-oretank-375-1
module = Part
author = Andrew Cassidy
// --- asset parameters ---
MODEL
{
model = ReStockPlus/Assets/Resource/restock-oretank-375-1
}
scale = 1.0
rescaleFactor = 1
// --- node definitions ---
node_attach = 0,0,1.85,0,0,-1,3
node_stack_top = 0.0, 0.9, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.9, 0.0, 0.0, -1.0, 0.0, 3
// --- editor parameters ---
TechRequired = experimentalScience
entryCost = 12000
cost = 4000
category = FuelTank // y tho
subcategory = 0
title = #LOC_RestockPlus_restock-oretank-375-1_title //Jumbo Holding Tank
manufacturer = #autoLOC_501627 //#autoLOC_501627 = Jebediah Kerman's Junkyard and Spacecraft Parts Co
description = #LOC_RestockPlus_restock-oretank-375-1_description //A very large tank that can be used for storing raw materials. The manufacturer denies any claims that it has been re-purposed from a local farm
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0
bulkheadProfiles = size3
// --- standard part parameters ---
mass = 4.3
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-oretank-375-1_tags //black isru mine )mining (ore resource store restock
RESOURCE
{
name = Ore
amount = 0
maxAmount = 3500
}
MODULE
{
name = ModuleFuelJettison
}
}