[2.0.11] Loader does not support freezing

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 426
Joined: Tue Mar 06, 2018 12:18 am
Contact:

[2.0.11] Loader does not support freezing

Post by kirazy »

The LoaderPrototype graphics are defined using the LoaderStructure prototype, but it lacks entries for freezing.

Compare the UndergroundBeltStructure and the LoaderStructure.

I would expect the following properties to be available to the LoaderStructure prototype:

Code: Select all

frozen_patch_in :: Sprite4Way optional 
frozen_patch_out :: Sprite4Way optional 
Additionally, there is a Color LUT that is applied to frozen entities, but this LUT is not applied to Loaders:

Image

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2843
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.11] Loader does not support freezing

Post by boskid »

Modding interface requested disguised as bug report. Added for 2.0.12 however due to lack of sprites i was unable to test if its actually working and loaders are really tricky beasts in terms of freezing (they are TransportBeltConnectable which supports freezing to stop belts moving, but they are also UpdatableEntity which also supports freezing to stop the item transfers from happening). I made the draw condition based on UpdatableEntity frozen state and i am not sure if the belt itself will freeze or unfreeze correctly.

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 426
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: [2.0.11] Loader does not support freezing

Post by kirazy »

Oh, my bad. The belt freezes properly already, just the loader itself wasn't.

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 426
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: [2.0.11] Loader does not support freezing

Post by kirazy »

boskid wrote:
Sun Oct 27, 2024 11:07 am
Modding interface requested disguised as bug report. Added for 2.0.12 however due to lack of sprites i was unable to test if its actually working and loaders are really tricky beasts in terms of freezing (they are TransportBeltConnectable which supports freezing to stop belts moving, but they are also UpdatableEntity which also supports freezing to stop the item transfers from happening). I made the draw condition based on UpdatableEntity frozen state and i am not sure if the belt itself will freeze or unfreeze correctly.
I return with test results:
10-28-2024, 19-52-51.png
10-28-2024, 19-52-51.png (205.42 KiB) Viewed 253 times
From left to right:
  • (Good) Placed after heat pipe, does not freeze at all.
  • (Bug) Placed before heat pipe, transport belt does not unfreeze.
  • (Good) Placed away from heat pipe, loader and transport belt freeze.
Bug here is the belt wont unfreeze.

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 426
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: [2.0.11] Loader does not support freezing

Post by kirazy »

I've attached a mod with sprites for debugging purposes. :)
Attachments
vanilla-loaders-hd_2.1.6.zip
(533.59 KiB) Downloaded 7 times

Post Reply

Return to “Implemented mod requests”