fgenesis
1743e1a996
script compat: entity_toggleBone() and Lua platform detection is deprecated; forgot newproxy() is a valid Lua 5.1 function
2023-05-31 18:10:55 +02:00
fgenesis
c606409403
oops, forgot to remove deprecated functions from list
2022-12-10 01:05:27 +01:00
fgenesis
b17afecd4b
Remove 3 unused Lua functions:
...
- entityFollowEntity()
- entity_followEntity()
- entity_isFollowingEntity()
2022-12-09 04:20:17 +01:00
fgenesis
0edb2d609a
Remove unused Lua func entity_watchEntity()
2022-12-09 04:16:05 +01:00
fgenesis
0cc2f565d7
Remove 2 unused Lua functions that only the unused "squeezer" scripts called
...
- entity_grabTarget()
- entity_releaseTarget()
2022-12-09 04:10:13 +01:00
fgenesis
008574d913
fix compat layer breaking immediately (how did this ever work?)
2022-07-17 17:57:08 +02:00
fgenesis
fb3d27fcfe
Remove Lua functions:
...
- toggleVersionLabel()
- setVersionLabelText()
+ Implement compat function entity_flipHToAvatar() properly
2022-07-17 17:56:26 +02:00
fgenesis
4732d10d78
Add "default" and "none" mod compat scripts
2022-06-09 02:30:31 +02:00
fgenesis
1e9c415624
More work on the mod v1.1 compatibility layer
2021-01-12 23:51:18 +01:00
fgenesis
e633ce1014
Don't deprecate appendUserDataPath()
2017-04-04 19:29:07 +02:00
fgenesis
fb3edf413d
Deprecate entity_incrTargetLeaches() & entity_decrTargetLeaches() properly
2017-01-21 03:34:12 +01:00
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