How do you make new Mortar Item

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
Eleven Warrior
Posts: 752
Joined: Thu Apr 18, 2013 2:32 pm
Location: Australia

How do you make new Mortar Item

Post by Eleven Warrior »

Hi I am trying to create a new Motar object but are having some trouble. It's not like the old LOG 1 system. I tried the below and it's not working, the recipe system has changed to much it thing not sure. Could I get some help please.

I want to be able to add the peasant_cap to the scissor and then the cloth strips appear

New Mortar Object:

Code: Select all

defineObject{
      name = "scissors",
	  baseObject = "mortar",
      components = {
      {
         class = "Model",
         model = "mod_assets/models/floor_props/scissors.fbx",
      },
      {
		class ="Item",
		uiName = "Scissors",
		gfxAtlas = "mod_assets/textures/at_items.tga",
		gfxIndex = 7,
		weight = 1,
         description = "A very sharp pair of scissors."
      },

	},
   }
Define a Recipe:

Code: Select all

--defineRecipe {
--	name = "cloth_strips",
--	level = 0,
--	ingredients = "peasant_cap", 
---
--}
User avatar
Eleven Warrior
Posts: 752
Joined: Thu Apr 18, 2013 2:32 pm
Location: Australia

Re: How do you make new Mortar Item

Post by Eleven Warrior »

So cant make a new Mortar? I wanted to Germmany's Tool Box as well, well convert it over. Thxs again
Post Reply