Skip to content

Commit

Permalink
fixes to make all xmls valid according to the schemata
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth committed May 29, 2020
1 parent 8a42c66 commit a71a342
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
6 changes: 0 additions & 6 deletions Gui/GuiElements[Idrinth][Modules][Upkeep].xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,19 @@
<TooltipElement>
<EffectOverride>%ModuleSupportFleetLogistics1EffectOverride</EffectOverride>
</TooltipElement>
<Icons></Icons>
<Sounds></Sounds>
</ExtendedGuiElement>
<ExtendedGuiElement Name="ModuleSupportFleetLogistics2">
<Title>%ModuleSupportFleetLogistics2Title</Title>
<Description>%ModuleSupportFleetLogisticsDescription</Description>
<TooltipElement>
<EffectOverride>%ModuleSupportFleetLogistics2EffectOverride</EffectOverride>
</TooltipElement>
<Icons></Icons>
<Sounds></Sounds>
</ExtendedGuiElement>
<ExtendedGuiElement Name="ModuleSupportFleetLogistics3">
<Title>%ModuleSupportFleetLogistics3Title</Title>
<Description>%ModuleSupportFleetLogisticsDescription</Description>
<TooltipElement>
<EffectOverride>%ModuleSupportFleetLogistics3EffectOverride</EffectOverride>
</TooltipElement>
<Icons></Icons>
<Sounds></Sounds>
</ExtendedGuiElement>
</Datatable>
2 changes: 1 addition & 1 deletion IdrinthsImprovedResources.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="Documentation/Schemas/Amplitude.Unity.Runtime.RuntimeModule.xsd">
<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="../Schemas/Amplitude.Unity.Runtime.RuntimeModule.xsd">

<RuntimeModule Name="IdrinthsImprovedResources" Type="Extension" Version="0.11">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
<SimulationDescriptor Name="ColonizedStarSystemInfluenceStateRootOwner" Type="ColonizedStarSystemInfluenceState">
<!-- Added -->
<Modifier TargetProperty="SystemGrowth" Operation="Percent" Value="0.1" Path="ClassColonizedStarSystem"/>
<BinaryModifier TargetProperty="NetSystemLifeforce" Operation="Addition" Value="1" Path="ClassColonizedStarSystem"/>
<BinaryModifier TargetProperty="PlanetPopulationFood" Operation="Addition" Value="10" Path="ClassColonizedStarSystem/ClassColonizedPlanet"/>
<Modifier TargetProperty="NetSystemLifeforce" Operation="Addition" Value="1" Path="ClassColonizedStarSystem"/>
<Modifier TargetProperty="PlanetPopulationFood" Operation="Addition" Value="10" Path="ClassColonizedStarSystem/ClassColonizedPlanet"/>
<Modifier TargetProperty="PlanetDepletionPerTurn" Operation="Subtraction" Value="0.05" Path="FAKEFORGUI/./ClassPlanet"/>
<Modifier TargetProperty="RepletionPerTurn" Operation="Addition" Value="0.05" Path="ClassColonizedStarSystem/ClassPlanet" TooltipHidden="true"/>
<Modifier TargetProperty="RepletionPerTurn" Operation="Addition" Value="0.05" Path="ClassColonizedStarSystem/ClassPlanet"/>
</SimulationDescriptor>

<SimulationDescriptor Name="ColonizedStarSystemInfluenceStateRootOwnerFriend" Type="ColonizedStarSystemInfluenceState">
<Modifier TargetProperty="SystemGrowth" Operation="Percent" Value="0.1" Path="ClassColonizedStarSystem"/>
<BinaryModifier TargetProperty="SystemHappiness" Operation="Addition" BinaryOperation="Multiplication" Left="10" Right="" Path="ClassColonizedStarSystem"/>
<Modifier TargetProperty="SystemHappiness" Operation="Addition" Value="10" Path="ClassColonizedStarSystem"/>
<!-- Added -->
<BinaryModifier TargetProperty="NetSystemLifeforce" Operation="Addition" Value="1" Path="ClassColonizedStarSystem"/>
<BinaryModifier TargetProperty="PlanetPopulationFood" Operation="Addition" Value="10" Path="ClassColonizedStarSystem/ClassColonizedPlanet"/>
<Modifier TargetProperty="NetSystemLifeforce" Operation="Addition" Value="1" Path="ClassColonizedStarSystem"/>
<Modifier TargetProperty="PlanetPopulationFood" Operation="Addition" Value="10" Path="ClassColonizedStarSystem/ClassColonizedPlanet"/>
<Modifier TargetProperty="PlanetDepletionPerTurn" Operation="Subtraction" Value="0.025" Path="FAKEFORGUI/./ClassPlanet"/>
<Modifier TargetProperty="RepletionPerTurn" Operation="Addition" Value="0.025" Path="ClassColonizedStarSystem/ClassPlanet" TooltipHidden="true"/>
<Modifier TargetProperty="RepletionPerTurn" Operation="Addition" Value="0.025" Path="ClassColonizedStarSystem/ClassPlanet"/>
</SimulationDescriptor>

<SimulationDescriptor Name="ColonizedStarSystemInfluenceStateRootOwnerFoe" Type="ColonizedStarSystemInfluenceState">
<Modifier TargetProperty="SystemGrowth" Operation="Percent" Value="-0.1" Path="ClassColonizedStarSystem"/>
<Modifier TargetProperty="SystemHappiness" Operation="Addition" Value="-10" Path="ClassColonizedStarSystem"/>
<!-- Added -->
<BinaryModifier TargetProperty="NetSystemLifeforce" Operation="Addition" Value="1" Path="ClassColonizedStarSystem"/>
<BinaryModifier TargetProperty="PlanetPopulationFood" Operation="Addition" Value="10" Path="ClassColonizedStarSystem/ClassColonizedPlanet"/>
<Modifier TargetProperty="NetSystemLifeforce" Operation="Addition" Value="1" Path="ClassColonizedStarSystem"/>
<Modifier TargetProperty="PlanetPopulationFood" Operation="Addition" Value="10" Path="ClassColonizedStarSystem/ClassColonizedPlanet"/>
<Modifier TargetProperty="PlanetDepletionPerTurn" Operation="Subtraction" Value="0.005" Path="FAKEFORGUI/./ClassPlanet"/>
<Modifier TargetProperty="RepletionPerTurn" Operation="Addition" Value="0.005" Path="ClassColonizedStarSystem/ClassPlanet" TooltipHidden="true"/>
</SimulationDescriptor>
<Modifier TargetProperty="RepletionPerTurn" Operation="Addition" Value="0.005" Path="ClassColonizedStarSystem/ClassPlanet"/>
</SimulationDescriptor>
</Datatable>

0 comments on commit a71a342

Please sign in to comment.