Page 1 of 9

Deadlocks Stacking for Pyanodons mods

Posted: Mon May 07, 2018 10:48 am
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

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 12:40 pm
by Mr. Tact
Any of the ores would be an obvious choice.

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 2:29 pm
by chrisdec
Please do Clay,Fawogea,Iron Oxide,Ralesia

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 3:51 pm
by The_Ghost
Done

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 3:57 pm
by chrisdec
The_Ghost wrote:Done
Thanks,
have a problem with the mod

Image

https://imgur.com/7qmOQt1

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 4:01 pm
by The_Ghost
My bad... uploaded another version than i tested. Give me a minute to recheck and fix it.

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 4:05 pm
by chrisdec
okay

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 4:11 pm
by The_Ghost
It should work now.

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 4:15 pm
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?

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 4:19 pm
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.

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 4:26 pm
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

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 10:03 pm
by pyanodon
I really thanks for that my friend. Keep the good work!

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 11:15 pm
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.

Re: Deadlocks Stacking for Pyanadons mods

Posted: Mon May 07, 2018 11:59 pm
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.

Re: Deadlocks Stacking for Pyanodons mods

Posted: Fri May 11, 2018 8:38 am
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 ;)

Re: Deadlocks Stacking for Pyanodons mods

Posted: Mon May 14, 2018 8:22 pm
by The_Ghost
I updated the code to include them. Thank you for your input.

Re: Deadlocks Stacking for Pyanodons mods

Posted: Tue May 15, 2018 3:47 pm
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

Re: Deadlocks Stacking for Pyanodons mods

Posted: Tue May 15, 2018 10:48 pm
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.

Re: Deadlocks Stacking for Pyanodons mods

Posted: Thu May 17, 2018 1:51 pm
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

Re: Deadlocks Stacking for Pyanodons mods

Posted: Mon May 21, 2018 4:19 am
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