Skip to content

Commit

Permalink
Merge pull request #52 from wwwDayDream/dist_valheim
Browse files Browse the repository at this point in the history
Distribution: Valheim
  • Loading branch information
wwwDayDream authored May 12, 2024
2 parents abcb383 + 742649c commit d9f536d
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./</PathMap>

<TestGame>Rounds</TestGame>
<TestGame>Valheim</TestGame>
</PropertyGroup>

<!-- Game Specific Information -->
Expand All @@ -27,6 +27,7 @@
<Import Condition="'$(TestGame)' == 'Atomicrops'" Project="./Games/Atomicrops.targets"/>
<Import Condition="'$(TestGame)' == 'PotionCraft'" Project="./Games/PotionCraft.targets"/>
<Import Condition="'$(TestGame)' == 'Rounds'" Project="./Games/Rounds.targets"/>
<Import Condition="'$(TestGame)' == 'Valheim'" Project="./Games/Valheim.targets"/>

<ItemGroup>
<ProjectReference Include="../CessilCellsCeaChells/CessilCellsCeaChells.csproj"/>
Expand Down
8 changes: 8 additions & 0 deletions CessilCellsCeaChells.BBTester/Games/Valheim.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>
<PropertyGroup>
<DefineConstants>Valheim</DefineConstants>
<TargetGameFiles>$(VLHM_GAMEFILES)</TargetGameFiles>
<TargetGameUnityVersion>2022.3.17</TargetGameUnityVersion>
<TargetGameDLL>assembly_valheim</TargetGameDLL>
</PropertyGroup>
</Project>
10 changes: 5 additions & 5 deletions CessilCellsCeaChells.BBTester/PluginSpecifics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
#elif Rounds
using TargetType = Player;
using TargetEnum = PickerType;
#elif Valheim
using TargetType = Player;
using TargetEnum = Player.PlacementStatus;
#endif

[assembly: RequiresField(typeof(TargetType), "BB_TestField", typeof(string))]
[assembly: RequiresProperty(typeof(TargetType), "BB_TestProp", typeof(CustomDataStruct))]
[assembly: RequiresProperty(typeof(TargetType), "BB_TestProp", typeof(string))]
[assembly: RequiresEnumInsertion(typeof(TargetEnum), "BB_TestEnum")]
[assembly: RequiresMethod(typeof(TargetType), "BB_TestMethod", typeof(void),
typeof(string), typeof(int))] // void Player::BB_TestMethod(string, int)
[assembly: RequiresMethodDefaults(typeof(TargetType), "BB_TestMethod", typeof(void),
[ typeof (bool), typeof(int) ], [ 0 ])] // void Player::BB_TestMethod(bool, int = 0)

