Skip to content
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
36 changes: 36 additions & 0 deletions .github/workflows/build-dll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build DLL

on:
push:
pull_request:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_PATH: ${{ github.workspace }}/BetterSpire2Lite.csproj
DLL_PATH: ${{ github.workspace }}/bin/Release/net9.0/BetterSpire2Lite.dll

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

- name: Restore project
run: dotnet restore "$PROJECT_PATH"

- name: Build DLL
run: dotnet build "$PROJECT_PATH" --configuration Release --no-restore

- name: Upload DLL artifact
uses: actions/upload-artifact@v4
with:
name: BetterSpire2Lite-dll
path: ${{ env.DLL_PATH }}
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ out/

# Github
.github/
!.github/
!.github/workflows/
!.github/workflows/*.yml
!.github/workflows/*.yaml

# NuGet
packages/
Expand Down Expand Up @@ -54,4 +58,4 @@ Thumbs.db

# Local environment files
.env
.env.*
.env.*
35 changes: 30 additions & 5 deletions BetterSpire2Lite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,42 @@
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup />
<ItemGroup />
<PropertyGroup>
<ModId>BetterSpire2Lite</ModId>
<ModName>BetterSpire2 Lite</ModName>
<ModAuthor>jdr, MindLated</ModAuthor>
<ModDescription>QoL display mod: incoming damage totals, multi-hit labels, hand viewer, skip splash. Safe for multiplayer.</ModDescription>
<ModForkedFrom>https://www.nexusmods.com/slaythespire2/mods/2</ModForkedFrom>
<ModVersion>v2.0</ModVersion>
</PropertyGroup>

<Target Name="GenerateModManifest" AfterTargets="Build">
<PropertyGroup>
<ModManifestContent>{
"id": "$(ModId)",
"name": "$(ModName)",
"author": "$(ModAuthor)",
"description": "$(ModDescription)",
"version": "$(ModVersion)",
"has_pck": false,
"has_dll": true,
"dependencies": [],
"affects_gameplay": false,
"forked_from": "$(ModForkedFrom)"
}</ModManifestContent>
</PropertyGroup>
<WriteLinesToFile File="$(OutputPath)$(ModId).json" Lines="$(ModManifestContent)" Overwrite="true" WriteOnlyWhenDifferent="true" />
</Target>

<ItemGroup>
<Reference Include="GodotSharp">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\Slay the Spire 2\mods\GodotSharp.dll</HintPath>
<HintPath>GodotSharp.dll</HintPath>
</Reference>
<Reference Include="sts2">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\Slay the Spire 2\mods\sts2.dll</HintPath>
<HintPath>sts2.dll</HintPath>
</Reference>
<Reference Include="0Harmony">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\Slay the Spire 2\mods\0Harmony.dll</HintPath>
<HintPath>0Harmony.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# BetterSpire2 Lite

Forked from [BetterSpire2 Lite by jdr](https://www.nexusmods.com/slaythespire2/mods/2) — additional features and improvements by MindLated.

BetterSpire2 Lite is a Slay the Spire 2 quality-of-life mod focused on clearer combat information, better multiplayer visibility, and a few convenience upgrades.

## Features
Expand Down
Binary file removed bin/Release/net9.0/0Harmony.dll
Binary file not shown.
67 changes: 0 additions & 67 deletions bin/Release/net9.0/BetterSpire2Lite.deps.json

This file was deleted.

Binary file removed bin/Release/net9.0/BetterSpire2Lite.dll
Binary file not shown.
Binary file removed bin/Release/net9.0/BetterSpire2Lite.pdb
Binary file not shown.
Binary file removed bin/Release/net9.0/GodotSharp.dll
Binary file not shown.
Binary file removed bin/Release/net9.0/sts2.dll
Binary file not shown.
64 changes: 0 additions & 64 deletions obj/BetterSpire2Lite.csproj.nuget.dgspec.json

This file was deleted.

15 changes: 0 additions & 15 deletions obj/BetterSpire2Lite.csproj.nuget.g.props

This file was deleted.

2 changes: 0 additions & 2 deletions obj/BetterSpire2Lite.csproj.nuget.g.targets

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

Binary file removed obj/Release/net9.0/BetterSpire2Lite.assets.cache
Binary file not shown.
Binary file not shown.

This file was deleted.

14 changes: 0 additions & 14 deletions obj/Release/net9.0/BetterSpire2Lite.csproj.FileListAbsolute.txt

This file was deleted.

Binary file removed obj/Release/net9.0/BetterSpire2Lite.dll
Binary file not shown.
Binary file removed obj/Release/net9.0/BetterSpire2Lite.pdb
Binary file not shown.
Binary file removed obj/Release/net9.0/ref/BetterSpire2Lite.dll
Binary file not shown.
Binary file removed obj/Release/net9.0/refint/BetterSpire2Lite.dll
Binary file not shown.
69 changes: 0 additions & 69 deletions obj/project.assets.json

This file was deleted.

8 changes: 0 additions & 8 deletions obj/project.nuget.cache

This file was deleted.

Loading