Skip to content

Commit

Permalink
v1.4.1
Browse files Browse the repository at this point in the history
fixes #33, fixes #34, fixes #38, fixes #39, fixes #40, fixes #46
  • Loading branch information
eideehi committed Mar 11, 2023
1 parent 83b8c08 commit ff2cd3d
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 21 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ body:
attributes:
label: Mod version
options:
- 1.4.1
- 1.4.0
- 1.3.2
- 1.3.1
Expand Down
2 changes: 1 addition & 1 deletion Automatics/Automatics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class UnityPlugin : BaseUnityPlugin
{
private const string ModId = "net.eidee.valheim.automatics";
private const string ModName = "Automatics";
private const string ModVersion = "1.4.0";
private const string ModVersion = "1.4.1";

private void Awake()
{
Expand Down
2 changes: 1 addition & 1 deletion Automatics/Automatics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>Automatics</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
6 changes: 3 additions & 3 deletions Automatics/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Automatics")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyCopyright("Copyright © 2022-2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -31,5 +31,5 @@
// 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("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.0.0")]
[assembly: AssemblyVersion("1.4.1.0")]
[assembly: AssemblyFileVersion("1.4.1.0")]
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#### v1.4.1 [2023-03-11]
- Fixed a bug where the toggle key for automatic doors would become disabled after using it to turn off the function.
- Fixed a bug where the automatic mapping function would delete unrelated pins, such as pins added by users or boss pins.
- Fixed a bug where the automatic mapping function would cause an exception when loading the world without exiting the game after logging out of the world.
- Fixed a bug where the automatic door closing function would not work, causing the door to remain open.
- The "printobjects" command can now output doors and containers.
- Fixed a bug where the automatic repair function would cause an exception under certain conditions.
- Fixed a bug where the "Distance For Automatic Opening" configuration for automatic doors was not functioning and instead referenced "Distance For Automatic Closing."
- Modified the "Disable Module" item in the configuration to be more intuitive.
- Added "Hexagonal gate" to the door presets.

#### v1.4.0 [2022-12-26]
- Overall Rewriting
* AutomaticDoor
Expand Down
68 changes: 60 additions & 8 deletions CONFIG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,23 @@ Any object can be added. Identifier: a unique string that does not overlap with

- Default value:

==== User-defined Container / [custom_container]
Any container can be added. Identifier: a unique string that does not overlap with any other identifier. White spaces are not allowed. Label: The name of the container. Mainly used in GUI. If you specify an internal name, it will be translated automatically. Pattern: A pattern matching the internal or prefab name of the container. Exact matches are evaluated. You can set a regular expression by concatenating r/ at the beginning.

- Default value:

=== [ #3 Automatic Door ] / [automatic_door]
==== Disable Module / [disable_module]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Door / [enable_automatic_door]
Specify whether to enable the feature that automatically opens and closes the door.

Expand All @@ -81,7 +92,7 @@ Specify whether to enable the feature that automatically opens and closes the do
==== Allow Automatic Door / [allow_automatic_door]
Specify which doors are allowed to open and close automatically.

- Default value: WoodDoor, WoodGate, IronGate, DarkwoodGate
- Default value: WoodDoor, WoodGate, IronGate, DarkwoodGate, PieceHexagonalDoor

==== Interval To Open / [interval_to_open]
Specify the interval at which the process of automatically opening the door is called. If set to less than 0.1, the function to automatically open the door will be disabled. (Unit: second)
Expand Down Expand Up @@ -119,11 +130,17 @@ Specify a shortcut key to enable/disable the automatic door.
- Default value:

=== [ #4 Automatic Mapping ] / [automatic_mapping]
==== Disable Module / [module_disable]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Mapping / [enable_automatic_mapping]
Specify whether to enable the feature that automatically pinning objects and locations to the map.

Expand Down Expand Up @@ -241,16 +258,27 @@ Specify shortcut keys for mapping static objects. Setting this item disables the
- Default value:

=== [ #5 Automatic Processing ] / [automatic_processing]
==== Disable Module / [module_disable]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Processing / [enable_automatic_processing]
Specify whether to enable or disable the ability to automatically perform tasks such as cooking, refining, and refuel.

- Default value: true

==== Allow Container / [allow_container]
Specify containers that allow automatic operations such as item supply and storage.

- Default value: PieceChestWood, PieceChest, PieceChestBlackmetal

==== Allow Processing By Beehive / [allow_processing_by_piece_beehive]
Specify the automatic processing to be allowed for Beehive

Expand Down Expand Up @@ -905,11 +933,17 @@ Performs automatic refuel only when materials are supplied to Eitr refinery.
- Default value: false

=== [ #6 Automatic Feeding ] / [automatic_feeding]
==== Disable Module / [module_disable]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Feeding / [enable_automatic_feeding]
Specify whether to enable the feature for animals to automatically consume feed items from players and containers.

Expand Down Expand Up @@ -941,11 +975,17 @@ Specify the types of animals allowed to feed from the player inventory.
- Multiple values can be set at the same time by separating them with , (e.g. Wild, Tamed)

=== [ #7 Automatic Repair ] / [automatic_repair]
==== Disable Module / [module_disable]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Repair / [enable_automatic_repair]
Specify whether to enable the feature that automatically repair items and pieces.

Expand Down Expand Up @@ -981,11 +1021,17 @@ Specify where the message is displayed when a piece is repaired.
- Acceptable values: None, Center, TopLeft

=== [ #8 Automatic Mining ] / [automatic_mining]
==== Disable Module / [module_disable]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Mining / [enable_automatic_mining]
Specify whether to enable the feature that mine minerals automatically.

Expand Down Expand Up @@ -1029,11 +1075,17 @@ Specify a shortcut key to attempt mining. If a valid shortcut key is assigned to
- Default value:

=== [ #9 Automatic Pickup ] / [automatic_pickup]
==== Disable Module / [module_disable]
==== [Deprecated] Disable Module / [module_disable]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: false

==== Disable Module (Reboot Required) / [module]
You can disable this feature completely to avoid adding logic you don't need. (Game must be restart for reflect this option)

- Default value: Enabled
- Acceptable values: Enabled, Disabled

==== Automatic Pickup Range / [automatic_pickup_range]
Specify the range within which objects are automatically pickup. (Unit: meters)

Expand Down
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Automatics - Valheim Mod
:version: 1.4.0
:version: 1.4.1
:box: https://app.box.com/shared/static
:repositry: https://github.com/eideehi/valheim-automatics
:uri-base: {repositry}/blob/{version}/
Expand Down Expand Up @@ -96,7 +96,7 @@ _Usage: printobjects [TYPE] (OPTIONS...)_
+
Display objects that can be handled by Automatics in the nearby.

TYPE::: Type of object to be displayed. Specify one of the following: animal, monster, flora, mineral, spawner, vehicle, dungeon, spot, other.
TYPE::: Type of object to be displayed. Specify one of the following: animal, container, door, dungeon, flora, mineral, monster, spawner, spot, vehicle, other.

OPTIONS: :::
+
Expand Down
10 changes: 5 additions & 5 deletions distributor/thunderstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ and the detection range of the object can be changed from the config.

**Custom icon pack:**
You can also define your own icons in png and json files. See
[docs/custom-icon-pack.adoc](https://github.com/eideehi/valheim-automatics/blob/1.4.0/docs/custom-icon-pack.adoc)
[docs/custom-icon-pack.adoc](https://github.com/eideehi/valheim-automatics/blob/1.4.1/docs/custom-icon-pack.adoc)
for custom icon pack specifications.

[![Document - Custom Icon Pack](https://app.box.com/shared/static/ggj61oyrdik1jk08lohdqr91e1q5isqv.png)](https://github.com/eideehi/valheim-automatics/blob/1.4.0/docs/custom-icon-pack.adoc)
[![Document - Custom Icon Pack](https://app.box.com/shared/static/ggj61oyrdik1jk08lohdqr91e1q5isqv.png)](https://github.com/eideehi/valheim-automatics/blob/1.4.1/docs/custom-icon-pack.adoc)

</div>

Expand Down Expand Up @@ -144,7 +144,7 @@ Manager](https://github.com/BepInEx/BepInEx.ConfigurationManager).
configuration, so we split it into separate file.**

Open
[CONFIG.adoc](https://github.com/eideehi/valheim-automatics/blob/1.4.0/CONFIG.adoc)
[CONFIG.adoc](https://github.com/eideehi/valheim-automatics/blob/1.4.1/CONFIG.adoc)
to see the configuration details.

## Adding object definitions to Automatics
Expand All @@ -156,7 +156,7 @@ define objects that you want Automatics to work with.
![User-defined objects in GUI](https://app.box.com/shared/static/5f6dvpg1elczu9froqkepxamv03ci9cd.png)

Open
[docs/add-user-defined-object.adoc](https://github.com/eideehi/valheim-automatics/blob/1.4.0/docs/add-user-defined-object.adoc)
[docs/add-user-defined-object.adoc](https://github.com/eideehi/valheim-automatics/blob/1.4.1/docs/add-user-defined-object.adoc)
to learn more about adding user-defined objects.

## About deprecated options
Expand Down Expand Up @@ -239,7 +239,7 @@ Matching result

Automatics is developed and released under the MIT license. For the full
text of the license, please see the
[LICENSE](https://github.com/eideehi/valheim-automatics/blob/1.4.0/LICENSE)
[LICENSE](https://github.com/eideehi/valheim-automatics/blob/1.4.1/LICENSE)
file.

## Changelog
2 changes: 1 addition & 1 deletion distributor/thunderstore/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Automatics",
"description": "Automatics is a mod that automates the tedious tasks of life in Valheim. Most of its features exist in existing mods, but it has been re-designed to make it easier for me to use.",
"version_number": "1.4.0",
"version_number": "1.4.1",
"website_url": "https://github.com/eideehi/valheim-automatics",
"dependencies": [
"denikson-BepInExPack_Valheim-5.4.1901"
Expand Down

0 comments on commit ff2cd3d

Please sign in to comment.