Commit Graph

562 Commits

Author SHA1 Message Date
Kurt
cb7bc35e7b Add dragdrop for nhi files
Drop nhi on the item editor and it'll load the first item in the nhi
Drop nhi anywhere else and it'll load the items if it's compatible.
2021-03-03 18:23:36 -08:00
Kurt
2242861c80 Add logic for drop compatibility check skipping (parsing) 2021-03-03 17:44:16 -08:00
Kurt
75c176c028 Fix: Replace All items using a copy of the tile
The field array will get mutated, so make sure that our item reference isn't one of the field tiles.
2021-02-28 18:41:25 -08:00
berichan
6ab6375ce6 Ensure associated item search does not search for whitespace 2021-02-26 18:09:33 +00:00
berichan
9486fdc05d update menuicon enum/map 2021-02-25 17:32:18 +00:00
berichan
01f37e5845 Merge + update specs 2021-02-25 17:31:50 +00:00
berichan
cdc01a0bd8 Add shamrock shake 2021-02-25 17:31:08 +00:00
Kurt
96f6b27878 Update ItemParser.cs 2021-02-25 08:51:03 -08:00
Kurt
ea2c57385f Update item parsing for symbol sensitivity
? block
block

need to return "block" if the input string is "block", and not the symbol-whitespace skipped "? block".

