Chaosmod! (WIP)

Custom Chaosmod! (WIP) 2.2.3

Hey yall, SomeoneEls here at 2 AM, lol.
Currently Im working on fixing more bugs and stuff. But the next update is a little special, mostly for all the wrong reasons.

Yeah, it might be a bit laggy for bad pc's. This is mostly due to a bit of code here.

foreach(KeyValuePair<Chest,DCpair> p4 in listP4)
{
DoTransfers(p4);
DoTransfers(listP2); <-- secretly the second foreach



}
It looks perfectly fine, but in reality, this is two foreach 's in the same method. We have a lot of these here.

Though, this one might be the one that breaks the camels back... So in the new update, you might see stuttering, though, in my testing so far, its barely seeable. With more chests, however, it will probally be seeable.

Other things you need to look out for is that, in low light settings, the lighting glitches out a bit and turns slightly white. If you have epilepsy, maybe skip out on this one.

So why is this code here? Well, there was an issue where if you tried to put objects in a loop, they wouldnt be able to go into machines that relliably. So setups like the following wouldnt work that well.

pipeline.png

Though, with this little bit of code, that fixes that.

So what can be done?
Ill try to work more on it to make a better version of this code. Maybe ill try looking at the adjacent tiles and make it so items are divided evenly at junctions. Sounds like a good idea, actually. Though, ill have to uproot some stuff to make it work, so expect the next update to the .zip to be a while longer. Ill still post updates like these though.

See ya, and gn!
  • Like
Reactions: Tgf
Basically there was a bug where you could get infinite of an item from a machine if it was the exact number that was needed- it wasnt deducted.
  • Like
Reactions: Tgf
Fixed..
1. Issue where machines steal your items and are expensive
2. Issue where the game tells you over and over that you didnt put in an item
  • Like
Reactions: Tgf
Because of all the bugs in the latest release, I made it so that the lastest release in the github is 2.0.1. 2.2.2 is currently a pre-release.
Thats why (WIP) is added to the title. So just in-case, make sure that the any save files that you use for the pre-release are not ones you hold dear. Create a new one.
  • Like
Reactions: Tgf
Wood Destroyers:
Destroys trees in a 5 by 5 area and gives you wood.

Crop Harvesters:
Harvests crops in a 5 by 5 area and gives you crops.

Here is a little photo of 2 more systems you can do, one harvests tomatoes and the other fish and roe.
yay.png
  • Like
Reactions: Tgf
Yeah there are some issues still. bruhhhhh

Im working on it. Here are some bugs that still exist.

1. Crashing when you are blue makes you blue permanantly. Might have to remove this event.

2. Placing crops also has issues
  • Like
Reactions: Tgf
Fixed junimo chests and some other bugs, but also introduces

1. Signal chests: Stops direction chests if they dont get have a signal.
2. Signal items: Allows direction chests to allow all items if they have a signal inside them.
3. Added some sprites to the direction chests.



Here is a way that you can automate the quarry using the Ore Destroyers. Cool right?

Mining chests.png

lottawork.png
  • Like
Reactions: Tgf
Hi all! There seems to be some issues with the junimo chest and the direction chests. Im currently on it, and ittl be patched in the next update :D
  • Like
Reactions: Tgf
Thanks to Fireball for the request for the direction chests mod!

Direction chests move the items of the chest/machine before them to the chest/machine after them, and only items that match the items inside the direction chest.

Items move as time passes ingame.

Here are some examples.

1. A left direction chest will move the item right of it left.
2. That chest will move items that match the item inside of the direction chest.
3. Items move every 10 minutes by the clock.



Direction chests can be chained, but only in one direction. For chaining,

1.put the item of the id you want to move in the first chest above the donating chest.
2. Make sure there is a chest/machine at the start and end of the chain.
  • Like
Reactions: Tgf
Top