Now all resources are cached. Red laser additionally uses Carcinus Lurker. I moved the caching to the beginning of the function. MODEL_INVISIBLE caching has been duplicated. Now there are no messages "not precached" in console and log.
https://github.com/tx00100xt/SE1-TSE-Sequel/commit/ea28676c04530776c1ae4b2c0f64a...
Btw, all models of enemies and weapons are displayed in Netricsa after dividing the block (if else) into two parts.
I made one mistake, I've already fixed it. The end of the function should be such:
https://github.com/tx00100xt/SE1-TSE-Sequel/commit/78866a515eef3437654f5e7db4678...
that there is a display of the background grid. This variable is further used to draw the grid.