ba626acb9b
Replace hardcoded BonusForOnes/MultiplierForSixes with data-driven modifier system supporting 2 scopes (SelectedCategory, AnyCategoryClosed), 4 effect types, durability modes (Permanent, LimitedUses), and configurable targets via ScriptableObject (ModifierData). - Modifier domain: ModifierEnums, ModifierTarget, ModifierData, ModifierRuntime, ModifierEffect (dict-based strategy), ModifierPipeline (4-pass: cat-additive → cat-multiplicative → final-additive → final-multiplicative) - ScoringSystem: replaced old modifier list with ModifierPipeline integration, added OnCategoryConfirmed event - Shop MVC: ShopCatalog (SO), ShopModel, ShopView, ShopItemView, ShopController - Inventory MVC: InventoryModel (activate/deactivate/sell/durability), InventoryView, InventorySlotView, InventoryController - CurrencyBank: editor-adjustable balance with events - Persistence: SaveData + SaveSystem (Newtonsoft JSON + PlayerPrefs) - Editor: ModifierAssetCreator menu item to generate 6 example modifiers + catalog - Tests: 6 test classes covering effects, pipeline, scoring, shop, inventory, save - GameController: wired shop/inventory/save lifecycle - GameInfoView: added currency display, shop/inventory toggle buttons Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
549 B
Plaintext
25 lines
549 B
Plaintext
{
|
|
"name": "YachtDice.Tests.Editor",
|
|
"rootNamespace": "",
|
|
"references": [
|
|
"UnityEngine.TestRunner",
|
|
"UnityEditor.TestRunner",
|
|
"YachtDice.Runtime"
|
|
],
|
|
"includePlatforms": [
|
|
"Editor"
|
|
],
|
|
"excludePlatforms": [],
|
|
"allowUnsafeCode": false,
|
|
"overrideReferences": true,
|
|
"precompiledReferences": [
|
|
"nunit.framework.dll"
|
|
],
|
|
"autoReferenced": false,
|
|
"defineConstraints": [
|
|
"UNITY_INCLUDE_TESTS"
|
|
],
|
|
"versionDefines": [],
|
|
"noEngineReferences": false
|
|
}
|