Note: This is grimrock 1
Hey all. Uhm I've cloned and uinamed a new key but how to make it work ?
I can't use it in a lock. I'm sure I used to know how but I simply forgot.
Any 1 can help me out here?
Thanks.
Clone a key?
Re: Clone a key?
Don't know, what you exactly mean.
You have always to give a lock an item, that operates it (it must not be a key btw). Than you have to connect the lock with the door or whatever you want to unlock.
Was this your question?
You have always to give a lock an item, that operates it (it must not be a key btw). Than you have to connect the lock with the door or whatever you want to unlock.
Was this your question?
-
trancelistic
- Posts: 275
- Joined: Sat Jun 16, 2012 5:32 am
Re: Clone a key?
Thanks for the feedback and sorry for my bad English.
I ment: I've made an new item in the objects.lua. And its a key. "master key" but if i place a lock in the dungeon I can/can't type in "master key" to unlock it but It won't work.
*EDIT* Duh Nevermind. Guess I had to use the uiname and not the name of the item in the editor.
My bad haha. Thanks.
I ment: I've made an new item in the objects.lua. And its a key. "master key" but if i place a lock in the dungeon I can/can't type in "master key" to unlock it but It won't work.
*EDIT* Duh Nevermind. Guess I had to use the uiname and not the name of the item in the editor.
My bad haha. Thanks.
-
trancelistic
- Posts: 275
- Joined: Sat Jun 16, 2012 5:32 am
Re: Clone a key?
Thon: Uhm how to explain this. The new item is working now but suddenly the textures of the green_slime changed ( how the hick?)
Haha I got no idea why it happend. Maybe leave it as this? Or could it crash the game later on?
ALl I did was in /x/objects.lua add the text"
How could this change mess up the green slime?
Haha I got no idea why it happend. Maybe leave it as this? Or could it crash the game later on?
ALl I did was in /x/objects.lua add the text"
SpoilerShow
cloneObject{
name = "stone key",
baseObject = "round_key",
description = "A stone key. It seems fragile, better open the door or lock carefully",
uiName = "stone key.",
}

name = "stone key",
baseObject = "round_key",
description = "A stone key. It seems fragile, better open the door or lock carefully",
uiName = "stone key.",
}
