chore(release): v1.4.24
Version bumped in both places that carry it - manifest.json is what Thunderstore ships, PluginVersion is what the game logs - since those two have drifted apart before. The Nexus description is generated now rather than rewritten by hand. It had fallen thirteen versions behind the README, which is how a hand-maintained copy of a 72KB document goes. scripts/nexus-readme.py converts README.md to the BBCode the page wants, following what the 1.4.11 page did by hand so the two are comparable, and writes dist/NEXUS_README_<version>.bbcode.txt. The wiki link was on the Nexus page and had never been in the README, so every other channel shipped without it. It is in the README now, which means it reaches Nexus, Thunderstore and the repository from one place. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
148ca5b39e
commit
421bc72eb7
4 changed files with 117 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ namespace RacesOfValheim
|
|||
{
|
||||
public const string PluginGUID = "com.nandor.racesofvalheim";
|
||||
public const string PluginName = "Races Of Valheim";
|
||||
public const string PluginVersion = "1.4.23";
|
||||
public const string PluginVersion = "1.4.24";
|
||||
|
||||
private readonly Harmony harmony = new Harmony(PluginGUID);
|
||||
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -7,6 +7,7 @@ A comprehensive Valheim mod allowing you to play as unique races, each providing
|
|||
## Development & Feedback
|
||||
|
||||
This is a stable release, but more races and refinements are planned!
|
||||
Wiki: [https://wiki.aledanidev.ovh/](https://wiki.aledanidev.ovh/)
|
||||
Bug reports, feedback, ideas: [https://discord.gg/jJzuKBZNC](https://discord.gg/jJzuKBZNC)
|
||||
Support the mod: [Patreon — NandorTheModder](https://www.patreon.com/c/NandorTheModder)
|
||||
|
||||
|
|
@ -412,6 +413,15 @@ Both halves have an off switch under `Factions` in Configuration Manager: **Fact
|
|||
|
||||
## Changelog
|
||||
|
||||
### v1.4.24
|
||||
- **Fix - Purple smoke around the Skeleton's burning skull with some magic mods installed:** the fire aura the Skeleton wears from Moder on looked for its particles under two names that are not in Valheim at all. A name the game does not use is a free slot for whichever mod ships one, and with Magic Supremacy installed the aura picked up that mod's weapon trail on an emissive shader and sprayed it through a five-metre sphere. The aura had never actually been visible in a plain install, so it now draws nothing on purpose; its damage, radius and tick are untouched. Thanks to the players who reported it and named the mods they were running.
|
||||
- **Fix - Effects and sounds that were quietly missing across five races:** an audit of every prefab the mod asks for by name found nine that do not exist in the game, each one failing in silence. The puff that covers a transformation never played for the Fenrir, the Skadi or the Trenta's Muspell; the Aswid's Mist Form appeared and vanished with no effect at all, and so did dominating a creature with a thrall; the Aswid's two status effects and its Bat Form entry in the radial had no icon. All of them now use names the game really has.
|
||||
- **Fix - A Draugh's successful parry threw an error and cancelled its own frost nova:** the poison splash asked for an effect that does not exist and passed it straight to the game without checking, so every parry inside the window failed at that line - taking the North Wind nova that runs immediately after it down as well. Both work now.
|
||||
- **New - Human Meat is a real item at last:** the Bonemass tier has promised it since 1.4 and nothing ever created it, so the drop never happened and the "fatal to the living" warning never fired. A player who dies inside your death aura now leaves a piece behind, yourself included, and only a Draugh can stomach it. It is built from Blood Pudding's own nourishment, with its stamina folded into health since a Draugh has no use for stamina, and is tunable under `Draugh - Undead Fortitude`.
|
||||
- **Fix - Fenrir forms fought in a borrowed voice, or in silence:** every form's sounds were looked up by name and most of those names are not in the game. The chains hid it - a Fenring swung with a wolf's voice through a fallback - and the Cultist's double claw asked for three dead names in a row and had never made a sound at all. Each form now uses the creature's own sounds, and the jump attack's impact lands with the jump instead of firing while the form is still standing.
|
||||
- **New - Howl on demand in every Fenrir form:** the howl key was only ever read by the Fenring and the Cultist. As a wolf or an Ulv it did nothing. All four howl now, and the wolf and the Ulv use the creature's real howl animation - the sound is carried inside that animation, so it lands at the moment the animation means it to.
|
||||
- **Fix - Fenrir form sounds no longer write into your world save:** some of the game's sound prefabs carry a networked component, and spawning one the ordinary way leaves a persistent record behind - one per claw swing. They are now spawned the way the game itself does it, and leave nothing.
|
||||
|
||||
### v1.4.23
|
||||
- **Fix - Trol clients could not chop trees or mine rocks with their fists:** the fist bonus (chop and pickaxe damage, and the tool tier that grows with the bosses) was applied on whichever machine owned the tree or rock - usually the host - where the hit did not belong to the local player, so it only ever worked for the host. It is now applied on the attacking player's own machine before the hit is sent. Thanks to the players who reported it.
|
||||
- **New - Configuration is synced from the server:** every gameplay setting now follows the server's value in multiplayer, and is locked in Configuration Manager for players who are not admins. Keybinds and the purely cosmetic settings (eye and claw colours, glow, model rotation and offsets, the Head Fire VFX and stamina-bar toggles, debug logging) stay local, so each player keeps their own.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "RacesOfValheim",
|
||||
"description": "A Valheim mod that adds ten custom playable races (Aswid, Draugh, Dvergar, Fenrir, Furling, Skadi, Skeleton, Sverm, Trenta, Trol) each with unique abilities, traits, race stations and a deep boss-driven progression system.",
|
||||
"version_number": "1.4.23",
|
||||
"version_number": "1.4.24",
|
||||
"website_url": "",
|
||||
"dependencies": [
|
||||
"denikson-BepInExPack_Valheim-5.4.2333",
|
||||
|
|
|
|||
105
scripts/nexus-readme.py
Normal file
105
scripts/nexus-readme.py
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
"""Turns the mod's README.md into the BBCode Nexus wants.
|
||||
|
||||
The Nexus page had been rewritten by hand each release and had fallen thirteen
|
||||
versions behind the README, so it is generated now. Run it after the changelog
|
||||
entry is in and the version is bumped:
|
||||
|
||||
python scripts/nexus-readme.py
|
||||
|
||||
It reads manifest.json for the version and writes
|
||||
dist/NEXUS_README_<version>.bbcode.txt.
|
||||
|
||||
The conversion follows what the 1.4.11 page did by hand, so the two are
|
||||
comparable: headings become sized bold, a horizontal rule goes above every
|
||||
top-level section, images are gathered onto one line per group, backticks
|
||||
become quotes because Nexus has no code style, and the <details> wrappers
|
||||
around the progressions are dropped while their summaries survive as headings.
|
||||
"""
|
||||
import json
|
||||
import pathlib
|
||||
import re
|
||||
|
||||
ROOT = pathlib.Path(__file__).resolve().parent.parent
|
||||
RULE = "[s]---------------------------------------------------[/s]"
|
||||
|
||||
|
||||
def inline(text):
|
||||
"""Markdown's inline marks, in an order where they cannot eat each other."""
|
||||
text = re.sub(r"\*\*(.+?)\*\*", r"[b]\1[/b]", text)
|
||||
text = re.sub(r"`([^`]+)`", r'"\1"', text)
|
||||
# An in-page anchor means nothing on a Nexus description, so the link text stays and the
|
||||
# link goes: "Full details under Sverm" reads the same, and a dead #10-sverm does not.
|
||||
text = re.sub(r"\[([^\]]+)\]\(#[^)]*\)", r"\1", text)
|
||||
text = re.sub(r"\[([^\]]+)\]\(([^)]+)\)", r"[url=\2]\1[/url]", text)
|
||||
return text
|
||||
|
||||
|
||||
def image(url):
|
||||
# The march gif is a strip rather than a portrait, and was shown smaller by hand.
|
||||
return f"[img height={200 if 'small' in url else 350}]{url}[/img]"
|
||||
|
||||
|
||||
def table_row(line):
|
||||
cells = [inline(c.strip()) for c in line.strip().strip("|").split("|")]
|
||||
if not cells:
|
||||
return None
|
||||
return "- [b]" + cells[0] + "[/b]" + ("" if len(cells) == 1 else " — " + " — ".join(cells[1:]))
|
||||
|
||||
|
||||
def convert(markdown):
|
||||
out = []
|
||||
pending_images = []
|
||||
|
||||
def flush_images():
|
||||
if pending_images:
|
||||
out.append("".join(pending_images))
|
||||
pending_images.clear()
|
||||
|
||||
for line in markdown.splitlines():
|
||||
stripped = line.strip()
|
||||
|
||||
# Images stack up so a group of them lands on one line, the way Nexus shows them.
|
||||
match = re.fullmatch(r"!\[[^\]]*\]\(([^)]+)\)", stripped)
|
||||
if match:
|
||||
pending_images.append(image(match.group(1)))
|
||||
continue
|
||||
flush_images()
|
||||
|
||||
if not stripped or stripped in ("<details>", "</details>", "---"):
|
||||
continue
|
||||
|
||||
match = re.fullmatch(r"<summary><strong>(.+?)</strong></summary>", stripped)
|
||||
if match:
|
||||
out.append(f"[size=4][b]{inline(match.group(1))}[/b][/size]")
|
||||
continue
|
||||
|
||||
match = re.fullmatch(r"(#{1,3})\s+(.*)", stripped)
|
||||
if match:
|
||||
level, title = len(match.group(1)), inline(match.group(2))
|
||||
if level == 2:
|
||||
out.append(RULE)
|
||||
out.append(f"[size={7 - level}][b]{title}[/b][/size]")
|
||||
continue
|
||||
|
||||
if stripped.startswith("|"):
|
||||
if re.fullmatch(r"\|[\s\-:|]+\|", stripped): # the --- separator row
|
||||
continue
|
||||
row = table_row(stripped)
|
||||
if row:
|
||||
out.append(row)
|
||||
continue
|
||||
|
||||
out.append(inline(stripped))
|
||||
|
||||
flush_images()
|
||||
return "\n".join(out) + "\n"
|
||||
|
||||
|
||||
def main():
|
||||
version = json.loads((ROOT / "manifest.json").read_text(encoding="utf-8-sig"))["version_number"]
|
||||
target = ROOT / "dist" / f"NEXUS_README_{version}.bbcode.txt"
|
||||
target.write_text(convert((ROOT / "README.md").read_text(encoding="utf-8-sig")), encoding="utf-8")
|
||||
print(f"{target.relative_to(ROOT)} ({len(target.read_text(encoding='utf-8').splitlines())} lines)")
|
||||
|
||||
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue