Skip to content

Commit

Permalink
Add the Wishbone to Eikthyr with a 25% chance to drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Digitalroot committed Jul 5, 2024
1 parent 27b3b48 commit 5807947
Show file tree
Hide file tree
Showing 28 changed files with 602 additions and 40 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
secrets:
aws-access-key-id: ${{ secrets.NUGET_S3_REPO_KEY_ID }}
aws-secret-access-key: ${{ secrets.NUGET_S3_REPO_KEY_SECRET }}
#nexus-api-key: ${{ secrets.NEXUS_API_KEY }}
#nexus-cookies-header: ${{ secrets.NEXUSMOD_SESSION_COOKIE }}
#nuget-org-key: ${{ secrets.NUGET_ORG_PAT }}
#ts-api-key: ${{ secrets.TS_SERVICEACCOUNT }}
nexus-api-key: ${{ secrets.NEXUS_API_KEY }}
nexus-cookies-header: ${{ secrets.NEXUSMOD_SESSION_COOKIE }}
nuget-org-key: ${{ secrets.NUGET_ORG_PAT }}
ts-api-key: ${{ secrets.TS_SERVICEACCOUNT }}
webhook_url: ${{ secrets.VALHEIM_DISCORD_TITANS_WEBHOOK_URL }}

with:
sln-file-name: Digitalroot.Valheim.Common.Placeholder
proj-file-name: Digitalroot.Valheim.Common.Placeholder
sln-file-name: Digitalroot.Valheim.EarlyWishbone
proj-file-name: Digitalroot.Valheim.EarlyWishbone
#src-path: src
#unit-test-path: UnitTests
#skip-unit-tests: true
Expand All @@ -42,10 +42,10 @@ jobs:
#nuget-gh-upload: true
#nuget-s3-upload: true
#nuget-org-upload: true
#nexus-enable-upload: true
#nexus-mod-id: 000
#ts-enable-upload: true
#ts-name: Placeholder
#ts-description: "TBD"
#ts-categories: "server-side client-side" #https://thunderstore.io/api/experimental/community/valheim/category/
#ts-dependencies: ValheimModding-Jotunn-2.20.0
nexus-enable-upload: true
nexus-mod-id: 2840
ts-enable-upload: true
ts-name: Early_Wishbone
Ts-description: "Add the Wishbone to Eikthyr with a 25% chance to drop"
ts-categories: "client-side" #https://thunderstore.io/api/experimental/community/valheim/category/
ts-dependencies: ValheimModding-Jotunn-2.20.0
39 changes: 12 additions & 27 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# TBD
# Early Wishbone

## Summary

TBD
Add the Wishbone to Eikthyr with a 25% chance to drop.

## License
**GNU Affero General Public License v3.0**

## Details
TBD
The Wishbone will help you find hidden treasuse in most of the biomes.
Get it early from beating Eikthyr. Use the Wishbone to find hidden
treasuses as early as the Meadows biome. Extend the lifespan and
usefulness of this utility item before it is cast aside for a belt.

### Dependencies
- <a href="https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/" target="_blank">BepInExPack Valheim</a>
Expand All @@ -20,35 +23,17 @@ TBD

### Configuration

| Config | Category | Data Type | Desc |
| --- | --- | --- | --- |
| Campfire | Fireplaces | bool | Enable Campfire |
| Bonfire | Fireplaces | bool | Enable Bonfire |
| Sconce | Fireplaces | bool | Enable Sconce |
| StandingWoodTorch | Fireplaces | bool | Enable Standing Wood Torch |
| StandingIronTorch | Fireplaces | bool | Enable Standing Iron Torch |
| StandingGreenBurningIronTorch | Fireplaces | bool | Enable Standing Green Burning Iron Torch |
| StandingBlueBurningIronTorch | Fireplaces | bool | Enable Standing Blue Burning Iron Torch |
| StandingBrazier | Fireplaces | bool | Enable Standing Brazier |
| HangingBrazier | Fireplaces | bool | Enable Hanging Brazier |
| Hearth | Fireplaces | bool | Enable Hearth |
| HotTub | Fireplaces | bool | Enable Hot Tub |
| JackOTurnip | Fireplaces | bool | Enable Jack O' Turnip |
| StoneOven | Cooking Stations | bool | Enable Stone Oven |
| Smelter | Smelters | bool | Enable Smelter |
| BlastFurnace | Smelters | bool | Enable Blast Furnace |
| EitrRefinery | Smelters | bool | Enable Eitr Refinery |
| CustomPrefabs | Custom | string | A comma-separated list of prefab names |
* No need to configure.

