diff --git a/game/modules/tome/data/general/traps/temporal.lua b/game/modules/tome/data/general/traps/temporal.lua new file mode 100644 index 0000000000000000000000000000000000000000..51873165c8865392a6e42ec8ff2f1e01ee3d5b28 --- /dev/null +++ b/game/modules/tome/data/general/traps/temporal.lua @@ -0,0 +1,52 @@ +-- ToME - Tales of Maj'Eyal +-- Copyright (C) 2009 - 2015 Nicolas Casalini +-- +-- This program 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 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. +-- +-- Nicolas Casalini "DarkGod" +-- darkgod@te4.org + +newEntity{ define_as = "TRAP_TEMPORAL", + type = "temporal", subtype="water", id_by_type=true, unided_name = "trap", + display = '^', + triggered = function(self, x, y, who) + return true, self.auto_disarm + end, +} + +newEntity{ base = "TRAP_TEMPORAL", + name = "disturbed pocket of time", auto_id = true, image = "trap/.png", + detect_power = resolvers.clscale(8,50,8), + disarm_power = resolvers.clscale(2,50,8), + rarity = 3, level_range = {1, 50}, + color=colors.VIOLET, + message = "@Target@ is caught in a distorted pocket of time!", + triggered = function(self, x, y, who) + who:paradoxDoAnomaly(0, "no-major", "forced", who) + return true + end, +} + +newEntity{ base = "TRAP_TEMPORAL", + name = "extremely disturbed pocket of time", auto_id = true, image = "trap/.png", + detect_power = resolvers.clscale(8,50,8), + disarm_power = resolvers.clscale(2,50,8), + rarity = 6, level_range = {1, 50}, + color=colors.PURPLE, + message = "@Target@ is caught in an extremely distorted pocket of time!", + triggered = function(self, x, y, who) + who:paradoxDoAnomaly(0, "major", "forced", who) + return true + end, +} diff --git a/ideas/todo b/ideas/todo index 5e5f33abf89604bb90c0821e55bd8ef5559dd89c..3cb075aa0d1d7c86e7e9ca14ef1af0c084e22506 100644 --- a/ideas/todo +++ b/ideas/todo @@ -26,6 +26,3 @@ love interrest. There must be a way of getting his rune off to use it * mob/boss taht changes form during fight like in D3/a5 * steal some features of dungeonmans academy: "unknown loot" that can only be revealed by the next character - - -FIX AWESOME AURA ! \ No newline at end of file