commodityObject 🔗

A commodity object is a data type that describes a trade commodity that can be carried by trade units. Lua Function Reference

id 🔗

commodityObject.id --> integer

(get) The id of the commodity (0-15 for regular commodities, -1 for food supplies).

name 🔗

commodityObject.name --> string

(get/set - ephemeral) The name of the commodity.