zc
This commit is contained in:
Binary file not shown.
@@ -116,7 +116,7 @@
|
|||||||
<terrain>
|
<terrain>
|
||||||
<WulaFloor>
|
<WulaFloor>
|
||||||
<rects>
|
<rects>
|
||||||
<li>(0,0,13,13)</li>
|
<li>(0,0,12,12)</li>
|
||||||
</rects>
|
</rects>
|
||||||
</WulaFloor>
|
</WulaFloor>
|
||||||
</terrain>
|
</terrain>
|
||||||
|
|||||||
@@ -5,17 +5,17 @@
|
|||||||
<defName>WULA_Prefab_Incoming</defName>
|
<defName>WULA_Prefab_Incoming</defName>
|
||||||
<label>乌拉帝国建筑(空投中)</label>
|
<label>乌拉帝国建筑(空投中)</label>
|
||||||
<thingClass>WulaFallenEmpire.Skyfaller_PrefabSpawner</thingClass>
|
<thingClass>WulaFallenEmpire.Skyfaller_PrefabSpawner</thingClass>
|
||||||
<size>(1,1)</size>
|
<size>(13,13)</size>
|
||||||
<graphicData>
|
<graphicData>
|
||||||
<texPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</texPath>
|
<texPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</texPath>
|
||||||
<graphicClass>Graphic_Single</graphicClass>
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
<shaderType>CutoutFlying</shaderType>
|
<shaderType>CutoutFlying</shaderType>
|
||||||
<drawSize>(1,1)</drawSize>
|
<drawSize>(13,13)</drawSize>
|
||||||
</graphicData>
|
</graphicData>
|
||||||
<skyfaller>
|
<skyfaller>
|
||||||
<movementType>Accelerate</movementType>
|
<movementType>Accelerate</movementType>
|
||||||
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
||||||
<shadowSize>(1, 1)</shadowSize>
|
<shadowSize>(13, 13)</shadowSize>
|
||||||
<anticipationSound>DropPod_Fall</anticipationSound>
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
||||||
<anticipationSoundTicks>100</anticipationSoundTicks>
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
||||||
<impactSound>Explosion_Vaporize</impactSound>
|
<impactSound>Explosion_Vaporize</impactSound>
|
||||||
@@ -36,19 +36,19 @@
|
|||||||
</comps>
|
</comps>
|
||||||
</ThingDef>
|
</ThingDef>
|
||||||
|
|
||||||
<!-- 墙和门 -->
|
<ThingDef ParentName="BuildingBase">
|
||||||
<ThingDef ParentName="Wall">
|
|
||||||
<defName>WULA_Prefab_Cleanzone_NewColonyBase_Beacon</defName>
|
<defName>WULA_Prefab_Cleanzone_NewColonyBase_Beacon</defName>
|
||||||
<label>乌拉预制件空投信标-小型前哨站</label>
|
<label>乌拉预制件空投信标-小型前哨站</label>
|
||||||
<description>一个用于呼叫建筑的信标,用于快速建造一个小型前哨站。</description>
|
<description>一个用于呼叫建筑的信标,用于快速建造一个小型前哨站。</description>
|
||||||
<uiIconPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</uiIconPath>
|
<uiIconPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</uiIconPath>
|
||||||
<minifiedDef>MinifiedThing</minifiedDef>
|
|
||||||
<tickerType>Normal</tickerType>
|
<tickerType>Normal</tickerType>
|
||||||
<graphicData>
|
<graphicData>
|
||||||
<texPath>Wula/Building/Linked/WulaWall/WulaWall_Atlas</texPath>
|
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone</texPath>
|
||||||
<graphicClass>Graphic_Multi</graphicClass>
|
<graphicClass>Graphic_Multi</graphicClass>
|
||||||
<drawSize>(1,1)</drawSize>
|
<drawSize>(13,13)</drawSize>
|
||||||
<color>(73,185,254,155)</color>
|
<damageData>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</damageData>
|
||||||
</graphicData>
|
</graphicData>
|
||||||
<rotatable>false</rotatable>
|
<rotatable>false</rotatable>
|
||||||
<neverMultiSelect>false</neverMultiSelect>
|
<neverMultiSelect>false</neverMultiSelect>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<Mass>1</Mass>
|
<Mass>1</Mass>
|
||||||
<Flammability>0</Flammability>
|
<Flammability>0</Flammability>
|
||||||
</statBases>
|
</statBases>
|
||||||
<size>(1,1)</size>
|
<size>(13,13)</size>
|
||||||
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
|
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
|
||||||
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
|
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
|
||||||
<stuffCategories Inherit="False"/>
|
<stuffCategories Inherit="False"/>
|
||||||
|
|||||||
@@ -416,30 +416,6 @@ namespace WulaFallenEmpire
|
|||||||
}
|
}
|
||||||
yield return callCommand;
|
yield return callCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Props.canAutoCall)
|
|
||||||
{
|
|
||||||
Command_Toggle toggleAutoCall = new Command_Toggle
|
|
||||||
{
|
|
||||||
defaultLabel = "WULA_ToggleAutoCallSkyfaller".Translate(),
|
|
||||||
defaultDesc = "WULA_ToggleAutoCallSkyfallerDesc".Translate(),
|
|
||||||
icon = ContentFinder<Texture2D>.Get("Wula/UI/Commands/WULA_DropBuilding"),
|
|
||||||
isActive = () => WorldComp.AutoCallSkyfaller,
|
|
||||||
toggleAction = () =>
|
|
||||||
{
|
|
||||||
WorldComp.AutoCallSkyfaller = !WorldComp.AutoCallSkyfaller;
|
|
||||||
if (WorldComp.AutoCallSkyfaller)
|
|
||||||
{
|
|
||||||
Messages.Message("WULA_AutoCallEnabled".Translate(), MessageTypeDefOf.PositiveEvent);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Messages.Message("WULA_AutoCallDisabled".Translate(), MessageTypeDefOf.NegativeEvent);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
yield return toggleAutoCall;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetCallDescription()
|
private string GetCallDescription()
|
||||||
|
|||||||
Reference in New Issue
Block a user