https://github.com/kwsch/SysBot.AnimalCrossing/issues/10
2021-02-25 08:48:24 -08:00
Kurt
4a303de57b Dump msbt strings by skipping styling charcodes 2021-02-24 22:47:31 -08:00
Kurt
9eda5f2c10
Initial v1.8.0 Support (#452)
No savefile changes apparently, just adding in new items & handling for them.
Probably didn't need to duplicate the Main/Personal offset classes, but whatever.
2021-02-24 18:44:11 -08:00
berichan
72b6944a82 Show associated item names in ItemEditor 2021-02-22 16:52:18 +00:00
Kurt
ae42737c02 Add a clearer exception message when no player folders present 2021-02-17 20:52:08 -08:00
Kurt
339bb4f7c8 Update PlayerHouseEditor.cs 2021-02-15 19:52:58 -08:00
Kurt
5b46d3ddaf Update FieldItemEditor.cs 2021-02-15 19:52:13 -08:00
Kurt
7a07559cde Add destination enum for tweaking result behavior 2021-02-15 18:17:12 -08:00
Kurt
3dd6b56647 Update IsFlowerGene usage
probably should re-dump itemkind to be more aware of gene/nonGene flower item types, whatever
2021-02-13 09:44:37 -08:00
berichan
d6961b0d3d Do not parse trailing newlines in text resources. Closes #399 2021-02-12 14:41:06 +00:00
berichan
c897c5880b Use firstordefault and check for default on villager replace. Closes #449 2021-02-09 13:56:41 +00:00
Kurt
c522bc9022 Update ItemInfo.cs
for whatever reason, our ItemInfo binary assumes most flowers are uniticon* rather than just Flower; just remap.
2021-02-07 15:57:45 -08:00
Kurt
35c26ff76f Differentiate harvested flowers vs gene storing flowers
Closes #447
2021-02-07 15:50:21 -08:00
berichan
b97082c95d Add manual string-only override of player name/island name in villager player memory editor. Closes #409 2021-02-07 15:34:09 +00:00
berichan
670d568482 Update hard limit of Villager greetings. Closes #375 2021-02-07 15:32:56 +00:00
Kurt
838073576d Remap villager name to internal name if no match
Based on the editor's current language.

I put "raymond" (noquotes) in my clipboard, and click the button. It'll import raymond's data easily.

Play sound on replacement finish
2021-02-06 16:51:16 -08:00
Kurt
1a4dfcb611 Update translations 2021-02-06 15:12:11 -08:00
Kurt
1403a5ed19 Add villager quickswap from GUI + clipboard
No juggling the house after finding the correct villager file; just put the villager internal name in your clipboard.
2021-02-06 15:12:04 -08:00
Kurt
9638ea6f45 Add logic for retrieving and mutating villager+house pairs 2021-02-06 15:10:41 -08:00
Kurt
6fc686c910 Add villager database csproj from community data 2021-02-06 15:09:27 -08:00
Kurt
d47158587c Add tile replacement to Field Item Editor
hold ctrl+alt(+shift for full map) to replace all items on the map that you tap, with the item from the editor.

don't mix & match field items (trees) with regular items, cuz we can't verify size matching for those. Field Items return "unknown size".
2021-02-05 09:15:52 -08:00
Kurt
5d84d92240 Add IEquatable interface for items 2021-02-05 09:15:25 -08:00
Kurt
7b832e06cc Use different splitters for hex/name, add test case 2021-01-30 11:15:34 -08:00
berichan
31ad5034d9 Update menuicon 2021-01-28 19:36:31 +00:00
berichan
dc18d7d0cd Update specs 2021-01-28 19:35:30 +00:00
berichan
d5d927d6e2 Update de item list 2021-01-28 19:34:51 +00:00
Kurt
0d395148cc Add customization text for new items too 2021-01-28 07:08:16 -08:00
Kurt
f316ffce9e Minor tweaks
no functional change
2021-01-28 07:07:41 -08:00
Kurt
ef6e0f0987 Update Reaction list with new Festivale Reactions
https://pastebin.com/VJdWt8X7
ty ARCH9SK7 ^
2021-01-27 20:11:36 -08:00
Kurt
6c40e1c769
Initial v1.7.0 Support (#445)
* Pre-patch preparations

* Update magic values

* Check formatting characters directly rather than string compare

"Brown".StartsWith("\u000e")
>true
what

let's be paranoid here, because .NET Core behaves differently from .NET framework.

* Update FileHashRevision.cs

Postbox with the massive decrease in size; likely the same mutation caused the other massive decreases.

* Dump item names

* Update flag definitions

* Update item info

* Add feathers to bug list

Might remove later.

* Update RecipeList.cs

* Update ItemRemakeUtil.cs

* Update stack details

* Update offsets

* Update MainSaveOffsets17.cs

* Update GameLists.cs
2021-01-27 20:04:51 -08:00
Kurt
f427ca647e Update FieldItemEditor.cs 2021-01-23 23:52:24 -08:00
Kurt
2670a6c751 Add placed design dump/load
https://github.com/kwsch/NHSE/issues/443#issuecomment-765915667
2021-01-23 10:58:58 -08:00
Kurt
b7b16bdc5e Dump patterns with index
#443
People can zip up indexed or non-indexed for sharing.
2021-01-23 10:32:04 -08:00
Kurt
1c4df60920 Add pattern bulk import
#443
Pattern names don't update on the left side (even for single-imports), don't bother for now. Just save & reopen the editor.
2021-01-22 23:14:14 -08:00
Kurt
c5fe5b2e76 Add raw value get/set 2021-01-19 06:27:08 -08:00
Kurt
7403077ad7 Add overload for irregular left/right & top/bot excluded regions 2021-01-18 08:34:14 -08:00
Kurt
f125c13578 Update CanFitDropped 2021-01-18 08:27:48 -08:00
Kurt
1f46556664 Add item[]->field item column/offset for injection 2021-01-17 18:36:29 -08:00
Kurt
d7b46726a0 Absorb extension logic from SysBot.AnimalCrossing project
Extract out pis=>nhi, and nhi=>pis (player item set)
2021-01-17 09:29:46 -08:00
Kurt
83169b8738 Bump language version to c#9 2020-12-24 23:53:40 -08:00
Kurt
c027a2cb44 Bump netcore usages to net5
nhse.core still is netstandard2.0
only tests/sprites/winforms got bumped
2020-12-02 21:35:24 -08:00
Kurt
6fbff26184 Simplify expression
#433
2020-12-02 12:52:12 -08:00