Add passive optical observation post (#136)
- new Optical unit kind with its own catalog row and deploy item - bounded one-contact line-of-sight checks against land and blocks - day/night reach and hold timing; obstacle and unknown geometry block sight - independent class observation with source, time and uncertainty, never DroneKind - map/monitor/panel statuses and a line to the selected contact - tests: day/night, wall/unknown, ageing, no kind leak, bounded work, passivity Cherry-picked from 3ae21123964a9d3234bb2b3efc9ff926d64fc77d onto the #132/#133/#134 base: the cue test's track literal now carries the shared class/source/product/quality contract instead of a DroneKind. Co-Authored-By: Kimi Code <noreply@moonshot.ai>
This commit is contained in:
@@ -126,6 +126,10 @@
|
||||
{
|
||||
"kind": "Light",
|
||||
"item": "deploy_light"
|
||||
},
|
||||
{
|
||||
"kind": "Optical",
|
||||
"item": "deploy_optical"
|
||||
}
|
||||
],
|
||||
"variants": [
|
||||
@@ -405,6 +409,15 @@
|
||||
52
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "deploy_optical",
|
||||
"title": "Развернуть оптический пост",
|
||||
"color": [
|
||||
70,
|
||||
110,
|
||||
90
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "mover",
|
||||
"title": "Пульт перемещения",
|
||||
|
||||
@@ -668,6 +668,31 @@
|
||||
"muzzle": {"type": "none"},
|
||||
"sensor": 0.0,
|
||||
"mast": 1.5
|
||||
},
|
||||
{
|
||||
"kind": "Optical",
|
||||
"key": "optical",
|
||||
"name": "Оптический пост",
|
||||
"missile": null,
|
||||
"gun": null,
|
||||
"reload": 0,
|
||||
"scale": 1.0,
|
||||
"rest_pitch": 0.0,
|
||||
"roles": 0,
|
||||
"family": "static",
|
||||
"parts": {
|
||||
"body": "airdef:radar_truck",
|
||||
"launcher": null,
|
||||
"pack": null,
|
||||
"dish": null,
|
||||
"fixed": [],
|
||||
"spinner": ["airdef:radar_panel", 1.2, 0.0, 0.6, -0.2]
|
||||
},
|
||||
"mount": [0.0, 0.0],
|
||||
"pivot": [0.0, 0.0, 0.0],
|
||||
"muzzle": {"type": "none"},
|
||||
"sensor": 0.0,
|
||||
"mast": 2.5
|
||||
}
|
||||
],
|
||||
"missiles": [
|
||||
|
||||
Reference in New Issue
Block a user