Skip to content

Commit

Permalink
Merge v1.0.1 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pragasette committed Feb 3, 2021
2 parents 8af9e6b + 4412a7c commit cb373b3
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ The format is based on [Keep a Changelog] and this project adheres to

### Fixed
- Formula for varying base health and custom `TimeScale`.

## [1.0.1] - 2020-03-20

### Fixed
- Special Edition: health not reverting after level-up in loaded games.

## [1.0.0] - 2019-12-18
Expand Down Expand Up @@ -38,7 +42,8 @@ The format is based on [Keep a Changelog] and this project adheres to

[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
[Unreleased]: https://github.com/pragasette/no-health-reset/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/pragasette/no-health-reset/compare/v1.0.1...HEAD
[1.0.1]: https://github.com/pragasette/no-health-reset/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/pragasette/no-health-reset/compare/v0.2.0...v1.0.0
[0.2.0]: https://github.com/pragasette/no-health-reset/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/pragasette/no-health-reset/releases/tag/v0.1.0
11 changes: 11 additions & 0 deletions README-SE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ Also see the _Implementation Details_ section below.
Use your mod manager of choice, [Mod Organizer 2] is recommended.


## Updating

It is safe to update to a newer release in the middle of a game, as long as the
first number (_major_ version) doesn't change:

- **1.0.0****1.0.1** ✔️

Also see [Semantic Versioning for End-User Game Mods].


## Configuration

The following property of the `_p7NHR_Quest` quest can be edited using
Expand Down Expand Up @@ -112,6 +122,7 @@ waiting in vanilla game, as long as the regeneration rate is low enough.
[#2]: https://en.uesp.net/wiki/Skyrim:Console#Targeted_Commands
[Race]: https://www.creationkit.com/index.php?title=Race
[Mod Organizer 2]: https://www.nexusmods.com/skyrimspecialedition/mods/6194
[Semantic Versioning for End-User Game Mods]: https://github.com/pragasette/game-mods-semver
[SSEEdit]: https://github.com/TES5Edit/TES5Edit
[Frostfall]: https://www.nexusmods.com/skyrimspecialedition/mods/671
[iNeed]: https://www.nexusmods.com/skyrimspecialedition/mods/645
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ Also see the _Implementation Details_ section below.
Use your mod manager of choice, [Mod Organizer 2] is recommended.


## Updating

It is safe to update to a newer release in the middle of a game, as long as the
first number (_major_ version) doesn't change:

- **1.0.0****1.0.1** ✔️

Also see [Semantic Versioning for End-User Game Mods].


## Configuration

The following property of the `_p7NHR_Quest` quest can be edited using
Expand Down Expand Up @@ -107,6 +117,7 @@ waiting in vanilla game, as long as the regeneration rate is low enough.
[#2]: https://en.uesp.net/wiki/Skyrim:Console#Targeted_Commands
[Race]: https://www.creationkit.com/index.php?title=Race
[Mod Organizer 2]: https://www.nexusmods.com/skyrimspecialedition/mods/6194
[Semantic Versioning for End-User Game Mods]: https://github.com/pragasette/game-mods-semver
[TES5Edit]: https://github.com/TES5Edit/TES5Edit
[Frostfall]: https://www.nexusmods.com/skyrim/mods/11163
[iNeed]: https://www.nexusmods.com/skyrim/mods/51473
Expand Down
10 changes: 10 additions & 0 deletions Scripts/Source/_p7NHR_PlayerAlias.psc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ Scriptname _p7NHR_PlayerAlias extends ReferenceAlias

_p7NHR_Quest Property PlayerQuest Auto

Event OnInit()
; if the alias is empty, the quest was started before the alias existed:
; this means the mod was updated since last game: let's fill the alias
; and refresh registrations manually
If !Self.GetReference()
Self.ForceRefTo(Game.GetPlayer())
PlayerQuest.RefreshRegistrations()
EndIf
EndEvent

Event OnPlayerLoadGame()
PlayerQuest.RefreshRegistrations()
EndEvent
8 changes: 8 additions & 0 deletions nexusmods.com/description-SE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Also see the [i]Implementation Details[/i] section below.
Use your mod manager of choice, [url=https://www.nexusmods.com/skyrimspecialedition/mods/6194]Mod Organizer 2[/url] is recommended.
​

[heading]Updating[/heading]
It is safe to update to a newer release in the middle of a game, as long as the first number ([i]major[/i] version) doesn't change:
​
[list]
[*] [b]1.0.0[/b] → [b]1.0.1[/b] ✔️[/list]
Also see [url=https://www.nexusmods.com/skyrim/mods/101821]Semantic Versioning for End-User Game Mods[/url].
​

[heading]Configuration[/heading]
The following property of the [code]_p7NHR_Quest[/code] quest can be edited using [url=https://www.nexusmods.com/skyrimspecialedition/mods/164]SSEEdit[/url] or the console:
​
Expand Down
8 changes: 8 additions & 0 deletions nexusmods.com/description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ Also see the [i]Implementation Details[/i] section below.
Use your mod manager of choice, [url=https://www.nexusmods.com/skyrimspecialedition/mods/6194]Mod Organizer 2[/url] is recommended.
​

[heading]Updating[/heading]
It is safe to update to a newer release in the middle of a game, as long as the first number ([i]major[/i] version) doesn't change:
​
[list]
[*] [b]1.0.0[/b] → [b]1.0.1[/b] ✔️[/list]
Also see [url=https://www.nexusmods.com/skyrim/mods/101821]Semantic Versioning for End-User Game Mods[/url].
​

[heading]Configuration[/heading]
The following property of the [code]_p7NHR_Quest[/code] quest can be edited using [url=https://www.nexusmods.com/skyrim/mods/25859]TES5Edit[/url] or the console:
​
Expand Down

0 comments on commit cb373b3

Please sign in to comment.