Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.43 KB

PortingNotes_1.4.4.9.md

File metadata and controls

40 lines (30 loc) · 1.43 KB

TODOs

General

Player

  • Reapply patch for sItem.useStyle == 13 and sItem.useStyle == 5? Do we still want this now that NetMessage.SendData(13 is sent as well?
+				// Added by TML. #ItemTimeOnAllClients
+				if (whoAmI != Main.myPlayer)
+					return;

MessageBuffer

  • ModTile.ChestDrop and DresserDrop code/patches are atrocious.

TownNPCProfiles

  • Might be a good time to get rid of NPCHeadLoader? At least for town NPCs?

Tile(.TML).cs:

  • Patches have been reimplemented, check that again.

Porting Notes:

  • GrantPrefixBenefits is only called if Item.accessory is true. This applies in mod accessory slots too now.
  • ModWaterStyle now requires an additional texture, _Slope. See ExampleWaterStyle for details.
  • Reforging is now implemented via Item.ResetPrefix. This sets prefix to 0 and then refreshes the item. Make sure any custom fields set by custom prefixes are not serialized independently.

Formatter

  • Not visiting into switch case blocks properly? See ItemSlot.LeftClick

ChildSafety

  • Factories, do they need support for modded ids? (Should be made into issue - Mutant)