Skip to content
Snippets Groups Projects
Commit 2479a072 authored by DarkGod's avatar DarkGod
Browse files

artifices have their own doll tiles

fan of knives effect
parent a46b2ddd
No related branches found
No related tags found
No related merge requests found
Showing
with 43 additions and 0 deletions
......@@ -3678,6 +3678,7 @@ function _M:updateModdableTile()
i = self:getObjectModdableTile(self.INVEN_CLOAK); if config.settings.tome.show_cloak_hoods and i and i.moddable_tile_hood then add[#add+1] = {image = base..(i.moddable_tile):format("hood")..".png", auto_tall=1} done_head = true end
i = self:getObjectModdableTile(self.INVEN_HEAD); if not done_head and i and i.moddable_tile then add[#add+1] = {image = base..(i.moddable_tile)..".png", auto_tall=1} done_head = true end
if not done_head and self:attr("moddable_tile_head_underwear") then add[#add+1] = {image = base..self:attr("moddable_tile_head_underwear"), auto_tall=1} end
self:triggerHook{"Actor:updateModdableTile:middle", base=base, add=add}
i = self:getObjectModdableTile(self.INVEN_HANDS); if i and i.moddable_tile then add[#add+1] = {image = base..(i.moddable_tile)..".png", auto_tall=1} end
i = self:getObjectModdableTile(self.INVEN_QUIVER); if i and i.moddable_tile then add[#add+1] = {image = base..(i.moddable_tile)..".png", auto_tall=1} end
if not self:attr("disarmed") then
......
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2017 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
base_size = 64
local radius = radius * engine.Map.tile_w
local life = 11
local first = true
return {system_rotation = math.deg(dir) + 45, system_rotationv = 0, generator = function()
return {
life = life,
size = rng.range(32, 64), sizev = 0, sizea = 0,
x = 0, xv = 0, xa = 0,
y = 0, yv = 0, ya = 0,
dir = -math.rad(45), dirv = dirv, dira = 0,
vel = radius / life, velv = 0, vela = 0,
r = 1, rv = 0, ra = 0,
g = 1, gv = 0, ga = 0,
b = 1, bv = 0, ba = 0,
a = 1, av = av, aa = 0,
}
end }, function(self)
if first then self.ps:emit(1) first = nil end
end, 1, tile
game/modules/tome/data/gfx/particles_images/ureslak_tentacles.png

127 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/artifices/dart_launcher.png

3.62 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/artifices/grappling_hook.png

4.14 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/artifices/hidden_blades.png

6.44 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/artifices/rogues_brew.png

2.82 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/artifices/smokescreen.png

4.3 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_male/artifices/dart_launcher.png

3.62 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_male/artifices/grappling_hook.png

4.14 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_male/artifices/hidden_blades.png

6.44 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_male/artifices/mastery_rogues_brew.png

5.55 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment