Commit Graph

248 Commits

Author SHA1 Message Date
hp3721
8aed43a67f
Add handling for revised player house and room structure (v2.0) (#547)
* Add handling for revised player house and room structure (v2.0)

* Update player room load/dump file type filters
2021-11-19 19:53:04 -08:00
Kurt
bb2ea75f58 Reorder bounds check & rotation swap
Closes #529
2021-11-08 15:21:36 -08:00
Kurt
3e7bacb80b Add exclusion for one-time DIY indexes
Closes #523
Thanks @Zelfild for identifying the problematic indexes!

Skips over these two indexes on give-all, and skips over them when spawning a set of DIY items onto the ground.
Added control-key to set all IsNew to false instead of true (when doing GiveAll)
2021-11-06 13:16:52 -07:00
Kurt
caab4f5512 Lossless v1->v2 upgrade 2021-11-05 14:27:40 -07:00
berichan
4bc258e5ab Small clean + update menu icon data 2021-11-05 15:14:54 +00:00
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -07:00
Kurt
8582e96978
Initial v2.0.0 Support (#520)
* Initial save arrangement
* Add initial text dumps
* Update metadata
* Update offsets for main/personal, fix variation test -- items now internally labelled for no variation
* Add event flag labeling
* Add customization remake lookup entries
2021-11-03 21:28:18 -07:00
Kurt
6fb4569ce3 Design Patterns: Load orders by filename, export prompts for filename format
Closes #512
2021-10-16 16:38:33 -07:00
Emil B
083eae90f2
Change pattern system (#504)
To make dumping/loading designs match other dumping/loading buttons (terrain, acre and so on)
+ clicking on "Dump/Load Design" will draw a context menu with 4 options (2 if it's only one design pattern e.g. town flag).
+ when loading designs, I made the Listbox with the design names repopulate (update names) and select the user-selected design instead of going to index = 0;
+ when loading all designs I open a prompt to update "values" or not, instead of by default updating them.
+ fixed file name of dumped singular pro designs to .nhpd instead of .nhd lol
2021-09-06 10:31:11 -07:00
Kurt
567a9175f3 Add IsActive indication on hover, add toggle control
Closes #495
2021-08-01 16:39:27 -07:00
berichan
0af2d48e16 Update menuicontype 2021-07-29 17:51:36 +01:00
Kurt
ec8bcf261e Add remove item like in editor
Closes #492
2021-07-28 23:09:04 -07:00
Kurt
770592df1a Update event flag lists 2021-07-28 18:45:02 -07:00
Kurt
c3ac90d29d Update item recipes/customization options 2021-07-28 18:44:50 -07:00
Kurt
069c3cc702 Update item types/qualities 2021-07-28 18:44:34 -07:00
berichan
29df2c2d51 Add Flowershower MenuIcon 2021-05-01 15:43:31 +01:00
Kurt
02fba973d8 Update item/flag/remake parameters 2021-04-27 23:26:48 -07:00
berichan
7fe8bcb53e bulk-remove bushes, closes #311 2021-04-12 19:29:17 +01:00
Kurt
18ed4c3396 Add Festive wrapping handling
Closes #474

New Horizons loves to reuse and reinterpret data based on values, hence the GUI toggling done for Uses/Variations/Genes... we have to do something similar here. Feels best to be done behind the scenes via code instead.
2021-04-05 17:32:35 -07:00
Kurt
d1932a6651 Expose all 100 patterns in editors/dumps (1.9.0)
Closes #471
2021-03-31 22:37:48 -07:00
Kurt
0798aa5a97 Add batch editor
Similar to PKHeX's batch editor, probably with some stubbed functionality.

Example to change Oak Trees to apple trees:
=ItemId=60000
.ItemId=60001
;
=ExtensionItemId=60000
.ExtensionItemId=60001

Example to unbury all items:
=IsBuried=True
.IsBuried=False
.IsDropped=True
2021-03-21 11:51:57 -07:00
Kurt
fab60f95d9 Update offsets for 1.9.0
Small revisions, notably 50->100 patterns saved.
2021-03-17 19:06:07 -07:00
Kurt
5d5e8bcf67 Update item classifications, flags 2021-03-17 18:43:06 -07:00
berichan
9486fdc05d update menuicon enum/map 2021-02-25 17:32:18 +00: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
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
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
670d568482 Update hard limit of Villager greetings. Closes #375 2021-02-07 15:32:56 +00:00
Kurt
9638ea6f45 Add logic for retrieving and mutating villager+house pairs 2021-02-06 15:10:41 -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
berichan
31ad5034d9 Update menuicon 2021-01-28 19:36:31 +00: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
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
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
berichan
70fe4834da
Add villager crafting editing functionality (#433)
* Add villager crafting editing functionality

* Add legacy villager1 support
2020-12-02 12:42:32 -08:00
Kurt
eb554a623b Fix reaction wheel UI display
revised structure, need to abstract things a little for it
Closes #427
see also #428
2020-11-22 19:57:29 -08:00
berichan
821b9bf5e5
add 1.6.0 reactions (#428) 2020-11-22 19:24:38 -08:00
berichan
3e689c95bf
Update de item list, menuicon, specs (#425) 2020-11-20 08:18:54 -08:00
Kurt
94e8860085 Remove manually added duplicate entry
Closes #419
Keeps ordering of key column

Co-Authored-By: Charlie U <52503242+cpurules@users.noreply.github.com>
2020-11-18 19:10:51 -08:00