Its the finishing piece to my first dungeon and I would really appreciate it if you help me find out how I get one to work.
I searched everywhere and turned up nothing to help me with it.
Thanks!
EDIT : It's the puzzle where you insert gems into the Daemons Eyes, I'm using red gems if there is any difference.
Trying to setup Daemon Eyes Puzzle
Re: Trying to setup Daemon Eyes Puzzle
There is a large difference! The ones in the game are all preset to take blue gems. If you want to use red ones you'll need to script it to work for you. The eye sockets are alcoves, so you should review the alcove threads linked in the Editing Superthread.
Finished Dungeons - complete mods to play
Re: Trying to setup Daemon Eyes Puzzle
OOOH! Alrighty, thanks for the insight Komag. 
Re: Trying to setup Daemon Eyes Puzzle
Hey there, here's the eye sockets for red gems!
If you do not know, you have to put this code into object.lua in *yourDungeon*/mod_assets/scripts.
then you should be able to see them in the props!
SpoilerShow
Code: Select all
cloneObject{
name = "eye_socket_left_red",
baseObject = "eye_socket_right",
onInsertItem = function(self, item)
return item.name == "red_gem" and self:getItemCount() == 0
end,
}
cloneObject{
name = "eye_socket_right_red",
baseObject = "eye_socket_right",
onInsertItem = function(self, item)
return item.name == "red_gem" and self:getItemCount() == 0
end,
}then you should be able to see them in the props!
