-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make this compatible with compakt circuits #3
base: master
Are you sure you want to change the base?
Conversation
@@ -55,7 +55,51 @@ function _M.get_rc_slot_count() | |||
return _rc_slot_count | |||
end | |||
|
|||
local function add_compakt_circuits_integration() | |||
if not remote.interfaces["compaktcircuit"] or not remote.interfaces["compaktcircuit"]["add_combinator"] then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not remote.interfaces["compaktcircuit"] or not remote.interfaces["compaktcircuit"]["add_combinator"] then | |
if not script.active_mods["compaktcircuit"] then |
I think it's better if this code errors out when compaktcircuit
is active, but it hasn't defined this interface yet.
Otherwise, we might have hard-to-debug cases where everything looks like it loaded fine, but then placing the combinator in the processor doesn't work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And, well, I think check using script.active_mods
is easier and more intuitive...
Just tried in my save... And seems like the recipe combinator parameters are reset when it's packed. Ig something has been changed on the crafting combinator's side. |
Ok, packing works if settings are set like this:
However, now the settings are reset when unpacking. You don't implement |
I've not been playing factorio much recently so most likely won't contribute to this PR again. Feel free to close it if you want.
…-------- Original Message --------
On 09/06/2024 16:33, Sun Serega wrote:
Ah and also the outline of RC is still shown when hovering over a power pole nearby:
[image.png (view on web)](https://github.com/loneguardian/CraftingCombinator/assets/27270190/6b57e5f0-1821-4235-b2df-fb6bae3db0da)
It isn't the case with vanilla combinators, so can definitely be fixed too...
—
Reply to this email directly, [view it on GitHub](#3 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AE434JMW4Y5UURUYGWCSFDLZGRYWDAVCNFSM6AAAAABJA4JLCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGY2TMOJTGQ).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
No description provided.