namespace CessilCellsCeaChells.BBTester;
public struct CustomDataStruct { }
[ typeof (bool), typeof(int) ], [ 0 ])] // void Player::BB_TestMethod(bool, int = 0)
1 change: 1 addition & 0 deletions Games.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
<ATMCRPS_GAMEFILES>$(STEAMAPPS)/Atomicrops/</ATMCRPS_GAMEFILES>
<PCRAFT_GAMEFILES>$(STEAMAPPS)/Potion Craft/</PCRAFT_GAMEFILES>
<ROUNDS_GAMEFILES>$(STEAMAPPS)/ROUNDS/</ROUNDS_GAMEFILES>
<VLHM_GAMEFILES>$(STEAMAPPS)/Valheim/</VLHM_GAMEFILES>
</PropertyGroup>
</Project>
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ The wiki contains a [Getting Started](https://github.com/wwwDayDream/CessilCells
### Version Compatability
[BepInEx](https://github.com/BepInEx/BepInEx/) - v5.4.x

| | Current Thunderstore Communities | |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [![Content Warning](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2332e01d&label=Content%20Warning&=f)](https://thunderstore.io/c/content-warning/p/www_Day_Dream/CessilCellsCeaChells/) | [![Muck](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2336e0ff&label=Muck)](https://thunderstore.io/c/muck/p/www_Day_Dream/CessilCellsCeaChells/) | [![Mechanica](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23232524&label=Mechanica)](https://thunderstore.io/c/mechanica/p/www_Day_Dream/CessilCellsCeaChells/) |
| [![Enter The Gungeon](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23ff4654&label=Enter%20The%20Gungeon)](https://thunderstore.io/c/enter-the-gungeon/p/www_Day_Dream/CessilCellsCeaChells/) | [![ROUNDS](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23dd4c09&label=ROUNDS)](https://thunderstore.io/c/rounds/p/www_Day_Dream/CessilCellsCeaChells/) | [![Atomicrops](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23e49f31&label=Atomicrops)](https://thunderstore.io/c/atomicrops/p/www_Day_Dream/CessilCellsCeaChells/) |
| [![Dyson Sphere Program](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%238a78eb&label=Dyson%20Sphere%20Program)](https://thunderstore.io/c/dyson-sphere-program/p/www_Day_Dream/CessilCellsCeaChells/) | [![Potion Craft](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23946e44&label=Potion%20Craft)](https://thunderstore.io/c/potion-craft/p/www_Day_Dream/CessilCellsCeaChells/) | [![Risk of Rain 2](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2305379a&label=Risk%20of%20Rain%202)](https://thunderstore.io/package/www_Day_Dream/CessilCellsCeaChells/) |
| [![Last Train Outta' Wormtown](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b01b5b&label=Last%20Train%20Outta%27%20Wormtown)](https://thunderstore.io/c/last-train-outta-wormtown/p/www_Day_Dream/CessilCellsCeaChells/) | [![Lethal Company](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b70704&label=Lethal%20Company)](https://thunderstore.io/c/lethal-company/p/www_Day_Dream/CessilCellsCeaChells/) | |
| | Current Thunderstore Communities | |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [![Content Warning](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2332e01d&label=Content%20Warning&=f)](https://thunderstore.io/c/content-warning/p/www_Day_Dream/CessilCellsCeaChells/) | [![Muck](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2336e0ff&label=Muck)](https://thunderstore.io/c/muck/p/www_Day_Dream/CessilCellsCeaChells/) | [![Valheim](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23027d93&label=Valheim)](https://thunderstore.io/c/valheim/p/www_Day_Dream/CessilCellsCeaChells/) |
| [![Enter The Gungeon](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23ff4654&label=Enter%20The%20Gungeon)](https://thunderstore.io/c/enter-the-gungeon/p/www_Day_Dream/CessilCellsCeaChells/) | [![ROUNDS](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23dd4c09&label=ROUNDS)](https://thunderstore.io/c/rounds/p/www_Day_Dream/CessilCellsCeaChells/) | [![Mechanica](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23232524&label=Mechanica)](https://thunderstore.io/c/mechanica/p/www_Day_Dream/CessilCellsCeaChells/) |
| [![Dyson Sphere Program](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%238a78eb&label=Dyson%20Sphere%20Program)](https://thunderstore.io/c/dyson-sphere-program/p/www_Day_Dream/CessilCellsCeaChells/) | [![Potion Craft](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23946e44&label=Potion%20Craft)](https://thunderstore.io/c/potion-craft/p/www_Day_Dream/CessilCellsCeaChells/) | [![Atomicrops](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23e49f31&label=Atomicrops)](https://thunderstore.io/c/atomicrops/p/www_Day_Dream/CessilCellsCeaChells/) |
| [![Last Train Outta' Wormtown](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b01b5b&label=Last%20Train%20Outta%27%20Wormtown)](https://thunderstore.io/c/last-train-outta-wormtown/p/www_Day_Dream/CessilCellsCeaChells/) | [![Lethal Company](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%23b70704&label=Lethal%20Company)](https://thunderstore.io/c/lethal-company/p/www_Day_Dream/CessilCellsCeaChells/) | [![Risk of Rain 2](https://img.shields.io/thunderstore/v/www_Day_Dream/CessilCellsCeaChells?style=plastic&logo=thunderstore&color=%2305379a&label=Risk%20of%20Rain%202)](https://thunderstore.io/package/www_Day_Dream/CessilCellsCeaChells/) |

### Publishing To New Thunderstore Communities
- Create an issue for the specific community
2 changes: 1 addition & 1 deletion ts-assets/thunderstore.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ target = "/BepInEx/patchers/CessilCellsCeaChells/"

[publish]
communities = [ "content-warning", "lethal-company", "riskofrain2", "dyson-sphere-program", "last-train-outta-wormtown",
"mechanica", "muck", "enter-the-gungeon", "atomicrops", "potion-craft", "rounds" ]
"mechanica", "muck", "enter-the-gungeon", "atomicrops", "potion-craft", "rounds", "valheim" ]
categories = [ "libraries" ]

0 comments on commit d9f536d

Please sign in to comment.