Skip to content

Scribe v2.3.0 - The Policy Update

Choose a tag to compare

@ericplane ericplane released this 04 Sep 10:33
· 4 commits to main since this release

Paid random items, a product-state query for your shop UI, and bigger templates before Luau's type solver gives up.

Behaviour changes

  • PromptPurchase now refuses with the fixed Scribe.ProductState strings ("not-loaded", "owned", ...) instead of prose. PurchaseReason and GiftReason gain PaidRandomRestricted and PolicyPending.

Added

  • PaidRandom = true on 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.GetProductState on server and client tells you whether a product is purchasable, owned, restricted, pending or not loaded, the same answer the prompt gives. ObserveProductState on 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