I want to make a mod. It needs something to do with putting one thing over another thing so it changes graphics. So i tried looking for the code for the tree tapper to reverse engineer but i can't find it anywhere in the "content" folder. I'd appreciate it if anyone could find it (just incase i'm just plain ignorant) or give me an example code
If what you're looking for is just replacing an already existing static image with a new one, i suggest downloading Elle's Kitchen Replacement as a baseline for what you're looking for, and rever engineering from that. Basically, what you want to do is use the following commands from the content.json Code: { "Action": "EditImage", "Target": "Maps/farmhouse_tiles", "FromFile": "assets/wood_{{Wood}}.png", "FromArea": { "X": 0, "Y": 0, "Width": 80, "Height": 48 }, "ToArea": { "X": 16, "Y": 192, "Width": 80, "Height": 48 }, "Patchmode": "Replace", },
hmm... i'll try it out. thanks for the help ! if you need more clarification, i'm trying to make a mod that would put a sprite on top of another one. kinda like putting a tree tapper on trees or putting items on tables