Skip to content

Commit c65a628

Browse files
committed
Merge branch 'develop' into stable
2 parents e8a86a0 + 30c87ed commit c65a628

File tree

8 files changed

+27
-19
lines changed

8 files changed

+27
-19
lines changed

build/common.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repo. It imports the other MSBuild files as needed.
77
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
88
<PropertyGroup>
99
<!--set general build properties -->
10-
<Version>4.0.2</Version>
10+
<Version>4.0.3</Version>
1111
<Product>SMAPI</Product>
1212
<LangVersion>latest</LangVersion>
1313
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>

docs/release-notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
[README](README.md)
22

33
# Release notes
4+
## 4.0.3
5+
Released 27 March 2024 for Stardew Valley 1.6.0 or later.
6+
7+
* For players:
8+
* Updated compatibility rewrites for Stardew Valley 1.6.3.
9+
* Updated mod compatibility list.
10+
* Tweaked `player_add` console command's error messages for clarity.
11+
412
## 4.0.2
513
Released 24 March 2024 for Stardew Valley 1.6.0 or later.
614

src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private bool TryReadArguments(ArgumentParser args, out string? id, out string? n
144144
SearchableItem[] matches = this.Items.GetAll().Where(p => p.NameContains(name)).ToArray();
145145
if (!matches.Any())
146146
{
147-
monitor.Log($"There's no item with name '{name}'. You can use the 'list_items [name]' command to search for items.", LogLevel.Error);
147+
monitor.Log($"There's no item whose name contains '{name}'. You can use 'list_items' command to list all items, or search like 'list_items {name}'.", LogLevel.Error);
148148
return null;
149149
}
150150

@@ -159,7 +159,7 @@ private bool TryReadArguments(ArgumentParser args, out string? id, out string? n
159159
header: new[] { "type", "name", "command" },
160160
getRow: item => new[] { item.Type.ToString(), item.DisplayName, $"player_add {item.QualifiedItemId}" }
161161
);
162-
monitor.Log($"There's no item with name '{name}'. Do you mean one of these?\n\n{options}", LogLevel.Info);
162+
monitor.Log($"Multiple items have a name containing '{name}'. Do you mean one of these?\n\n{options}", LogLevel.Info);
163163
return null;
164164
}
165165

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"Name": "Console Commands",
33
"Author": "SMAPI",
4-
"Version": "4.0.2",
4+
"Version": "4.0.3",
55
"Description": "Adds SMAPI console commands that let you manipulate the game.",
66
"UniqueID": "SMAPI.ConsoleCommands",
77
"EntryDll": "ConsoleCommands.dll",
8-
"MinimumApiVersion": "4.0.2"
8+
"MinimumApiVersion": "4.0.3"
99
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"Name": "Save Backup",
33
"Author": "SMAPI",
4-
"Version": "4.0.2",
4+
"Version": "4.0.3",
55
"Description": "Automatically backs up all your saves once per day into its folder.",
66
"UniqueID": "SMAPI.SaveBackup",
77
"EntryDll": "SaveBackup.dll",
8-
"MinimumApiVersion": "4.0.2"
8+
"MinimumApiVersion": "4.0.3"
99
}

src/SMAPI.Web/wwwroot/SMAPI.metadata.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,11 @@
341341
"~1.2.0 | Status": "AssumeBroken",
342342
"~1.2.0 | StatusReasonDetails": "Harmony patches fail at runtime"
343343
},
344+
"More Grass": {
345+
"ID": "EpicBellyFlop45.MoreGrass",
346+
"~1.2.1 | Status": "AssumeBroken",
347+
"~1.2.1 | StatusReasonDetails": "causes runtime crashes"
348+
},
344349
"More Multiplayer Info": {
345350
"ID": "cheesysteak.moremultiplayerinfo",
346351
"~3.0.1 | Status": "AssumeBroken",
@@ -656,38 +661,27 @@
656661
"~1.3.4 | Status": "AssumeBroken",
657662
"~1.3.4 | StatusReasonDetails": "has no effect due to changes in Stardew Valley 1.5, causes crashes in other mods like Chests Anywhere"
658663
},
659-
660664
"Custom Furniture": {
661665
"ID": "Platonymous.CustomFurniture",
662666
"~0.11.2 | Status": "AssumeBroken",
663667
"~0.11.2 | StatusReasonDetails": "causes errors and custom furniture no longer work in Stardew Valley 1.5"
664668
},
665-
666669
"Custom Localization": {
667670
"ID": "ZaneYork.CustomLocalization",
668671
"FormerIDs": "SMAPI.CustomLocalization", // changed in 1.0.1
669672
"~1.1 | Status": "AssumeBroken",
670673
"~1.1 | StatusReasonDetails": "reflection error due to renamed _localizedAssets field"
671674
},
672-
673675
"Geode Info Menu": {
674676
"ID": "cat.geodeinfomenu",
675677
"~1.5.2 | Status": "AssumeBroken",
676678
"~1.5.2 | StatusReasonDetails": "shows no info, freezes game if you try to search"
677679
},
678-
679680
"Mod Settings Tab": {
680681
"ID": "GilarF.ModSettingsTab",
681682
"~0.2.1 | Status": "AssumeBroken",
682683
"~0.2.1 | StatusReasonDetails": "fails extending title menu"
683684
},
684-
685-
"More Grass": {
686-
"ID": "EpicBellyFlop45.MoreGrass",
687-
"~1.0.8 | Status": "AssumeBroken",
688-
"~1.0.8 | StatusReasonDetails": "crashes on save load"
689-
},
690-
691685
"TreeTransplant": {
692686
"ID": "TreeTransplant",
693687
"~1.0.9 | Status": "AssumeBroken",

src/SMAPI/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal static class EarlyConstants
4949
internal static int? LogScreenId { get; set; }
5050

5151
/// <summary>SMAPI's current raw semantic version.</summary>
52-
internal static string RawApiVersion = "4.0.2";
52+
internal static string RawApiVersion = "4.0.3";
5353
}
5454

5555
/// <summary>Contains SMAPI's constants and assumptions.</summary>

src/SMAPI/Framework/ModLoading/Rewriters/StardewValley_1_6/NpcFacade.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ public abstract class NpcFacade : NPC, IRewriteFacade
2121
/*********
2222
** Accessors
2323
*********/
24+
public bool eventActor
25+
{
26+
get => base.EventActor;
27+
set => base.EventActor = value;
28+
}
29+
2430
public new int Gender
2531
{
2632
get => (int)base.Gender;

0 commit comments

Comments
 (0)