Search found 1 match

by tkausl
Mon Jun 27, 2022 7:16 pm
Forum: Modding help
Topic: How do I create an 'item-request-proxy' to update existing modules?
Replies: 0
Views: 805

How do I create an 'item-request-proxy' to update existing modules?

I'm trying to replace existing modules in a building using a 'item-request-proxy'.

I'm creating the proxy simply with


surface.create_entity({
name="item-request-proxy",
position=other.position,
force=other.force,
target=other,
modules=items
})

Where 'other' is a valid entity and 'items ...

Go to advanced search