Commit Graph

11 Commits

Author SHA1 Message Date
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -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
93c78a15bf
Fix bug causing only 3-letter .nhvh files to show in dialog (#315) 2020-06-22 15:50:59 -05:00
Kurt
755a7d773b fix villager house dump/load
also copy npc values when importing player house; unknown function since most ppl have only 1 player house
2020-05-12 07:36:37 -07:00
Kurt
beb4e8111a Add pocket/bag count
Rename Pocket1/Pocket2 to Bag/Pocket respectively (bag is slots21-40)
2020-04-26 21:11:11 -07:00
Kurt
01ae4793c9 Add player house editor 2020-04-26 20:29:39 -07:00
Kurt
94c141393f Reload displayed object on import 2020-04-22 23:43:12 -07:00
Kurt
f49d223e7b Indirectly get villager name
Villager[Index] != Villager that inhabits House[Index]

Closes #99
2020-04-22 23:22:06 -07:00
Kurt
6f4d9e163c Update translations
Now includes the villager usercontrol in the editor form
2020-04-22 22:12:18 -07:00
Kurt
de48c037f9 Add house editor
only some surface appearance properties; interior item layout nope
use enum values for house info interface

Closes #95
Closes #96

Changes the displayed villager indexes from 1-indexed to 0-indexed to match the game's references.
2020-04-22 21:55:24 -07:00