Product

class scml.scml2019.Product(id, production_level, name, expires_in, catalog_price)[source]

Bases: object

Attributes Summary

catalog_price

Catalog price of the product.

expires_in

Number of steps within which the product must be consumed.

id

Product index.

name

Object name

production_level

The level of this product in the production graph.

Attributes Documentation

catalog_price: Optional[float]

Catalog price of the product.

expires_in: Optional[int]

Number of steps within which the product must be consumed. None means never

id: int

Product index. Must be set during construction and MUST be unique for products in the same world

name: str

Object name

production_level: int

The level of this product in the production graph.