Scribe v2.3.0 - The Policy Update
Paid random items, a product-state query for your shop UI, and bigger templates before Luau's type solver gives up.
Behaviour changes
PromptPurchasenow refuses with the fixedScribe.ProductStatestrings ("not-loaded","owned", ...) instead of prose.PurchaseReasonandGiftReasongainPaidRandomRestrictedandPolicyPending.
Added
PaidRandom = trueon a product. Scribe checks the player's policy once and refuses the purchase, soft-currency purchase or gift for anyone restricted, or while the policy is still unknown. Products only.Data.GetProductStateon server and client tells you whether a product is purchasable, owned, restricted, pending or not loaded, the same answer the prompt gives.ObserveProductStateon the client updates your button when that changes.
Changed
- Much larger templates typecheck before "Code is too complex". If yours still hits it, the templates guide has a one-line escape hatch.
- Container writes skip building an error string they rarely needed.
Full Changelog: v2.2.0...v2.3.0