###### Add to server to enforce configs.

### Crossplay <span class="checked">?</span>
### Crossplay <span class="checked"></span>
| Point of View | Server w/ Mod | Server w/o Mod | Client (PC) w/ mod | Client (PC/Console) w/o mod |
| --- | --- | --- | --- | --- |
| Client (PC) w/ mod | <span class="checked">?</span> | <span class="checked">?</span> | <span class="checked">?</span> | <span class="checked">?</span> |
| Client (PC/Console) w/o mod | <span class="checked">?</span> | <span class="checked">?</span> | <span class="checked">?</span> | <span class="checked">?</span> |
| Server w/ Mod | | | <span class="checked">?</span> | <span class="checked">?</span> |
| Server w/o Mod | | | <span class="checked">?</span> | <span class="checked">?</span> |
| Client (PC) w/ mod | <span class="checked"></span> | <span class="checked"></span> | <span class="checked"></span> | <span class="checked"></span> |
| Client (PC/Console) w/o mod | <span class="checked"></span> | <span class="checked"></span> | <span class="checked"></span> | <span class="checked"></span> |
| Server w/ Mod | | | <span class="checked"></span> | <span class="checked"></span> |
| Server w/o Mod | | | <span class="checked"></span> | <span class="checked"></span> |

### Issues/Questions/Bugs
- Use the repo issues tab above.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,25 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ico", "ico", "{C66A8E3B-31D
ico\logo.png = ico\logo.png
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Digitalroot.Valheim.EarlyWishbone", "Digitalroot.Valheim.EarlyWishbone\Digitalroot.Valheim.EarlyWishbone.csproj", "{249524A5-4299-42A3-8B06-6CCE009BB255}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{B35A418E-FB5F-4560-9AE5-E072A2579495}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{249524A5-4299-42A3-8B06-6CCE009BB255}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{249524A5-4299-42A3-8B06-6CCE009BB255}.Debug|Any CPU.Build.0 = Debug|Any CPU
{249524A5-4299-42A3-8B06-6CCE009BB255}.Release|Any CPU.ActiveCfg = Release|Any CPU
{249524A5-4299-42A3-8B06-6CCE009BB255}.Release|Any CPU.Build.0 = Release|Any CPU
{B35A418E-FB5F-4560-9AE5-E072A2579495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B35A418E-FB5F-4560-9AE5-E072A2579495}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B35A418E-FB5F-4560-9AE5-E072A2579495}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B35A418E-FB5F-4560-9AE5-E072A2579495}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
Expand All @@ -37,6 +55,7 @@ Global
{1960DCD1-3C51-48FF-BFF8-5FE4C3CBABB2} = {E64D67E6-C2B6-471C-990D-2E9A91427B64}
{28344659-BF34-4411-9C48-A3D5C9AFA98E} = {E5C5D2B9-639B-48CF-B5B0-E44FD7F24B1E}
{C66A8E3B-31DB-4296-9DF3-78F55E2580E5} = {E5C5D2B9-639B-48CF-B5B0-E44FD7F24B1E}
{249524A5-4299-42A3-8B06-6CCE009BB255} = {E5C5D2B9-639B-48CF-B5B0-E44FD7F24B1E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {46DD4389-95C4-4F57-BB16-2A9A816F46B9}
Expand Down
2 changes: 2 additions & 0 deletions src/Digitalroot.Valheim.EarlyWishbone.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=eikthyr/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
33 changes: 33 additions & 0 deletions src/Digitalroot.Valheim.EarlyWishbone/.nx/description.bbcode.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[size=3]Add the Wishbone to Eikthyr with a 25% chance to drop.
[/size][b][size=4]
License
[/size][/b][size=3][url=https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone/blob/main/LICENSE]GNU Affero General Public License v3.0[/url][/size][size=3]
[/size][size=3]Closed-source license is available for commercial use.[/size]

[b][size=4]Source[/size][/b]
[size=3][url=https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone]GitHub[/url][/size]

[b][size=4]Installation (manual)[/size][/b]
[list=1]
[*][size=3]Download the latest release archive (zip) file.[/size]
[*][size=3]Extract the archive into <Steam Location>\steamapps\common\Valheim\BepInEx\plugins[/size]
[/list]
[b][size=4]Configuration[/size][/b][size=3]

Go [url=https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone?tab=readme-ov-file#configuration]here[/url] for config details.

[/size][size=4][b]Crossplay[/b]:[/size][size=3] Compatible with clients without the mod. [/size]

[b][size=4]Issues/Bugs[/size][/b]
[size=3]Open an issue or bug on the [url=https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone/issues]issue board[/url].[/size]

[b][size=4]Questions[/size][/b]
[size=3]Ask a question on the [url=https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone/discussions]discussions board[/url].

[/size]

[b][size=4]Support Me[/size][/b] @ [url=https://www.buymeacoffee.com/digitalroot]https://www.buymeacoffee.com/digitalroot[/url]

[center][color=#fff2cc][size=3][b]Digitalroot can be found in the Valhalla Legends' Discord[/b][/size][/color]

[url=https://discord.gg/SsMW3rm67u][img]https://digitalroot.net/img/vl/vl_logo_125x154.png[/img][/url][/center]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/Digitalroot.Valheim.EarlyWishbone/.ts/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/Digitalroot-Valheim/Digitalroot.Valheim.Common.Interfaces/main/src/json/tsio-manifest.json",
"name": "Early_Wishbone",
"author": "Digitalroot",
"description": "Add the Wishbone to Eikthyr with a 25% chance to drop.",
"version_number": "%VERSION_NUMBER%",
"dependencies": [
"denikson-BepInExPack_Valheim-5.4.2202",
"ValheimModding-Jotunn-2.20.0"
],
"website_url": "https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone"
}
37 changes: 37 additions & 0 deletions src/Digitalroot.Valheim.EarlyWishbone/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
using Digitalroot.Valheim.Common;
using Digitalroot.Valheim.EarlyWishbone;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(Main.Namespace)]
[assembly: AssemblyDescription(Main.Name)]
[assembly: AssemblyConfiguration(AssemblyInfo.Configuration)]
[assembly: AssemblyCompany(AssemblyInfo.Company)]
[assembly: AssemblyProduct(AssemblyInfo.Product)]
[assembly: AssemblyCopyright(AssemblyInfo.Copyright)]
[assembly: AssemblyTrademark(AssemblyInfo.Trademark)]
[assembly: AssemblyCulture(AssemblyInfo.Culture)]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3ccc4dc1-5b17-47c1-b996-ca03b8639a61")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion(Main.Version)]
[assembly: AssemblyFileVersion(Main.Version)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AssemblyName>Digitalroot.Valheim.EarlyWishbone</AssemblyName>
<TargetFrameworks>net48</TargetFrameworks>
<LangVersion>10</LangVersion>
<RootNamespace>Digitalroot.Valheim.EarlyWishbone</RootNamespace>
<IsPublishable>False</IsPublishable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DebugType>embedded</DebugType>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
<Copyright>Copyright © Digitalroot Technologies 2022 - 2024</Copyright>
<PackageProjectUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone</PackageProjectUrl>
<RepositoryUrl>https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.EarlyWishbone</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Authors>Digitalroot</Authors>
<Company>Digitalroot Technologies</Company>
<Product>Digitalroot Valheim mod Early Wishbone</Product>
<Description>Early Wishbone mod for Valheim</Description>
<NeutralLanguage>en-US</NeutralLanguage>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RestoreAdditionalProjectSources>
https://nuget.bepinex.dev/v3/index.json;
https://digitalroot-valheim-nuget.s3.us-west-2.amazonaws.com/index.json
</RestoreAdditionalProjectSources>
<VersionPrefix>1.0.0</VersionPrefix>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>

<ItemGroup>
<Content Include=".nx\description.bbcode.txt" />
<Content Include=".ts\icon.png" />
<Content Include=".ts\manifest.json" />
</ItemGroup>

<ItemGroup>
<None Include="FodyWeavers.xsd" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="BepInEx.Core" Version="[5.4.21]">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Digitalroot.Valheim.Build.Targets" Version="1.0.21">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Digitalroot.Valheim.Common.AssemblyInfo" Version="1.0.17">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Digitalroot.Valheim.Common.Log" Version="1.1.54" />
<PackageReference Include="Digitalroot.Valheim.Common.Names" Version="1.4.35">
<IncludeAssets></IncludeAssets>
</PackageReference>
<PackageReference Include="Digitalroot.Valheim.Common.References" Version="0.218.16">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Digitalroot.Valheim.Common.Utils" Version="1.0.65" />
<PackageReference Include="Digitalroot.Valheim.References.JvL" Version="2.20.0" />
<PackageReference Include="ErrorProne.NET.CoreAnalyzers" Version="0.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Fody" Version="[6.6.0]">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ILMerge.Fody" Version="[1.22.0]">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
3 changes: 3 additions & 0 deletions src/Digitalroot.Valheim.EarlyWishbone/FodyWeavers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ILMerge />
</Weavers>
Loading

0 comments on commit 5807947

Please sign in to comment.