does "qty=xxx" not work as output in cubemain.txt?

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
strafano
Posts: 25
Joined: Mon Feb 19, 2018 12:43 am

does "qty=xxx" not work as output in cubemain.txt?

Post by strafano » Thu Sep 27, 2018 8:38 am

Hi,
im trying to make the following cube recipe :
normal gem -> 4 x flawed gem.
I use in the output column "gem1,qty=4" but i get only ONE flawed gem as a result of transmutation. So i wonder if the command "qty=xxx" is not valid in the output column.

I know that alternatively one may use the 3 output column a,b and c but in that case only 3 output items would be obtained.

jonhbox
Posts: 12
Joined: Mon Jun 05, 2017 9:17 pm

Re: does "qty=xxx" not work as output in cubemain.txt?

Post by jonhbox » Thu Sep 27, 2018 11:14 am

My case is totally the opposite. I can receive a "qty" in OUTPUT of Stack amount items.

For INPUT, the Stack amount items do not work.

See my topic!

viewtopic.php?f=4&t=65454

User avatar
HarvestWombs
Senior Moderator
Angel
Posts: 924
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: does "qty=xxx" not work as output in cubemain.txt?

Post by HarvestWombs » Thu Sep 27, 2018 5:29 pm

jonhbox wrote:
Thu Sep 27, 2018 11:14 am
My case is totally the opposite. I can receive a "qty" in OUTPUT of Stack amount items.

For INPUT, the Stack amount items do not work.

See my topic!

viewtopic.php?f=4&t=65454
These are two separate cases here. And I'll try to portray the difference between the two.

As posted by strafano, cube output quantity does NOT work for for items that are not stackable, That's why there exists Output B and Output C columns.

As posted by johnbox the input handler of cubemain is NOT coded to work for stackable items, it only just helps to minimize clutter:
ie "hp1,qty=12" means you need 12 health potions for the recipe.
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

Post Reply

Return to “General Mod Making”