Search found 7 matches
- Sat Jan 03, 2026 8:38 pm
- Forum: Modding help
- Topic: Upgrade Planner not working on entity despite next_upgrade being set
- Replies: 3
- Views: 333
Re: Upgrade Planner not working on entity despite next_upgrade being set
Thank you, it was an issue of the items being hidden.
- Thu Jan 01, 2026 6:25 pm
- Forum: Modding help
- Topic: Upgrade Planner not working on entity despite next_upgrade being set
- Replies: 3
- Views: 333
Upgrade Planner not working on entity despite next_upgrade being set
I have a deepcopy of the 1x1 loader, which typically does not support the planners. I have gotten the BP and Destruction planners to work, but despite setting the next_upgrade on the loader, it does not work with the Upgrade planner.
- Sat Nov 08, 2025 6:55 am
- Forum: Modding help
- Topic: Unable to use deconstruction, upgrade, or BP on loader-1x1 deepcopy entity
- Replies: 2
- Views: 601
Unable to use deconstruction, upgrade, or BP on loader-1x1 deepcopy entity
I am trying to make a custom set of loaders but when using the built-in loader-1x1 my entity is not selectable with blueprint, deconstruction, or upgrade planners.
Example of 1 tier which is not selectable
loader = table.deepcopy(data.raw['loader-1x1']['loader-1x1']);
loader.name = "ddi-fast ...
Example of 1 tier which is not selectable
loader = table.deepcopy(data.raw['loader-1x1']['loader-1x1']);
loader.name = "ddi-fast ...
- Sun Dec 15, 2024 4:34 am
- Forum: Modding help
- Topic: Multiple items when breaking entity
- Replies: 0
- Views: 287
Multiple items when breaking entity
I am trying to have 1 entity give 2 items when broken.
Currently I have the code as entity.mineable = {mining_time=0.1, results={{type="item",name="item1 name", amount=1},{type="item",name="item2 name", amount=1}}} but is setting a different item as the mineable result instead.
Currently I have the code as entity.mineable = {mining_time=0.1, results={{type="item",name="item1 name", amount=1},{type="item",name="item2 name", amount=1}}} but is setting a different item as the mineable result instead.
- Tue Dec 03, 2024 10:20 am
- Forum: Modding help
- Topic: [Solved]DeepCopy of unsorted items missing from normal gameplay
- Replies: 4
- Views: 900
Re: DeepCopy of unsorted items missing from normal gameplay
This worked for me.
local entity = table.deepcopy(data.raw['lane-splitter']['lane-splitter'])
entity.name = "my-splitter"
entity.hidden = false
data:extend{entity}
local item = table.deepcopy(data.raw['item']['lane-splitter'])
item.name = "my-splitter"
item.subgroup = "belt"
item.place_result ...
- Mon Dec 02, 2024 9:32 am
- Forum: Modding help
- Topic: [Solved]DeepCopy of unsorted items missing from normal gameplay
- Replies: 4
- Views: 900
Re: DeepCopy of unsorted items missing from normal gameplay
I tried that, also made a custom subgroup in the logistics group to move the item to and set its new order.
The custom subgroup works, but only in editor mode.
- Sun Dec 01, 2024 6:19 pm
- Forum: Modding help
- Topic: [Solved]DeepCopy of unsorted items missing from normal gameplay
- Replies: 4
- Views: 900
[Solved]DeepCopy of unsorted items missing from normal gameplay
I am trying to make a mod which utilizes the lane splitter found in the unsorted item group when in editor mode. I would love to use this during normal gameplay but when I use deepcopy to make the item and entity, nothing shows up in the menu unless I enable the editor mode. Is there a setting or ...