From 6f57d11692823f04b11aeda4a57fc2c5f91db04d Mon Sep 17 00:00:00 2001 From: sheldar Date: Sun, 11 Feb 2018 14:57:47 +0100 Subject: [PATCH] Added spree levels, messages and sound names --- killing-spree/killing-spree.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/killing-spree/killing-spree.lua b/killing-spree/killing-spree.lua index 37338a8..1812c4e 100644 --- a/killing-spree/killing-spree.lua +++ b/killing-spree/killing-spree.lua @@ -14,6 +14,32 @@ local ENTITYNUM_NONE = 1023 local killingSprees = {} +local SPREE = 5 +local RAMPAGE = 10 +local DOMINATION = 15 +local UNSTOPPABLE = 20 +local GODLIKE = 25 +local WICKED_SICK = 30 +local REAL_POTTER = 35 + +local killingSpreeSounds = {} +killingSpreeSounds[SPREE] = "/sound/misc/killing-spree.wav" +killingSpreeSounds[RAMPAGE] = "/sound/misc/rampage.wav" +killingSpreeSounds[DOMINATION] = "/sound/misc/domination.wav" +killingSpreeSounds[UNSTOPPABLE] = "/sound/misc/unstoppable.wav" +killingSpreeSounds[GODLIKE] = "/sound/misc/godlike.wav" +killingSpreeSounds[WICKED_SICK] = "/sound/misc/wicked-sick.wav" +killingSpreeSounds[REAL_POTTER] = "/sound/misc/real-potter.wav" + +local killingSpreeMessages = {} +killingSpreeMessages[SPREE] = "is on a killing spree!" +killingSpreeMessages[RAMPAGE] = "is on a rampage!!" +killingSpreeMessages[DOMINATION] = "is dominating!!" +killingSpreeMessages[UNSTOPPABLE] = "is unstoppable!!!!" +killingSpreeMessages[GODLIKE] = "is godlike!!!!!" +killingSpreeMessages[WICKED_SICK] = "is wicked sick!!!!!!" +killingSpreeMessages[REAL_POTTER] = "is real POTTER!!!!!!!" + function et_InitGame() et.RegisterModname(modname .. " ".. version) end