hi
yes you can edit with notepad.
the script files to edit are here :
C:\Users\
username\Documents\Almost Human\Legend of Grimrock\Dungeons\
the_name_of_your dungeon\mod_assets\scripts
in order to make a combination, red gem for left eye and blue gem for right eye, for example, you must add the following scripts into the file 'object.lua'
defineObject{
name = "eye_socket_left_red",
class = "Alcove",
anchorPos = vec(0.21, 1.58, -0.45),
targetPos = vec(0.2, 1.65, -0.45),
targetSize = vec(0.1, 0.1, 0.1),
placement = "wall",
onInsertItem = function(self, item)
return item.name == "red_gem" and
self:getItemCount() == 0
end,
editorIcon = 92,
}
defineObject{
name = "eye_socket_right_blue",
class = "Alcove",
anchorPos = vec(-0.21, 1.58, -0.45),
targetPos = vec(-0.2, 1.65, -0.45),
targetSize = vec(0.1, 0.1, 0.1),
placement = "wall",
onInsertItem = function(self, item)
return item.name == "blue_gem" and
self:getItemCount() == 0
end,
editorIcon = 92,
}
Then you can add the 2 scoket objects on the demon head in the editor.
Next, you must create the script to check the 2 gems are inside using the object 'counter' ... you can find information about it in this forum...
