-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
2,230 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Library</OutputType> | ||
<TargetFramework>net472</TargetFramework> | ||
<Configurations>Debug;Release</Configurations> | ||
|
||
<!--The file where mod information which is required for publishing mod on PDX mods are stored--> | ||
<PublishConfigurationPath>Properties\PublishConfiguration.xml</PublishConfigurationPath> | ||
<Title>Improved Building Level Info View</Title> | ||
<Version>1.0.0</Version> | ||
<Description>Improvements to the Building Level info view.</Description> | ||
<Copyright>Copyright © 2024</Copyright> | ||
<PDXAccountDataPath>$(USERPROFILE)\Documents\Visual Studio Projects\Cities Skylines 2 Mods\My Mods\pdx_account.txt</PDXAccountDataPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<!--Imports must be after PropertyGroup block--> | ||
<Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.props" /> | ||
<Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.targets" /> | ||
|
||
<ItemGroup> | ||
<Reference Include="Colossal.Collections"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Colossal.IO.AssetDatabase"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Colossal.Localization"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Colossal.Mathematics"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Colossal.UI"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Colossal.UI.Binding"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Game"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Colossal.Core"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Colossal.Logging"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.CoreModule"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Unity.Burst"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Unity.Collections"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Unity.Entities"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Unity.Mathematics"> | ||
<Private>false</Private> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Reference Update="System"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Update="System.Core"> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Update="System.Data"> | ||
<Private>false</Private> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(ModPropsFile)" Link="Properties\Mod.props" /> | ||
<None Include="$(ModTargetsFile)" Link="Properties\Mod.targets" /> | ||
</ItemGroup> | ||
|
||
<!-- Automatically build ModAssemblyInfo.cs file. --> | ||
<Import Project="ModAssemblyInfo\ModAssemblyInfo.csproj" /> | ||
<ItemGroup> | ||
<None Include="ModAssemblyInfo\ModAssemblyInfo.csproj" /> | ||
</ItemGroup> | ||
|
||
<!-- Automatically build PublishConfiguration.xml file. --> | ||
<Import Project="Properties\PublishConfiguration.csproj" /> | ||
<ItemGroup> | ||
<None Include="Properties\PublishConfiguration.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Remove="Localization\Translation.csv" /> | ||
<EmbeddedResource Include="Localization\Translation.csv" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Lib.Harmony" Version="2.2.2" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Images\ImprovedBuildingLevel.svg"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.11.35303.130 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IBLIV", "IBLIV.csproj", "{A698932B-8BAF-46D1-9300-159525CC28AA}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A698932B-8BAF-46D1-9300-159525CC28AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A698932B-8BAF-46D1-9300-159525CC28AA}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A698932B-8BAF-46D1-9300-159525CC28AA}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A698932B-8BAF-46D1-9300-159525CC28AA}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {2E881690-2C63-44A5-B2B2-5DCAE958338A} | ||
EndGlobalSection | ||
EndGlobal |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Game.Prefabs; | ||
|
||
namespace IBLIV | ||
{ | ||
// This mod's improved building status types. | ||
// Start at an arbitrary large number to avoid overlap with the game's BuildingStatusType and | ||
// hopefully avoid conflicts with any other mod's building status types. | ||
public enum ImprovedBuildingStatusType | ||
{ | ||
None = 987650, | ||
|
||
LevelResidential, | ||
LevelCommercial, | ||
LevelIndustrial, | ||
LevelOffice, | ||
|
||
// This mod uses the game's infomode prefabs for signature buildings. | ||
// So also use the game's building status types for signature buildings. | ||
SignatureResidential = BuildingStatusType.SignatureResidential, | ||
SignatureCommercial = BuildingStatusType.SignatureCommercial, | ||
SignatureIndustrial = BuildingStatusType.SignatureIndustrial, | ||
SignatureOffice = BuildingStatusType.SignatureOffice, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 rcav8tr | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
23104 |
Oops, something went wrong.