Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit fixes bugs #6, #10, and #11, also fixes a warning on InfMain.cs#L640, updates AssemblyInfo.cs to version 1.3.0.0, and has my built files in Releases. I would recommend taking the bin directory out altogether, and submitting any binaries under the repository's Releases section, but I didn't take those files out in this commit.
I built this against the TerrariaServer.exe that comes with TShock 4.4.0 Pre-release 10 for Terraria 1.4.0.4.
Ran everything and tested it, all works fine on the above-mentioned version.
One note is that I made mimics spawned with a key of night outside the corruption or crimson spawn one of the two types randomly; I figure this made for easier access to items not normally found in your world evil's class of mimic.
It would also be reasonable to instead summon the corresponding mimic based on whether the world has corruption or crimson in it, but I don't know how to query that value, and TShock doesn't seem to have up-to-date (or even complete) documentation.
I couldn't seem to get it to not give you back the chest,
WorldGen.KillTile
seems to ignore settingnoItem: true
; I don't know why.If you need me to change anything before accepting, let me know.