SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Consider asset helpers for map files

Pathoschild opened this issue ยท 3 comments

commented

Consider creating an asset.AsMap() helper to simplify map operations when editing map files.

commented

Keep in mind helpers for editing maps would also be useful when editing an already-loaded map.

commented

I started playing around and will add to it as I get a better understanding about how everything works.
https://github.com/smokingfish/SMAPI/tree/develop/src/MarcusUndAnneMod

There is a simple extension for merging. I want to add some more content layers for other parts too.

AsMap().Merge(newMap) - works fine with simple tile edits and replacing the warps, lots of work still to do :)

commented

I have no current plans to implement this, but I'd be interested in a pull request if it worked well.