Trying to setup Daemon Eyes Puzzle

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Shadix
Posts: 2
Joined: Wed Oct 10, 2012 3:45 am

Trying to setup Daemon Eyes Puzzle

Post by Shadix »

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.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Trying to setup Daemon Eyes Puzzle

Post by Komag »

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
Shadix
Posts: 2
Joined: Wed Oct 10, 2012 3:45 am

Re: Trying to setup Daemon Eyes Puzzle

Post by Shadix »

OOOH! Alrighty, thanks for the insight Komag. :)
User avatar
crisman
Posts: 305
Joined: Sat Sep 22, 2012 9:23 pm
Location: Italy

Re: Trying to setup Daemon Eyes Puzzle

Post by crisman »

Hey there, here's the eye sockets for red gems!
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,
}
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!
Post Reply