Skip to content
Snippets Groups Projects
Commit 8d9a0ea9 authored by dg's avatar dg
Browse files

All non zone specific NPCs now have a proper tile!

git-svn-id: http://svn.net-core.org/repos/t-engine4@3441 51575b47-30f0-44d4-a5cc-537603b46e54
parent bbb9c44b
No related branches found
No related tags found
No related merge requests found
game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_assassin.png

7.63 KiB | W: | H:

game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_assassin.png

6.79 KiB | W: | H:

game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_assassin.png
game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_assassin.png
game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_assassin.png
game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_assassin.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_grand_master_assassin.png

8.86 KiB

game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_grand_summoner.png

9.82 KiB

game/modules/tome/data/gfx/shockbolt/npc/humanoid_orc_orc_summoner.png

9.21 KiB

......@@ -42,6 +42,22 @@ on_status_change = function(self, who, status, sub)
end
end
on_grant = function(self, who)
local npc
for uid, e in pairs(game.level.entities) do
if e.define_as and e.define_as == "TARELION" then npc = e break end
end
if not npc then return end
local x, y = util.findFreeGrid(npc.x, npc.y, 10, true, {[Map.ACTOR]=true})
if not x or not y then return end
who:move(x, y, true)
local Chat = require"engine.Chat"
local chat = Chat.new("tarelion-start-archmage", npc, who)
chat:invoke()
end
stabilized = function(self)
self.stables = self.stables + 1
end
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