local SetFlagOnBerryCollectionController = {}

SetFlagOnBerryCollectionController.name = "KoseiHelper/SetFlagOnBerryCollectionController"
SetFlagOnBerryCollectionController.depth = -9500
SetFlagOnBerryCollectionController.texture = "objects/KoseiHelper/Controllers/SetFlagOnBerryCollectionController"
SetFlagOnBerryCollectionController.placements = {
	{
		name = "SetFlagOnBerryCollectionController",
		data = {
		flag = "KoseiHelper_BerryCollected",
		counter = "KoseiHelper_BerriesCollected",
		reactToGoldens = "Default",
		reactToSilvers = "Default",
		reactToReds = "Default",
		reactToMoons = "Default",
		reactToWingeds = "Default",
		reactToGhosts = "Default",
		global = false,
		flagValue = true,
		berryID = 0
		}
	}
}

SetFlagOnBerryCollectionController.fieldInformation = {
	reactToGoldens = {
		options = {
			"Default",
			"React",
			"Ignore",
		},
		editable = false
	},
	reactToSilvers = {
		options = {
			"Default",
			"React",
			"Ignore",
		},
		editable = false
	},
	reactToReds = {
		options = {
			"Default",
			"React",
			"Ignore",
		},
		editable = false
	},
	reactToMoons = {
		options = {
			"Default",
			"React",
			"Ignore",
		},
		editable = false
	},
	reactToWingeds = {
		options = {
			"Default",
			"React",
			"Ignore",
		},
		editable = false
	},
	reactToGhosts = {
		options = {
			"Default",
			"React",
			"Ignore",
		},
		editable = false
	},
	berryID = { fieldType = "integer" }
}

SetFlagOnBerryCollectionController.fieldOrder = {
	"x",
	"y",
	"flag",
	"counter",
	"berryID",
	"reactToGoldens",
	"reactToSilvers",
	"reactToReds",
	"reactToWingeds",
	"reactToMoons",
	"reactToGhosts",
	"flagValue",
	"global"
}

return SetFlagOnBerryCollectionController