TL;DR
for to make custom multi function entity, add prototype version of entity of stack-able and easy-to-link-scriptWhat?
suggestion new prototype for multiple custom stack multiple entity with easy mange and script_able thing.this is my idea with Rough text.
PackedEntitysPrototype
Why?
For Now modder who want custom entity whit storage data and function, (at least i know) working like this.- find has function that moder want(similar) entity prototype and make base entity.
- check every init and link (and storage) data alo if single entity is not enough, add hidden other entity or scripting
- check data and using for each in list do each one by one.
- also check if entity is missing than removing all linked entity script add manually
example. for now entity built event has three thing . on_built(do player manually), on_robot_built_entity(do build robot) on_space_platform_built_entity(on space platform.) space-age-dlc add third thing, so who can say will never add forth or more?
also for now way of script_tick_function_entity using data list and for a in l has two problem.
one. for a in l in long list is really worse for ups.(specially for large factory, ups really bottleneck.)
two. to make it use less memory, one way is increase tick_update_late, but it make mod make some buggy.
also about dummy entity, i saw bug of some sub entity is left so i should destroy it manually. (specifically, shot by cannon).
