cubemain.txt need help gem bag...

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
qweasd1
Posts: 5
Joined: Thu Dec 27, 2018 1:24 am

cubemain.txt need help gem bag...

Post by qweasd1 » Mon Oct 26, 2020 9:01 am

I want to put more gem at once in gem bag
need help
bad english sorry

qweasd1
Posts: 5
Joined: Thu Dec 27, 2018 1:24 am

1.13c cubemain.txt need help gem bag...

Post by qweasd1 » Mon Oct 26, 2020 9:02 am

I want to put more gem at once in gem bag
need help
bad english sorry

Devangell
Posts: 74
Joined: Thu Jul 30, 2020 10:06 am
Belgium

Re: cubemain.txt need help gem bag...

Post by Devangell » Mon Oct 26, 2020 12:04 pm

Hello

This is rather simple. I'll give you an example of my item stacking (note that this is for a potion holder, don't the mind the itemcodes):

Code: Select all

Add HP to Holder	1			100	16	447	500		2	mac6	rps,qty=1						useitem	99		0	Add_HP			1	1																																																																															0
Add HP to Holder	1			100	16	447	500		3	mac6	rps,qty=2						useitem	99		0	Add_HP			2	2																																																																															0
Add HP to Holder	1			100	16	447	500		4	mac6	rps,qty=3						useitem	99		0	Add_HP			3	3																																																																															0
Add HP to Holder	1			100	16	447	500		5	mac6	rps,qty=4						useitem	99		0	Add_HP			4	4																																																																															0
Add HP to Holder	1			100	16	447	500		6	mac6	rps,qty=5						useitem	99		0	Add_HP			5	5																																																																															0
Add HP to Holder	1			100	16	447	500		7	mac6	rps,qty=6						useitem	99		0	Add_HP			6	6																																																																															0
Add HP to Holder	1			100	16	447	500		8	mac6	rps,qty=7						useitem	99		0	Add_HP			7	7																																																																															0
Add HP to Holder	1			100	16	447	500		9	mac6	rps,qty=8						useitem	99		0	Add_HP			8	8																																																																															0
Add HP to Holder	1			100	16	447	500		10	mac6	rps,qty=9						useitem	99		0	Add_HP			9	9																																																																															0
Add HP to Holder	1			100	16	447	500		11	mac6	rps,qty=10						useitem	99		0	Add_HP			10	10																																																																															0
You just put ',qty=#' after your itemcode and change the numinputs-column to the exact amount of inputs.
Depending on your cube size, you can add as many items at once as your cubesize allows it.

If you want to add 3 different gems of any quantity you just put in the desired codes in columns input 1-7 ans adjust the ',qty=#'.

Hope this helps you any further.

Grtz

qweasd1
Posts: 5
Joined: Thu Dec 27, 2018 1:24 am

Re: cubemain.txt need help gem bag...

Post by qweasd1 » Sat Nov 07, 2020 7:25 pm

thank you for your help
Good man

Post Reply

Return to “General Mod Making”