Merge pull request #1875 from hcraigmiller/Surface-Roughness-Update

Corrects polished value and adds 4 additional surfaces
This commit is contained in:
Joe Pfeiffer 2022-12-12 10:41:32 -07:00 committed by GitHub
commit 04177a99f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View File

@ -1516,10 +1516,14 @@ material.tubular_nylon_25_mm_1_in = Tubular nylon (25 mm, 1 in)
! ExternalComponent
ExternalComponent.Rough = Rough
ExternalComponent.Roughunfinished = Rough unfinished
ExternalComponent.Unfinished = Unfinished
ExternalComponent.Regularpaint = Regular paint
ExternalComponent.Smoothpaint = Smooth paint
ExternalComponent.Polished = Polished
ExternalComponent.Optimumpaint = Optimum paint
ExternalComponent.Polished = Aircraft sheet-metal
ExternalComponent.Finishedpolished = Finished/polished surface
ExternalComponent.Mirror = Mirror surface
! LineStyle
LineStyle.Solid = Solid

View File

@ -22,14 +22,22 @@ public abstract class ExternalComponent extends RocketComponent {
public enum Finish {
//// Rough
ROUGH("ExternalComponent.Rough", 500e-6),
//// Rough unfinished
ROUGHUNFINISHED("ExternalComponent.Roughunfinished", 250e-6),
//// Unfinished
UNFINISHED("ExternalComponent.Unfinished", 150e-6),
//// Regular paint
NORMAL("ExternalComponent.Regularpaint", 60e-6),
//// Smooth paint
SMOOTH("ExternalComponent.Smoothpaint", 20e-6),
//// Optimum paint
OPTIMUM("ExternalComponent.Optimumpaint", 5e-6),
//// Polished
POLISHED("ExternalComponent.Polished", 2e-6);
POLISHED("ExternalComponent.Polished", 2e-6),
//// Optimum paint
FINISHPOLISHED("ExternalComponent.Finishedpolished", .5e-6),
//// Optimum paint
MIRROR("ExternalComponent.Mirror", 0.0e-6);
private static final Translator trans = Application.getTranslator();
private final String name;