From f46037b4b32356e94cf8564bc9486b1b13d2dbda Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Thu, 21 Feb 2013 08:33:49 +0100 Subject: Removed loading of script files using the statusmanager They are now required via the main.lua. Also made Harmony giving you the plague in order to allow testing. --- example/scripts/main.lua | 3 +++ example/scripts/maps/desert.lua | 1 + 2 files changed, 4 insertions(+) (limited to 'example/scripts') diff --git a/example/scripts/main.lua b/example/scripts/main.lua index 3418385..b43dd42 100644 --- a/example/scripts/main.lua +++ b/example/scripts/main.lua @@ -13,3 +13,6 @@ require "scripts/attributes" require "scripts/items/candy" require "scripts/monster/testmonster" + +require "scripts/status/jump" +require "scripts/status/plague" diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua index 96518ac..782dd2b 100644 --- a/example/scripts/maps/desert.lua +++ b/example/scripts/maps/desert.lua @@ -71,6 +71,7 @@ end -- Global variable used to know whether Harmony talked to someone. harmony_have_talked_to_someone = false function Harmony(npc, ch, list) + being_apply_status(ch, 1, 99999) -- Say all the messages in the messages list. for i = 1, #list do npc_message(npc, ch, list[i]) -- cgit