{ "weapons": [ { "id": "pea_shooter", "name": "毛豆射手", "type": "single_shot", "rarity": "common", "weight": 30, "stats": { "damage": 20, "fireRate": 1.0, "range": 300, "bulletSpeed": 200, "penetration": 1, "accuracy": 0.95 }, "bulletConfig": { "bulletType": "normal", "bulletPrefab": "bullets/PeaBullet", "hitEffect": "Animation/tx/tx0001", "trailEffect": null }, "attackPattern": { "type": "single", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/001-1", "1x2": "images/PlantsSprite/001-1", "2x1": "images/PlantsSprite/001-1", "2x2": "images/PlantsSprite/001-1" }, "muzzleFlash": "Animation/tx/tx0001", "fireSound": "audio/pea_shot" } }, { "id": "sharp_carrot", "name": "尖胡萝卜", "type": "piercing", "rarity": "common", "weight": 25, "stats": { "damage": 15, "fireRate": 0.8, "range": 400, "bulletSpeed": 250, "penetration": 999, "accuracy": 0.9 }, "bulletConfig": { "bulletType": "piercing", "bulletPrefab": "bullets/CarrotBullet", "hitEffect": "Animation/tx/tx0002", "trailEffect": "Animation/tx/tx0002" }, "attackPattern": { "type": "single", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/002", "1x2": "images/PlantsSprite/002", "2x1": "images/PlantsSprite/002", "2x2": "images/PlantsSprite/002" }, "muzzleFlash": "Animation/tx/tx0002", "fireSound": "audio/carrot_shot" } }, { "id": "saw_grass", "name": "锯齿草", "type": "ricochet_piercing", "rarity": "uncommon", "weight": 20, "stats": { "damage": 25, "fireRate": 0.6, "range": 350, "bulletSpeed": 180, "penetration": 3, "accuracy": 0.85 }, "bulletConfig": { "bulletType": "ricochet", "bulletPrefab": "bullets/SawBullet", "hitEffect": "Animation/tx/tx0003", "trailEffect": "Animation/tx/tx0003", "ricochetCount": 2, "ricochetAngle": 45 }, "attackPattern": { "type": "single", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/003", "1x2": "images/PlantsSprite/003", "2x1": "images/PlantsSprite/003", "2x2": "images/PlantsSprite/003" }, "muzzleFlash": "Animation/tx/tx0003", "fireSound": "audio/saw_shot" } }, { "id": "watermelon_bomb", "name": "西瓜炸弹", "type": "explosive", "rarity": "rare", "weight": 15, "stats": { "damage": 50, "fireRate": 0.4, "range": 250, "bulletSpeed": 120, "penetration": 1, "accuracy": 0.8, "explosionRadius": 100, "explosionDamage": 80 }, "bulletConfig": { "bulletType": "explosive", "bulletPrefab": "bullets/WatermelonBomb", "hitEffect": "Animation/tx/tx0004", "trailEffect": "Animation/tx/tx0004", "explosionDelay": 0.1 }, "attackPattern": { "type": "single", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/004", "1x2": "images/PlantsSprite/004", "2x1": "images/PlantsSprite/004", "2x2": "images/PlantsSprite/004" }, "muzzleFlash": "Animation/tx/tx0004", "fireSound": "audio/bomb_launch" } }, { "id": "boomerang_plant", "name": "回旋镖盆栽", "type": "boomerang", "rarity": "uncommon", "weight": 18, "stats": { "damage": 30, "fireRate": 0.5, "range": 300, "bulletSpeed": 150, "penetration": 999, "accuracy": 0.9, "returnSpeed": 100 }, "bulletConfig": { "bulletType": "boomerang", "bulletPrefab": "bullets/BoomerangBullet", "hitEffect": "Animation/tx/tx0005", "trailEffect": "Animation/tx/tx0005", "arcHeight": 50, "returnDelay": 1.0 }, "attackPattern": { "type": "arc", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/005", "1x2": "images/PlantsSprite/005", "2x1": "images/PlantsSprite/005", "2x2": "images/PlantsSprite/005" }, "muzzleFlash": "Animation/tx/tx0005", "fireSound": "audio/boomerang_throw" } }, { "id": "hot_pepper", "name": "炙热辣椒", "type": "area_burn", "rarity": "rare", "weight": 12, "stats": { "damage": 40, "fireRate": 0.3, "range": 280, "bulletSpeed": 100, "penetration": 1, "accuracy": 0.75, "explosionRadius": 120, "burnDuration": 5.0, "burnDamage": 10 }, "bulletConfig": { "bulletType": "area_burn", "bulletPrefab": "bullets/PepperBomb", "hitEffect": "Animation/tx/tx0006", "trailEffect": "Animation/tx/tx0006", "burnEffect": "Animation/tx/tx0006", "explosionDelay": 0.2 }, "attackPattern": { "type": "single", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/006", "1x2": "images/PlantsSprite/006", "2x1": "images/PlantsSprite/006", "2x2": "images/PlantsSprite/006" }, "muzzleFlash": "Animation/tx/tx0006", "fireSound": "audio/pepper_launch" } }, { "id": "cactus_shotgun", "name": "仙人散弹", "type": "shotgun", "rarity": "uncommon", "weight": 22, "stats": { "damage": 12, "fireRate": 0.7, "range": 200, "bulletSpeed": 180, "penetration": 1, "accuracy": 0.7 }, "bulletConfig": { "bulletType": "normal", "bulletPrefab": "bullets/CactusBullet", "hitEffect": "Animation/tx/tx0007", "trailEffect": null }, "attackPattern": { "type": "spread", "projectileCount": 5, "spreadAngle": 30, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/007", "1x2": "images/PlantsSprite/007", "2x1": "images/PlantsSprite/007", "2x2": "images/PlantsSprite/007" }, "muzzleFlash": "Animation/tx/tx0007", "fireSound": "audio/cactus_shot" } }, { "id": "okra_missile", "name": "秋葵导弹", "type": "homing_missile", "rarity": "epic", "weight": 8, "stats": { "damage": 70, "fireRate": 0.25, "range": 500, "bulletSpeed": 80, "penetration": 1, "accuracy": 1.0, "explosionRadius": 150, "homingStrength": 0.8 }, "bulletConfig": { "bulletType": "homing_missile", "bulletPrefab": "bullets/OkraMissile", "hitEffect": "Animation/tx/tx0004", "trailEffect": "Animation/tx/tx0007", "homingDelay": 0.3, "arcHeight": 100 }, "attackPattern": { "type": "arc", "projectileCount": 1, "spreadAngle": 0, "burstCount": 1, "burstDelay": 0 }, "visualConfig": { "weaponSprites": { "1x1": "images/PlantsSprite/008", "1x2": "images/PlantsSprite/008-1", "2x1": "images/PlantsSprite/008-1", "2x2": "images/PlantsSprite/008-1" }, "muzzleFlash": "Animation/tx/tx0004", "fireSound": "audio/missile_launch" } } ], "rarityWeights": { "common": 60, "uncommon": 25, "rare": 12, "epic": 3 }, "blockSizes": ["1x1", "1x2", "2x1", "2x2"] }