Lua scripts for the Legacy mod
Go to file
Remy Marquis 10bea5c9a5 sanitize checks, expanded colors coverage and cleanup 2017-03-18 18:06:36 +01:00
CONSTANTS lua: c&p virus 2013-09-24 20:06:50 +02:00
TESTS added all CS constants 2016-09-08 17:40:24 +02:00
announcehp modname and version added 2016-02-06 16:58:13 +01:00
banners lua: use levelTime to get ms 2017-03-14 18:46:18 +01:00
dynamite dynatimer: quick and dirty fix for lua 5.2.3, refs #609 2014-12-05 22:29:45 +01:00
irc sanitize checks, expanded colors coverage and cleanup 2017-03-18 18:06:36 +01:00
xpsave fixed attempt to index a number value error 2016-09-03 19:04:20 +02:00
README.md removed obsolete scripts 2017-03-04 20:01:56 +01:00

README.md

Lua scripts

  • Lua scripts for the Legacy mod.

CONSTANTS

  • Scripts with useful constants for custom scripts

banners (under construction)

  • Banners managment system in lua

dynamite

  • This Script supports beside legacy mod: ETPro, EtPub & NoQuarter
  • Clients can toggle dynatimer with setu v_dynatimer 1/0

xpsave

  • This script is intended for Legacy mod, but may work in NoQuarter 1.2.9 and above
  • LuaSQL module with sqlite3 driver is required
  • The script could be tweaked to use file backend or other database drivers instead of sqlite3

announcehp

  • Killer's HP is displayed to their victims.

Notes

  • Please always add modname and version to your lua script
modname="NameofLua"
version="1.0"

function et_InitGame()
        et.RegisterModname(modname.." "..version)
end