New SKUs: Difference between revisions

From OuroDev
BubbleWrap (talk | contribs)
Created page with "To lock content behind a new SKU, you need to do two things: tell the content what SKU to use, and tell the account server it exists. =Account Server= Edit defs/account/prod..."
 
m 1 revision imported: Importing Portal Corps Wiki pages and history - Feb 6, 2020
 
(No difference)

Latest revision as of 10:02, 6 February 2020

To lock content behind a new SKU, you need to do two things: tell the content what SKU to use, and tell the account server it exists.

Account Server

Edit defs/account/product_catalog.def to add your new SKU:

CatalogItem
	Title "Your Title Here"
	SKU NEWSKU__
	InventoryType PlayerInventory
	InventoryCount 1
	GrantLimit 1
	Global 1
	Recipe NEWSKU__
End

Replace NEWSKU__ with your own eight digit SKU.

Costume Pieces

Add a product line inside the mask or info block telling the game what SKU locks this costume piece:

Old:

Mask
	DisplayName "Chisel"
	Name "!boot_chisel"
End

New:

Mask
	DisplayName "Chisel"
	Name "!boot_chisel"
	Product newsku__
End