Move new items to misc config

This commit is contained in:
A Man
2021-12-23 19:08:16 +01:00
parent db4a417f30
commit f7e71c744d
7 changed files with 597 additions and 604 deletions

View File

@@ -103,91 +103,4 @@ class GlassFloor_Quarter_DZ: ModularItems {
displayName = $STR_EPOCH_GLASSFLOORQUARTER;
maintainBuilding[] = {{"PartGlass",1}};
GhostPreview = "GlassFloor_Quarter_Preview_DZ";
};
///////////////////////////////////////////////////////////////////////////////////////////////////
class MetalContainer1A_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1A.p3d"; // red
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1A;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1B_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1B.p3d"; // green
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1B;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1G_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1G.p3d"; // white
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1G;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer2D_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo2D.p3d"; // 2x red
armor = 40000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_2D;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",4}};
constructioncount = 5;
};
class BarbedGate_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0};
model = "ca\misc2\BarbGate.p3d";
armor = 3000;
displayName = $STR_EQUIP_NAME_BARBED_GATE;
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemWire",1}};
constructioncount = 2;
class AnimationSources
{
class Door01 {
source = "User";
animPeriod = 1;
initPhase = 0;
};
};
class UserActions
{
class CloseDoor
{
position = "";
displayName = "Close Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 1";
statement = "this animate ['Door01', 0];";
};
class OpenDoor
{
position = "";
displayName = "Open Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 0";
statement = "this animate ['Door01', 1];";
};
};
};
};