Commit Graph

125 Commits

Author SHA1 Message Date
Kurt
86da243405 Add birthday & fg
#164
2020-05-08 20:34:18 -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
8e4e0a92f8 Add reaction list editor
#167

If you're adding reactions, you should probably set FillReactionList in player flags to 44 so that the game knows to not give you more reactions...?
2020-05-07 22:13:31 -07:00
Kurt
8d695cd8ed Add reaction list
ty @Lusamine
2020-05-07 21:41:14 -07:00
Kurt
f6aab41872 Remove extra ' in comment 2020-05-07 20:34:22 -07:00
Kurt
f9d9103039 Add reaction list get/set
pls gib ui soon :)

need to translate these values (byte) -> reaction names (enum)
2020-05-07 19:37:48 -07:00
Kurt
6a98054149 Add hemisphere get/set
ty @rydoginator
2020-05-07 18:06:31 -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
7ebc45db60 bitshift subvariant value for display
Are you smarter than a fifth grader?

Basic addition to see what value you need to put as the Count value.
2020-05-07 11:08:42 -07:00
Kurt
55022c85f4 Indicate subvariation colors
Recombining the values with a GUI editor TBD
2020-05-07 10:32:14 -07:00
Kurt
46272165dc Dump itemRemake into dictionary for use 2020-05-06 21:02:50 -07:00
Kurt
b1877d117f Add remake kit dump & access 2020-05-06 18:20:17 -07:00
Kurt
5779b65b9b Adapt personal player struct to disassembled pseudo.h
Similar to main's adaption in a prior commit, let's use the relative offsets.

adds total nook miles earned to editor
fixes the off-by-one indexing for achievement list
2020-05-06 15:32:09 -07:00
Kurt
e980e1d8c2 Add skip list for giving all received items
Closes #166

I threw in the 30-slot unlock as well as the other "Recipe" ids so that things aren't messed with. They're skipped!

ty @theiconrichie !
2020-05-05 18:37:44 -07:00
Kurt
203a7c1627 Add more removal options
- remove flowers
- remove shells
- remove branches

Closes #163

rename plazaX/Y to match internal field name
2020-05-05 17:17:59 -07:00
Kurt
7d975a9ea9 Differentiate field item colors
Closes #159
2020-05-03 20:17:36 -07:00
Kurt
0ec40f3b55 Categorize stalk market properties
update other usages so we can turn off the help box at the bottom of the propertygrid
2020-05-03 19:43:10 -07:00
Kurt
d78b0e0e1f Minor clean
remove some unused logic (program growth = no longer needed)
2020-05-03 19:36:14 -07:00
Kurt
b884973919 Refactoring
abstraction++
2020-05-03 19:24:16 -07:00
Kurt
4a49caf6da Add layer2->layer1 check (isSupported), add logic for isActive
isActive: indicates if the tile is animated (eg: bonfire has fire or is extinguished)
isSupported: layer2 tile checks beneath it (layer1) to see if there's something to hold it up on that layer (sanity check)

Dunno how to handle the isActive set-on-save. I saw there was an isActive flag in my plaza, assumedly left there from a radio or something. NHSE does not change flag state at this time.
2020-05-03 16:29:28 -07:00
Kurt
8de7f7b506 Add internal flag/value name translation
if you really want to translate these, go ahead
#157
2020-05-03 13:37:04 -07:00
Kurt
fb8c7c8cbb Add logic for internal string name translation dictionary
#157
2020-05-03 13:21:25 -07:00
Kurt
928e699168 misc performance improvements
Preallocate the terrain-building objects and reuse

changed:
- grid alternates with a slightly-darker to help indicate the larger 2x2 tile grid.
- put plaza & buildings behind the gridlines
2020-05-02 23:02:37 -07:00
Kurt
4690cfe167 Refactoring: Field Item Editor + buildings/terrain
Extracts logic from the building & terrain & field item editors for reuse / separation of concerns

Have FieldItemEditor select between Items & Terrain so that you can change the popup menu mode (view set delete)

Not sure how I want to show the terrain names...
2020-05-02 20:05:09 -07:00
Kurt
ef065f889b Add checkbox to toggle auto-extension behavior, clamp map bounds 2020-05-02 14:41:32 -07:00
Kurt
73b4d0c2fd Add fossil & message bottle item for hover text & editor 2020-05-02 14:06:03 -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
8458c52c28 Add room metadata get/set for villager 2020-05-01 22:06:49 -07:00
Kurt
34c9742bce Split many-struct defines into separate files 2020-05-01 22:06:28 -07:00
Kurt
8fefa220e5 Add simplistic bulletin board editor
Closes #144
Need to understand the Image format before a full-blown editor could be made.
2020-05-01 20:17:23 -07:00
Kurt
ac718d90af Don't consider flower seeds as flowers (gene expression) 2020-05-01 19:47:01 -07:00
Kurt
7c7a4fe86f Allow mutating the player house item (door, etc) 2020-05-01 19:28:24 -07:00
Kurt
5f7585ca0f Name property 2020-05-01 19:27:07 -07:00
Kurt
d930b02489 Show buildings/plaza on field item editor
Building sizes not to scale, but should assist in representing layout for now

Extract terrain color to separate class
2020-05-01 16:46:38 -07:00
Kurt
b02d064678 Add treasure trawler enumeration 2020-05-01 10:24:04 -07:00
Kurt
b203cd782a Fix bbs structlayout, Add getter for bulletin 2020-04-30 23:42:34 -07:00
Kurt
6abae6dd87 Rename properties to match disassembled internal names
Revise offset values to read from the struct's location within the parent object.
2020-04-30 23:13:41 -07:00
Kurt
ca0545809c Add bulletin board logic 2020-04-30 23:12:58 -07:00
Kurt
493124d74a Remove unnecessary parenthesis
compiler suggestion
2020-04-30 23:12:32 -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
8808eadb20 Remove enum tostring call for tile color fetch
lighten road colors on higher elevation

0.5->0.6 for 20% darker cliff edges
2020-04-28 19:17:05 -07:00
Kurt
6bb54264e8 Show roads as brown 2020-04-27 11:23:35 -07:00
Kurt
38c4764967 Add more documentation for tile editing
035af51911/savefile/save_schema_131080_131078_pseudoC.h (L1400)

Closes #129
2020-04-27 10:40:35 -07:00