diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-26 23:28:43 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-02 18:12:17 +0100 |
commit | a36e231883d595bcba91d44e19f24b31eaf0431b (patch) | |
tree | 879aad2008eb3675153bb9912c4cc724253f87c6 /example/scripts/maps/desert.lua | |
parent | 34ac0d64e23f2b2d3981dbb0ea72157f334805dd (diff) | |
download | manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.gz manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.bz2 manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.xz manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.zip |
A bunch of cleanups to example Lua scripts
Mostly removed bulky copyright headers and fixed indentation and line length.
Reviewed-by: Yohann Ferreira
Reviewed-by: Erik Schilling
Diffstat (limited to 'example/scripts/maps/desert.lua')
-rw-r--r-- | example/scripts/maps/desert.lua | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua index c3302477..ffe90624 100644 --- a/example/scripts/maps/desert.lua +++ b/example/scripts/maps/desert.lua @@ -1,14 +1,8 @@ ----------------------------------------------------------- --- Template script for the Desert map -- ----------------------------------------------------------------------------------- --- Copyright 2011 The Mana Development Team -- --- -- --- This file is part of Manasource Project. -- --- -- --- Manasource is free software; you can redistribute it and/or modify it -- --- under the terms of the GNU General Public License as published by the Free -- --- Software Foundation; either version 2 of the License, or any later version. -- ----------------------------------------------------------------------------------- +--[[ + + Example script for the Desert map + +--]] -- From scripts/ require "scripts/lua/npclib" @@ -19,7 +13,6 @@ require "scripts/npcs/merchant" require "scripts/npcs/shaker" atinit(function() - -- Barber examples create_npc("Barber Twin", 1, GENDER_MALE, 14 * TILESIZE + TILESIZE / 2, 9 * TILESIZE + TILESIZE / 2, Barber, nil) create_npc("Barber Twin", 1, GENDER_MALE, 20 * TILESIZE + TILESIZE / 2, 11 * TILESIZE + TILESIZE / 2, npclib.talk(Barber, {14, 15, 16}, {}), nil) |