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

Dream actors can not access inventory

git-svn-id: http://svn.net-core.org/repos/t-engine4@5513 51575b47-30f0-44d4-a5cc-537603b46e54
parent 79253faf
No related branches found
No related tags found
No related merge requests found
......@@ -263,6 +263,7 @@ end
-- @param filter nil or a function that filters the objects to list
-- @param action a function called when an object is selected
function _M:showInventory(title, inven, filter, action)
if not inven then return end
local d = ShowInventory.new(title, inven, filter, action, self)
game:registerDialog(d)
return d
......
......@@ -209,6 +209,7 @@ return {
combat_armor = 1, combat_def = 1,
rank = 1,
movement_speed = 1.4,
no_inventory_access = true,
size_category = 1,
level_range = {1, 1}, exp_worth = 1,
max_life = 10,
......@@ -280,6 +281,7 @@ You feel like running away!]], 600)
combat_armor = 5, combat_def = 5,
level_range = {1, 1}, exp_worth = 1,
max_life = 100, life_regen = 0,
no_inventory_access = true,
resolvers.talents{
},
on_die = function(self)
......
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