Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.0.0] - 2025-02-15

- update references for 7dtd-1.3-b9

## [4.0.0] - 2024-12-10

- update references for 7dtd-1.2-b27
Expand Down
2 changes: 1 addition & 1 deletion ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<DisplayName value="Quantum Elevators" />
<!-- REMINDER: this mod's DLL version will be logged on GameAwake and should reflect the same version listed here! -->
<!-- If troubleshooting an issue, search "Quantum Elevators DLL" in logs to confirm these two values match. -->
<Version value="4.0.0" />
<Version value="5.0.0" />
<Description value="Add infinite distance, vertical-warp elevator panels." />
<Author value="Jonathan Robertson (Kanaverum)" />
<Website value="https://github.com/jonathan-robertson/quantum-elevators" />
Expand Down
Binary file modified QuantumElevators.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Quantum Elevators

[![🧪 Tested with 7DTD 1.2 (b27)](https://img.shields.io/badge/🧪%20Tested%20with-7DTD%201.2%20(b27)-blue.svg)](https://7daystodie.com/)
[![🧪 Tested with 7DTD 1.3 (b9)](https://img.shields.io/badge/🧪%20Tested%20with-7DTD%201.3%20(b9)-blue.svg)](https://7daystodie.com/)
[![✅ Dedicated Servers Supported ServerSide](https://img.shields.io/badge/✅%20Dedicated%20Servers-Supported%20Serverside-blue.svg)](https://7daystodie.com/)
[![✅ Single Player and P2P Supported](https://img.shields.io/badge/✅%20Single%20Player%20and%20P2P-Supported-blue.svg)](https://7daystodie.com/)
[![📦 Automated Release](https://github.com/jonathan-robertson/quantum-elevators/actions/workflows/release.yml/badge.svg)](https://github.com/jonathan-robertson/quantum-elevators/actions/workflows/release.yml)
Expand Down
29 changes: 29 additions & 0 deletions copy-on-build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@REM Copy build files to destination based on build environment
@REM Expecting the following to be added to Project Settings -> Build Events:
@REM SET ConfigurationName=$(ConfigurationName)
@REM SET SolutionName=$(SolutionName)
@REM call copy-on-build.cmd

echo Starting Script: copy-on-build.cmd
echo ConfigurationName: %ConfigurationName%
echo SolutionName: %SolutionName%

if "%ConfigurationName%" == "Debug" (
echo Debug Build
if "" == "%SDTD_MODS_DEBUG_FOLDER%" (
echo environment variable 'SDTD_MODS_DEBUG_FOLDER' is not set; please configure this in User Environment Variables and restart Visual Studio.
exit 0
)
robocopy . %SDTD_MODS_DEBUG_FOLDER%\%SolutionName% ModInfo.xml *.md *.dll *.pbd /dcopy:dat
robocopy .\Config %SDTD_MODS_DEBUG_FOLDER%\%SolutionName%\Config /s /dcopy:dat /PURGE
exit 0
) else if "%ConfigurationName%" == "Release" (
echo Release Build
if "" == "%SDTD_MODS_RELEASE_FOLDER%" (
echo environment variable 'SDTD_MODS_RELEASE_FOLDER' is not set; please configure this in User Environment Variables and restart Visual Studio.
exit 0
)
robocopy . %SDTD_MODS_RELEASE_FOLDER%\%SolutionName% ModInfo.xml *.md *.dll /dcopy:dat
robocopy .\Config %SDTD_MODS_RELEASE_FOLDER%\%SolutionName%\Config /s /dcopy:dat /PURGE
exit 0
)
File renamed without changes.
Binary file modified references/Assembly-CSharp.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ModAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void InitMod(Mod _modInstance)
ModEvents.GameStartDone.RegisterHandler(OnGameStartDone);
}

private const string DLL_VERSION = "4.0.0"; // TODO: always update this before each release
private const string DLL_VERSION = "5.0.0"; // TODO: always update this before each release
private void OnGameAwake()
{
try
Expand Down
7 changes: 5 additions & 2 deletions src/QuantumElevators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>QuantumElevators</RootNamespace>
<AssemblyName>QuantumElevators</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -72,6 +73,8 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent />
<PostBuildEvent>SET ConfigurationName=$(ConfigurationName)
SET SolutionName=$(SolutionName)
call copy-on-build.cmd</PostBuildEvent>
</PropertyGroup>
</Project>