1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 17:53:47 +00:00
Aquaria/files/scripts/compat/no-deprecated.lua
fgenesis 3b759294df Add support for mod script compatibility layers
This uses a new <Compatibility script="..." /> tag in a mod's XML file.
A compatbility layer is a script that runs before mod-init.lua is loaded,
and before any mod scripts are loaded when resuming a saved game.

This is a better solution than shipping a fragile wrapper
with every mod, that tends to break and then needs to be updated.
Now this wrapper is centralized, easy to use, and easy to update.

Closes #31.
2017-01-21 02:06:44 +01:00

22 lines
560 B
Lua

-- Functions unused by game scripts; might be removed at some point
user_set_demo_intro = nil
user_save = nil
entity_followEntity = nil
entityFollowEntity = nil
entity_isFollowingEntity = nil
entity_slowToStopPath = nil
entity_isSlowingToStopPath = nil
entity_isNearGround = nil
entity_resumePath = nil
entity_move = nil
createSpore = nil
spawnAroundEntity = nil
node_isEntityPast = nil
entity_pathBurst = nil
avatar_clampPosition = nil
bedEffects = nil
entity_grabTarget = nil
entity_releaseTarget = nil
entity_offsetUpdate = nil
avatar_updatePosition = nil