| Line 250: |
Line 250: |
| | |- | | |- |
| | |Script_EndOfDay | | |Script_EndOfDay |
| − | |Executes after the market has finished simulating every day after the product is released | + | |Executes after the market has finished simulating every day after the product is released. |
| | |ProductScope | | |ProductScope |
| | |- | | |- |
| | |Script_AfterSales | | |Script_AfterSales |
| − | |Executes right after a products sales units have been calculated | + | |Executes right after a products sales units have been calculated. |
| | |SaleScope | | |SaleScope |
| | |- | | |- |
| | |Script_OnRelease | | |Script_OnRelease |
| − | |Executes when the product has been created, before it is actually registered in the market | + | |Executes when the product has been created, before it is actually registered in the market. |
| | |ProductScope | | |ProductScope |
| | |- | | |- |
| | |Script_NewCopies | | |Script_NewCopies |
| − | |Executes when new physical copies have been shipped for a product (i.e. not sold yet) | + | |Executes when new physical copies have been shipped for a product. (i.e. not sold yet) |
| | |CopyScope | | |CopyScope |
| | |- | | |- |
| | |Script_WorkItemChange | | |Script_WorkItemChange |
| − | |Executed whenever a task has been created or stopped, that is related to the product | + | |Executed whenever a task has been created or stopped, that is related to the product. You can use the '''is''' keyword to figure out what kind of task you're dealing with, e.g. '''if (WorkItem is MarketingPlan)'''. |
| | |DevScope | | |DevScope |
| | |- | | |- |