Commit Graph

85 Commits

Author SHA1 Message Date
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -07:00
berichan
72b6944a82 Show associated item names in ItemEditor 2021-02-22 16:52:18 +00: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
c897c5880b Use firstordefault and check for default on villager replace. Closes #449 2021-02-09 13:56:41 +00:00
Kurt
35c26ff76f Differentiate harvested flowers vs gene storing flowers
Closes #447
2021-02-07 15:50:21 -08: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
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
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
70fe4834da
Add villager crafting editing functionality (#433)
* Add villager crafting editing functionality

* Add legacy villager1 support
2020-12-02 12:42:32 -08:00
Charlie U
f4bbb7a7bb
Resolve Villager Import Bug (#403)
* Add missing not operator

* Fix backwards conversions
2020-09-30 08:12:48 -07:00
Kurt
8be77c691e Add villager converter
dumped a villager and the values were empty for 1->2; converting back down should be fine.
2020-09-29 22:57:31 -07:00
Kurt
8ca3877bfa Differentiate villager types
v1.5 increased the size of GSaveLightMemory by 0xC each; with 160 entries, everything stored after this field (at 0x2F84) increased its offset by 0x780.

  GSaveItemName                     ClothesPTops;                           // @0x14c size 0x8, align 4
  s16                               _58b5e808;                              // @0x154 size 0x2, align 2
  s8                                ClothesPTarget;                         // @0x156 size 0x1, align 1

Should be possible to convert the first revision of villager data to the current format and vice versa. Someone would need to document how they pre-fill these new fields (listed above).
2020-09-29 22:20: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
Charlie U
51db362913
Fix bug where sort by type would only sort by alpha (#398) 2020-09-23 09:15:23 -07:00
Kurt
0203eb4017 Minor clean 2020-09-05 20:15:17 -07:00
Charlie U
4f4483a810
Add Sort Items Option (#391)
* Add designer handling for Sort button

* Update tab indexes for buttons after Sort

* Add context menu and toolstrip menu objects for Sort menu

* Add context/toolstrip menu handlers

* Add default click handlers for sort options

* Initialize context/toolstrip menu objects

* Add missing logic

* Fix Sort button location

* Expand size of navigation panel for sort button:

* Remove ellipses from sort button caption

* Implement alphabetical sort

* Implement sort by item type (ItemKind)

* Add check for item count in SetEditorItems

* Remove sort by new (item data not present)

* Sort by alphabetical before sorting by type
2020-08-28 09:41:32 -07:00
Charlie U
ab3dd8b079
Add Bulk Move Out Functionality (#379)
* Add toolstrip menu item
* Add toolstrip separator
* Update MovingOut property of all Villagers
2020-08-18 13:41:24 -07:00
Kurt
6859d91159 Show & save wrapping value for flowers
Closes #324
2020-08-07 11:54:38 -07:00
Kurt
fec5c7e432 Add import item from clipboard 2020-08-03 14:45:28 -07:00
Kurt
47c739a295 Add item editor picture double-click to export u64 string
Allows for dumping the item value quickly to clipboard
might be useful in something soon ;)
2020-08-02 21:50:18 -07:00
Kurt
833483027f Minor clean
memes
2020-07-29 18:35:59 -07:00
berichan
ea1d9c7b1b
Image fetcher & 5byte fields (#359)
* Added new image code, quanted existing images, fixed bcsv parser

* small clean and sane(r) filenames

* Made a string slightly nicer

* various revert to fix diff

* full revert of editor

* forced revert of editor

* fix sprite init

* ready for merge
2020-07-20 19:02:49 -05:00
berichan
c224466bd7
Interpolating picture box (#358) 2020-07-20 16:48:54 -05:00
berichan
7d778b36a0
Added default phrases (all languages) & de item list (#341)
* Update README.md

* Added USB functionality

* Updated readme

* Revert README.md changes

* Remove unnecessary lib dependencies

only directly referenced by injection project

* Minor clean

handle compiler/roslyn messages

* Update README.md

* added a null check and a usb-botbase-safe poke function

* Revert "Update README.md"

This reverts commit e106a62b0d.

* Created new de item list using https://github.com/berichan/NH_CreationEngine

* Added ability to revert catchphrase to original & updated de item text file.

Co-authored-by: Kurt <kaphotics@gmail.com>
2020-07-08 20:49:32 -05:00
Kurt
4d5e06e373 Add Dive item list & actions for editors
BCSV dump puts Communicator in the list; manually removed. Moved pearl to shells list as it's not able to be donated to museum
2020-07-03 12:05:24 -05:00
Kurt
4db8435e7b Add Clear options to delete only certain types
Closes #304
2020-06-08 22:28:04 -07:00
Kurt
918c97eeaa de-generic the item grid editor
no need to have it generic; it only handles Item[]
(ignoring VillagerItem[], which should be a separate editor or something)
2020-06-08 22:06:32 -07:00
Kurt
3339f45a94 Add tooltip to show items that contain entered string
if someone wants regex / wildcard support, feel free to issue a pull request; contains should be fine for 99.99% of search requirements
Closes #288
2020-06-07 10:30:46 -07:00
Kurt
ed53d331d9 Relabel W1/W2 as w1/w2 (recessive)
Closes #296
2020-06-05 20:09:10 -07:00
Kurt
e8018182d8 Add edit villager wearable, expand furniture count to 32
Closes #266
Closes #268

Not sure about Tops/Accessory/Cap, as there are TopsData and UsuallyTops being separate.
2020-05-28 12:57:21 -07:00
Kurt
72312641a9 Add villager nick/greet
Closes #254
update translatables
2020-05-25 09:21:15 -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
180e337f05 Display bit-achievements as active 2020-05-22 00:05:39 -07:00
Kurt
406b64333a Enhance achievement / milestone editor
Closes #238

Extract milestone thresholds / milestone count
Abstract out achievement data to workable structure

add giveall/clearall for individual / all, cuz ppl are lazy
2020-05-21 22:54:05 -07:00
Kurt
641f82f1f5 Hide extra wrap flag
this bit isn't used by the game
2020-05-19 10:15:23 -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
250fe581f4 Autosize PictureBoxes, widen flag panels
Closes #209
2020-05-18 08:12:40 -07:00
Kurt
3061442f77 Add localized color name display
Closes #223
2020-05-15 13:08:47 -07:00
Kurt
a8f111a8f1 Add villager memory (per player) editor
Change friendship here.

Can also cheat all friendships (of all villagers, for all saved players) to 255 by shift clicking the drop-down button instead.
2020-05-14 16:10:33 -07:00
Kurt
5885cc2370 Show Flag0/1 at all times
We only toggle views for the FreeParam editors; keep the SystemParam and AdditionalParam (hex) editors visible
2020-05-12 19:48:52 -07:00
Kurt
14e9bfac8c Show more details for message bottle
Change some control padding to 0's for alignment visual
2020-05-10 16:32:58 -07:00
Kurt
2bde85aa59 Misc appearance tweaks
many-customize-option items can have too many displayed options; just increase the size / scroll bar the editor

yay "wooden simple bed"
2020-05-10 12:49:23 -07:00
Kurt
1c2af21361 Show item sprite in item editor
no markup of ancillary values, just the image
2020-05-10 12:19:24 -07:00
Kurt
a801b1854f Allow editing villager cached pattern
Closes #191
2020-05-10 09:56:26 -07:00
Kurt
0085c453d4 Add custom picker for specialty fruit
Closes #181
2020-05-09 10:58:19 -07:00
Kurt
6a00cb22b4 Add extension tile property manipulation 2020-05-08 13:27:15 -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
e7e01ba007 Remove dropdown on keypress
quality of life improvement
2020-05-08 11:26:37 -07:00