WorldProduct
WorldProduct represents a purchasable product configured in your world. Contains product information including ID, name, description, and price in Gold. Retrieved via Payments.GetProduct or Payments.GetProducts.
Properties
The description of the product shown to players.
print("Description: " .. product.description)
The unique identifier for this product.
print("Product ID: " .. product.id)
The display name of the product.
print("Product name: " .. product.name)
The price of the product in Highrise Gold currency.
print("Price: " .. product.price .. " Gold")
if product.price > 100 then
print("Premium product")
end
Updated 13 days ago