in Cubemain.txt - added this line:
Code: Select all
1 perfect diamond + 1 any socketable item-> add 1 socket 1 100 2
"any" "gpw,qty=1" "useitem,sock=1"
How to add sockets to the item, until it reach the maximum amount of sockets?
Moderator: Nizari
Code: Select all
1 perfect diamond + 1 any socketable item-> add 1 socket 1 100 2
"any" "gpw,qty=1" "useitem,sock=1"
Code: Select all
1 perfect diamond + 1 any socketable item-> add 1 socket 1 100 2
"any,nos" "gpw,qty=1" "useitem,sock=8"
Code: Select all
1 perfect diamond + 1 any socketable item-> add sockets to the item 1 0 2 "any,nos" "gpw,qty=1"
"useitem" 25 50 sock 6 8
the sock=# in the output column
The max sockets from this are as you listed (magic=3, set/rare/unique=1). This can be stepped around by using one of the mod fields to set the number of sockets (but you can only set the sockets in one of these 2 areas not both). When using the mod field to set the number of sockets, the limit will be from the gemsockets data in armor.txt/weapons.txt and the MaxSock## fields of itemtype.txt (using the ilvl of the item).
Code: Select all
any UNIQUE socketable item + perfect diamond -> add MAX sockets to UNIQUE 1 100 2 "any,unq,nos" gpw "useitem,sock=6" sock 6