Deadlocks Stacking for Pyanodons mods

pyanodon's mods are here

Moderator: pyanodon

Post Reply
The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Deadlocks Stacking for Pyanodons mods

Post by The_Ghost »

While playing pyanodons mod i missed stacking features from Deadlocks Stacking for products like coke. So i decided to mod them in myself on top of Deadlocks Stacking/Crating (which was surprisingly easy thanks to Deadlocks modding interface).

Since i started using pyanodons mods only a few days ago i do not really know what should be stackable. Currently only a few things can be stacked (in addition to everything Deadlock already made stackable). If you want something from pyanodons mod to become stackable just answer this post and i will see what i can do for you. If something is already planned i will write it down here.
Done
Todo
Mod Portal
https://mods.factorio.com/mod/Deadlocks ... orPyanadon
Changelog
Last edited by The_Ghost on Sun Jun 10, 2018 1:13 pm, edited 5 times in total.

Mr. Tact
Filter Inserter
Filter Inserter
Posts: 460
Joined: Sat Mar 26, 2016 3:37 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by Mr. Tact »

Any of the ores would be an obvious choice.
Professional Curmudgeon since 1988.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by chrisdec »

Please do Clay,Fawogea,Iron Oxide,Ralesia

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by The_Ghost »

Done

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by chrisdec »

The_Ghost wrote:Done
Thanks,
have a problem with the mod

Image

https://imgur.com/7qmOQt1

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by The_Ghost »

My bad... uploaded another version than i tested. Give me a minute to recheck and fix it.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by chrisdec »

okay

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by The_Ghost »

It should work now.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by chrisdec »

The_Ghost wrote:It should work now.
i will try it out
a rather odd question
i know that deadlocks stacking already stacks the electronic circuits (still has the green circuit pic) but could you make it work with the new version (pic) off PY High Tech?

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by The_Ghost »

I'm sure its possible. Its worth a try but probably a thing i need a bit more time getting comfortable with factorios api.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by chrisdec »

The_Ghost wrote:I'm sure its possible. Its worth a try but probably a thing i need a bit more time getting comfortable with factorios api.
im confirming
it works now its so much better now
i hope you do more off stacking items on the Py mods :D
thanks for doing this

User avatar
pyanodon
Smart Inserter
Smart Inserter
Posts: 1909
Joined: Wed Apr 20, 2016 4:42 pm
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by pyanodon »

I really thanks for that my friend. Keep the good work!
pY Coal processing mod
Discord: Pyanodon #5791

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Deadlocks Stacking for Pyanadons mods

Post by Deadlock989 »

Nice work.
chrisdec wrote:i know that deadlocks stacking already stacks the electronic circuits (still has the green circuit pic) but could you make it work with the new version (pic) off PY High Tech?
Pro-tip: if you've got an item that exists in vanilla and DSB stacks it by default, but some other mod then changed the item in some way (e.g. the icon or the stack size or whatever), just ask for it to be added again (to the same technology) the way you added the new mod items, and the vanilla stack will be replaced by the modded stack. For an example of this see orzelek's Angel/Bob's add-on, the same thing happens there with vanilla ores.
Image

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanadons mods

Post by The_Ghost »

Actually i tried that but it resulted in having one receipe (i forgot if it was stacking or unstacking) to be added twice to the corresponding technology. I will try looking into this later this week.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanodons mods

Post by chrisdec »

hi i can see you have changed the icon for green circuits and advanced circuits, thank you for this :D
can you do ceramic,raw fiber,urea,melamine,melamine resin?

thanks again ;)

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanodons mods

Post by The_Ghost »

I updated the code to include them. Thank you for your input.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanodons mods

Post by chrisdec »

The_Ghost wrote:I updated the code to include them. Thank you for your input.
thanks but i had to restart my map to get the stacking working of urea,melamine

The_Ghost
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon May 07, 2018 10:32 am
Contact:

Re: Deadlocks Stacking for Pyanodons mods

Post by The_Ghost »

chrisdec wrote:
The_Ghost wrote:I updated the code to include them. Thank you for your input.
thanks but i had to restart my map to get the stacking working of urea,melamine
The others worked? That's strange: The stacking effect for urea, melamine and e.g. coke are in the same technology, so there should be no difference.

Did you tried replacing the loaders or filling the stacking beltboxes manually? I have a testing savegame in which i built loaders next to beltboxes and feed them coke. Since this was built without my mod it did not work when building all this. After applying the mod the loaders still don't feed the beltboxes. That is until i put coke in them manually. After doing this the loaders just start working. Could you try if this works for you to? I will of course search for the bug in my code in parallel, but i doubt i will have the time for this before Friday.

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanodons mods

Post by chrisdec »

The_Ghost wrote:
chrisdec wrote:
The_Ghost wrote:I updated the code to include them. Thank you for your input.
thanks but i had to restart my map to get the stacking working of urea,melamine
The others worked? That's strange: The stacking effect for urea, melamine and e.g. coke are in the same technology, so there should be no difference.

Did you tried replacing the loaders or filling the stacking beltboxes manually? I have a testing savegame in which i built loaders next to beltboxes and feed them coke. Since this was built without my mod it did not work when building all this. After applying the mod the loaders still don't feed the beltboxes. That is until i put coke in them manually. After doing this the loaders just start working. Could you try if this works for you to? I will of course search for the bug in my code in parallel, but i doubt i will have the time for this before Friday.
i only tested it with urea and melamine
i did what you recommended putting it in manually and it worked (all of them)
tomorrow i will put another request list for you

chrisdec
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: Deadlocks Stacking for Pyanodons mods

Post by chrisdec »

here is my next batch of items for stacking
Boron Trioxide,Bone Meal,Lime,Borax,Ralesia Seeds,Treated Wood,Optical Set,Ground Sample 01,Printed Circuit Substrate 1,Fiberboard,Fawogae Substrate,Graphite
i hope you can do these

Post Reply

Return to “PyMods”