Skip to content

Allow to use item groups in AllowCards

Jesusalva Jesusalva requested to merge card-group into master

This allows to limit an entire group of cards instead of just individual cards.

testing

item_group.conf:

BasicSilkDyes: (
	"PitchBlackSilkDye",
	"ChocolateSilkDye",
	"CrimsonSilkDye",
)

item_db.conf:

{
	Id: 1301
	AegisName: "VneckJumper"
	Name: "V-neck Jumper"
	...
	Slots: 4 // we allow 4 slots for cards
	AllowCards: {
		id5500: 1 // BasicSilkDyes group: we only allow one dye, even if there is many slots
		...
	}
},

///////////////////////////////////////////////////

{
	Id: 5500
	AegisName: "BasicSilkDyes"
	Name: "Basic Silk Dyes"
	Type: "IT_VIRTUAL"
},
Edited by Jesusalva Jesusalva

Merge request reports