d2modmaker icon indicating copy to clipboard operation
d2modmaker copied to clipboard

Test Recipes

Open tlentz opened this issue 5 years ago • 5 comments

tlentz avatar Jun 25 '20 23:06 tlentz

Test-recipes.txt

Here are three test recipes

You can copy these strings on to new rows, first recipe has 3 outputs is something to note.

Let me know if you want me to explain it further.

Adding three test recipes: Test 1: 1 pot for 3 pots Test 2: 2 pot for cham Test 3: 3 pot for zod

First thing I did was add 3 rows onto cubemain.txt

In column "description" I put "Test 1" in row 153, "Test 2" into row 154, "Test 3" into row 155. These dont need to be named this and I dont know if they even need to be named at all. But for a developer to find it will be easier. Might even be able to type in instructions?

  • In column "enabled" put 1 in rows 153 - 155 (newly added rows)

  • In column "version" put 100 in rows 153 - 155

  • In column "numinputs" the number will vary on how many inputs are in the recipe in this instance there is three recipes Test 1,1-Test 2,2- Test 3,3

    • In column "numinputs" put "hp1" in row 153 , put ""hp1,qty=2"" (extra quotations) in row 154 , put ""hp1,qty=3"" in row 155
  • Outputs are going to depend on how many you want, up to 3, in this instance Test 1 has three outputs and Test 2 and Test 3 have 1 output. * In Column "output", "outputb" and "outputc" row 153 put hp1 * In column "output" row 154 put r32 (cham), row 154 put r33 (zod)

  • Can replace output with item code or unique item name

Amek206 avatar Jun 28 '20 22:06 Amek206

What is the purpose of these recipes? I added a "Debug" flag that's not visible in the UI. It adds a runeword that is craftable by newly created character: axe + health potion = magical axe with elemental skills. The idea is that we can edit cubemain.txt after generation and put any property on it we want to. As I was having problems with elemental skills that's what's on it by default.

OldBeardedCoder avatar Jan 12 '21 17:01 OldBeardedCoder

I just use them to spawn what item I want, nothing fancy.

Amek206 avatar Jan 12 '21 20:01 Amek206

Its not a option for the actual program, not sure I remember the reasoning behind why I wrote this up to be honest.

Amek206 avatar Jan 12 '21 20:01 Amek206

I made the Debug recipe so that a brand new character can do the recipe. The idea is you can add the prop you're testing to the cubemain.txt manually, then create a new character and do the recipe.

OldBeardedCoder avatar Jan 26 '21 04:01 OldBeardedCoder