Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
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
Kurt
04126e277f Update game data dumps 2020-11-18 18:43:21 -08:00
berichan
293e4c69dd
Update menu icon, de item list (#406)
* Update menu icon, de item list

* Remove unused resource
2020-09-30 15:33:08 -07:00
Kurt
0f79457d4c Add customization info for new items
forgot this :)
2020-09-29 23:00:53 -07:00
Charlie U
6b2b46ec1d
Add feature to populate max item stack (#396)
* Add event handler for count label click
2020-09-29 19:55:06 -07:00
Kurt
5c02b04aaf Continued interim updates 2020-09-29 18:59:23 -07:00
Kurt
b319defe75 Initial changes
not working yet, need save disassembly for correct offsets and need to update strings
2020-09-29 18:49:18 -07:00
berichan
cba0abda72
ItemRemakeInfo: Ensure body values are compiled correctly. (#384)
* ItemRemakeInfo: Ensure body values are compiled correctly. Add x86 option for debugging only

* remove useless line
2020-08-22 16:27:08 -07:00
Kurt
ae3742ad1f Avoid infinite loop if an invalid extension tile is set 2020-08-05 14:47:49 -07:00
berichan
9872d8278d
Updated specs, de list and menuicon (#368) 2020-07-30 18:11:33 -07:00
Kurt
da06fd4c46 Interim parse update and load/save
Offsets are placeholder for now until cylindricalearth is updated with the new offset parse
2020-07-29 19:21:20 -07:00
berichan
edcd6b7f17
Added MenuIcon for all items (#354) 2020-07-18 16:04:53 -05:00
Kurt
c0d916f0c6 Update some stuff (not saves) 2020-07-02 20:38:24 -05:00
Kurt
4db8435e7b Add Clear options to delete only certain types
Closes #304
2020-06-08 22:28:04 -07:00
Kurt
eccc762998 Add support for importing 08 (8byte) cheats
Closes #303
2020-06-08 10:55:06 -07:00
Kurt
ed53d331d9 Relabel W1/W2 as w1/w2 (recessive)
Closes #296
2020-06-05 20:09:10 -07:00
Kurt
084542d367 xmldoc
tried to split off some grid stuff because rooms don't need to know about acres; whatever
2020-05-23 13:08:14 -07:00
Kurt
832a6717f8 Add extra wrapping flags
0x40 shows the item ID instead of present
dunno what 0x80 does, if anything.
2020-05-19 09:13:44 -07:00
Kurt
f05f59736b Abstract Flag1 for wrapping in GUI
MessageBottle uses Flag1 for different purposes
2020-05-18 11:29:38 -07:00
Kurt
6b678ac704 Add snap to grid for field items, upgrade handle extensions: delete tile
Setting a field item with the snap active will align it to the major gridlines. This will prevent the user from setting un-interactable objects (rocks, trees) unintentionally.

Having the auto-handle extension tiles will now delete all associated tiles when issuing a delete command on an extension tile, rather than just deleting the extension tile.
2020-05-16 12:03:21 -07:00
Kurt
3061442f77 Add localized color name display
Closes #223
2020-05-15 13:08:47 -07:00
Kurt
46d4f4e8c1 Wrapping paper clarifications
wrapping paper is 0-15, and the array is 16 entries. just add.
2020-05-11 22:07:27 -07:00
Kurt
ff5acf2b9c Remap field item sprite to held item if available
Also adds tree shake drop hint for tooltip
2020-05-10 20:26:56 -07:00
Kurt
71089b0103 Set body customization flags on give all
Closes #190

I checked one of my more recent save files and noticed that bits for remake indexes 2,000+ were set. Not sure why there's 8000 remake sets allocated... Maybe they're using the data there for other unlocks / values. Dunno!

Replace '8' with ItemRemakeInfo.BodyColorCountMax for documentation clarity
2020-05-10 08:54:45 -07:00
Kurt
6a87f9d874 Add more item flags
10_0000th bit of Flag0 is to indicate if an item was dropped rather than placed (dropped clothing vs clothing on display)

treat dropped items and buried item sizes as 2x2 (1.0x1.0) rather than their placed sizes
2020-05-09 22:06:22 -07:00
Kurt
7f58513d29 add weed to kind translation
why not
2020-05-08 15:24:27 -07:00
Kurt
d68b8b2fbf Fix oak tree color on field item map 2020-05-08 15:01:10 -07:00
Kurt
a6f88a048b Translate item kind from FieldItem
only trees and flowers are really necessary (for editing values)
2020-05-08 13:24:13 -07:00
Kurt
a9810c7d03 Merge Field Item back into Item
Different means of expression for the 8 byte item structure's FreeParam

Will be expanding the ItemEditor so that it has a checkmark to toggle Extension Item editing behavior.

Removes IHeldItem as there's no need to abstract it.
2020-05-08 12:20:24 -07:00
Kurt
f6aab41872 Remove extra ' in comment 2020-05-07 20:34:22 -07:00
Kurt
e9a6861349 Add design source / choice for item
s32 remake {

s32 body:3
s32 source:2
s32 pattern:8
s32 unused:19

}
2020-05-07 17:01:19 -07:00
Kurt
50c401d0c1 Update ItemRemakeCommonPatternCategory.cs 2020-05-07 15:42:16 -07:00
Kurt
f78b0d892d Add remake pattern data
Need to figure out how it is stored.
It must override fabric values somehow. If you have custom fabric items, please share data on discord :P
2020-05-07 15:35:32 -07:00
Kurt
7d975a9ea9 Differentiate field item colors
Closes #159
2020-05-03 20:17:36 -07:00
Kurt
b884973919 Refactoring
abstraction++
2020-05-03 19:24:16 -07:00
Kurt
c25cd262d4 Add automatic delete/set of extension tiles from root
Setting a root tile: will fill in the extension tiles
Deleting a root tile: will delete all extension tiles (it assumes extension tiles are valid)

Add checkbox to prevent overwriting tiles that aren't none (eg if you set a 4x4 and it'd overlap with a 2x2, the program would play a sound indicating that the requested operation was disallowed).

Closes #136 -- multi-select with the current drawing setup isn't really feasible. Bulk set/delete addresses the underlying request.
2020-05-02 00:20:44 -07:00
Kurt
4128cc00f6 Add item size metadata 2020-05-01 23:10:04 -07:00
Kurt
ac718d90af Don't consider flower seeds as flowers (gene expression) 2020-05-01 19:47:01 -07:00
Kurt
f71854ac5f Add more flower flags
click on the Days label to set all flags, hold alt to clear all flags instead.
2020-04-29 18:54:28 -07:00
Kurt
ccc28e4f1d Add more flower value editing 2020-04-29 11:35:23 -07:00
Kurt
b3629e9049 Name f8 watered 2020-04-25 14:51:48 -07:00