Mortar & pestle --> Anvil & hammer

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
J. Trudel
Posts: 117
Joined: Tue Aug 28, 2012 3:05 pm
Location: Montreal, Canada

Mortar & pestle --> Anvil & hammer

Post by J. Trudel »

I still don't have access to the Dungeon editor, but I have started to plan my dungeon on paper. I was wondering if something like this could be done. I clone the Mortar & pestle, rename it to anvil & hammer (change the model.. and weight of course) and have different recipes that will make weapons and armors instead of potions. Example, I put Iron ore and wooden shaft and it gives a basic axe.
The Lurker
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Mortar & pestle --> Anvil & hammer

Post by Montis »

Should work. I haven't tried it yet though. One problem I could see is that the recipes would be shared with the mortar & pestle, so you could create your items in either of them, which wouldn't make sense.
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
User avatar
J. Trudel
Posts: 117
Joined: Tue Aug 28, 2012 3:05 pm
Location: Montreal, Canada

Re: Mortar & pestle --> Anvil & hammer

Post by J. Trudel »

Montis wrote:Should work. I haven't tried it yet though. One problem I could see is that the recipes would be shared with the mortar & pestle, so you could create your items in either of them, which wouldn't make sense.
Hmm, interesting. How are recipes coded on the mortar & pestle ? On the item or it's in the engine directly?

There might be a work around with LUA script if (it's anvil & hammer) -- then -- (use theses recipes)
The Lurker
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Mortar & pestle --> Anvil & hammer

Post by Montis »

Here on the very bottom of the page: http://www.grimrock.net/modding/asset-d ... reference/

I'll make a post in the requested hooks thread to include a onCraft hook that returns the item it's crafted in.
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

Re: Mortar & pestle --> Anvil & hammer

Post by cromcrom »

There's a crafting system in the The Lost Continent Mod. I use alcoves and a few script, result id basing, but would be easy to complexify a bit (random quality weapons is my next goal...)
A trip of a thousand leagues starts with a step.
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Mortar & pestle --> Anvil & hammer

Post by Montis »

I can imagine a thing where you have to use a blacksmith hammer + raw materials on a big anvil (like an altar). That should work.
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
SpacialKatana
Posts: 163
Joined: Fri Sep 14, 2012 6:20 pm

Re: Mortar & pestle --> Anvil & hammer

Post by SpacialKatana »

cromcrom wrote:There's a crafting system in the The Lost Continent Mod. I use alcoves and a few script, result id basing, but would be easy to complexify a bit (random quality weapons is my next goal...)
I tried this mod, and came to the conclusion that at present LoG doesn't lend itself well to custom crafting :x

New models however with their own hooks will o/c solve the problem.....flicking switches and buttons frankly did my head in. Apologies to mod author.
User avatar
J. Trudel
Posts: 117
Joined: Tue Aug 28, 2012 3:05 pm
Location: Montreal, Canada

Re: Mortar & pestle --> Anvil & hammer

Post by J. Trudel »

An altar, that looks like an anvil (with a new model) that when appropriate material is on AND is hit with a blacksmith hammer create a new object would work fine I think.

Step 1 : Put the raw materials on the anvil
Step 2 : Hit with the hammer
-- Produce a spark
-- New item is now on the anvil and the raw materials have disappeared.

I believe it could be scripted.
The Lurker
Post Reply