Aaron Suen af691675b9 Refactor, simplify, and limit to specific nodes
- Use the existing on_stack_change hook instead of creating new
  on_stack_[un]fill hooks, to simplify util_stack.
- Automatically register bulk nodes, but only for nodes being
  registered that request bulk optimization.
- Remove some code duplication and registration complexity.
- Hand-pick nodes for bulk storage optimization based on a survey
  of actual usage from a dump of the NodeCore Community server
  world map.
- Use a separate group for visinvs with hidden entities.
2022-10-26 07:58:23 -04:00

18 lines
414 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local include, nodecore
= include, nodecore
-- LUALOCALS > ---------------------------------------------------------
nodecore.amcoremod()
include('node')
include('bulknodes')
include('ent_item')
include('ent_falling')
include('hooks')
include('burnup')
include('pulverize')
include('throw_inertia')
include('hints')
include('protect')