mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-28 15:12:17 +00:00
Lua scripts for the Legacy mod
announcehp | ||
banners | ||
dynamite | ||
irc | ||
killing-spree | ||
medic-syringe-heal | ||
spawn-invul-fair | ||
TESTS | ||
xpsave | ||
README.md |
Lua scripts
- Lua scripts for the Legacy mod. They might or might not work with other mods.
- Lua API doc: see https://legacy-lua-api.readthedocs.io
banners
- Banners managment system in lua
dynamite
- Clients can toggle dynatimer with
setu v_dynatimer 1/0
xpsave
- Save XP between play sessions.
- LuaSQL module with sqlite3 driver is required
announcehp
- Killer's HP is displayed to their victims.
medic-syringe-heal
Allows medics to heal nearly dead players using syringe.
If player has less than 25% of the health, medic can use syringe to heal the teammates either to full or half health, depending on medic healing skill level (eg. medic level 3 or more, heals teammate to the full health).
- This script is intended for legacy
2.77+
mod.
spawn-invul-fair
Remove spawn shield protection when firing.
- This script is intended for legacy
2.77+
mod.
Notes
- Please always add modname and version to your lua script
modname="NameofLua"
version="1.0"
function et_InitGame()
et.RegisterModname(modname.." "..version)
end