e1dc632779
- Split infusion logic from tool registration so tools aren't depending on sharing local tables with infusion logic. - Use alternative_lux_* fields on tool item registrations to control how lux infusion and boost/unboost applies to tools. - It should now be possible to register tools independently that can tap into lux infusion and boost features. - It should now be possible to make tools boostable, unboostable, and infusable all independently, so they don't need to support all those actions, and they don't need to round-trip from e.g. a boost/unboost operation. - We no longer depend on a naming convention for boost/unboost pairs (though in practice we follow it in the core game, but mods are not required to).
18 lines
394 B
Lua
18 lines
394 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local include, nodecore
|
|
= include, nodecore
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
nodecore.amcoremod()
|
|
|
|
include("api")
|
|
include("ore")
|
|
include("fluid")
|
|
include("react")
|
|
include("infusion")
|
|
include("tools")
|
|
include("cherenkov")
|
|
include("radiation")
|
|
include("renew")
|
|
include("hints")
|