myMount

Méthode retournant toutes les informations sur la monture équipée.

🎮 Méthode

mount:myMount()

📝 Arguments

Nom

Type

Description

💎 Valeur de retour

Type

Description

nil

Si aucune monture n'est équipée.

MountClientData

Exemple

function move()
	local myMount = mount:myMount()
	if myMount == nil then
		return
	end
	global:printSuccess("id: "..myMount.id)
	global:printSuccess("model: "..myMount.model)
	global:printSuccess("name: "..myMount.name)
	global:printSuccess("sex: "..tostring(myMount.sex))
	global:printSuccess("ownerId: "..myMount.ownerId)
	global:printSuccess("experience: "..myMount.experience)
	global:printSuccess("experienceForLevel: "..myMount.experienceForLevel)
	global:printSuccess("experienceForNextLevel: "..myMount.experienceForNextLevel)
	global:printSuccess("level: "..myMount.level)
	global:printSuccess("isRideable: "..tostring(myMount.isRideable))
	global:printSuccess("maxPods: "..myMount.maxPods)
	global:printSuccess("isWild: "..tostring(myMount.isWild))
	global:printSuccess("stamina: "..myMount.stamina)
	global:printSuccess("staminaMax: "..myMount.staminaMax)
	global:printSuccess("maturity "..myMount.maturity)
	global:printSuccess("maturityForAdult: "..myMount.maturityForAdult)
	global:printSuccess("energy: "..myMount.energy)
	global:printSuccess("energyMax: "..myMount.energyMax)
	global:printSuccess("serenity: "..myMount.serenity)
	global:printSuccess("serenityMax: "..myMount.serenityMax)
	global:printSuccess("aggressivityMax: "..myMount.aggressivityMax)
	global:printSuccess("love: "..myMount.love)
	global:printSuccess("loveMax: "..myMount.loveMax)
	global:printSuccess("fecondationTime: "..myMount.fecondationTime)
	global:printSuccess("isFecondationReady: "..tostring(myMount.isFecondationReady))
	global:printSuccess("boostLimiter: "..myMount.boostLimiter)
	global:printSuccess("boostMax: "..myMount.boostMax)
	global:printSuccess("reproductionCount: "..myMount.reproductionCount)
	global:printSuccess("reproductionCountMax: "..myMount.reproductionCountMax)
	global:printSuccess("harnessGID: "..myMount.harnessGID)
	global:printSuccess("useHarnessColors: "..tostring(myMount.useHarnessColors))
	global:printSuccess("Effects :")
	for _,effect in ipairs(myMount.effectList) do
		global:printSuccess("        ActionID: "..effect.actionId.." - Value: "..effect.value)
	end
	global:printSuccess("ancestors :")
	for _,ancestor in ipairs(myMount.ancestor) do
		global:printSuccess("        "..ancestor)
	end
	global:printSuccess("behaviors :")
	for _,behavior in ipairs(myMount.behaviors) do
		global:printSuccess("        "..behavior)
	end
end

Dernière mise à jour