I try this :
But i never see my NPC like if i always have the lamp
EDIT : I'm just a retard who put a fail line in the code ....
Code Select
local map = ...
function map:on_started()
if map:get_game():has_item("lamp") == true then
_13_NPC00:set_enabled(false)
end
end
But i never see my NPC like if i always have the lamp
EDIT : I'm just a retard who put a fail line in the code ....