From baba704eb06b2947df1ddc05950c801528042b89 Mon Sep 17 00:00:00 2001 From: T'kael Date: Sun, 2 Jun 2024 22:02:29 -0700 Subject: [PATCH] `System scan complete` script updated to correct an occasional rendering error in the default script. --- ChangeLog.md | 2 ++ SpeechResponder/eddi.cs.json | 2 +- SpeechResponder/eddi.de.json | 2 +- SpeechResponder/eddi.fr.json | 2 +- SpeechResponder/eddi.hu.json | 2 +- SpeechResponder/eddi.it.json | 2 +- SpeechResponder/eddi.ja.json | 2 +- SpeechResponder/eddi.json | 2 +- SpeechResponder/eddi.ru.json | 2 +- 9 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 2db1cd3299..892b4a2450 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -42,6 +42,8 @@ Full details of the variables available for each noted event, and VoiceAttack in * `Ship repaired` updated to correct an occasional rendering error in the default script. * `Ship targeted` updated to not comment on wanted targets identified while in supercruise unless the current ship contains an interdictor. * `Star report` updated to correct an occasional rendering error in the default script. + * `System scan complete` updated to correct an occasional rendering error in the default script. + ## 4.0.3 * EDSM Responder diff --git a/SpeechResponder/eddi.cs.json b/SpeechResponder/eddi.cs.json index 9d98260b98..c8ec847752 100644 --- a/SpeechResponder/eddi.cs.json +++ b/SpeechResponder/eddi.cs.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.de.json b/SpeechResponder/eddi.de.json index ac1a023fed..44f0f2871a 100644 --- a/SpeechResponder/eddi.de.json +++ b/SpeechResponder/eddi.de.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.fr.json b/SpeechResponder/eddi.fr.json index 4833a26a52..5923d60b91 100644 --- a/SpeechResponder/eddi.fr.json +++ b/SpeechResponder/eddi.fr.json @@ -2469,7 +2469,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.hu.json b/SpeechResponder/eddi.hu.json index 058df9c266..83858bed9f 100644 --- a/SpeechResponder/eddi.hu.json +++ b/SpeechResponder/eddi.hu.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.it.json b/SpeechResponder/eddi.it.json index 058df9c266..83858bed9f 100644 --- a/SpeechResponder/eddi.it.json +++ b/SpeechResponder/eddi.it.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.ja.json b/SpeechResponder/eddi.ja.json index 058df9c266..83858bed9f 100644 --- a/SpeechResponder/eddi.ja.json +++ b/SpeechResponder/eddi.ja.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.json b/SpeechResponder/eddi.json index ea3d1d4f7e..4ef13b5f58 100644 --- a/SpeechResponder/eddi.json +++ b/SpeechResponder/eddi.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system" diff --git a/SpeechResponder/eddi.ru.json b/SpeechResponder/eddi.ru.json index 058df9c266..83858bed9f 100644 --- a/SpeechResponder/eddi.ru.json +++ b/SpeechResponder/eddi.ru.json @@ -2449,7 +2449,7 @@ "enabled": true, "priority": 3, "responder": true, - "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, \\\"jump\\\")} range of this ship.\", \r\n \"an explorer's {Occasionally(2, \\\"jump\\\")} range.\", \r\n \"{ShipName()}'s {Occasionally(2, \\\"jump\\\")} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", + "script": "{_ Preferences _}\r\n{set reportGreenSystems to true} {_ if true, reports systems containing all fsd synthesis elements. _}\r\n{set reportGoldSystems to true} {_ if true, reports systems containing all surface prospectable elements. _}\r\n{set reportMaterials to true} {_ If true, recommends material collection locations using the `System materials report` after we have data on all system bodies and when the commander has an SRV _}\r\n{set reportBodiesToMap to true} {_ If true, recommends bodies to map using the `Bodies to map` script. _}\r\n\r\n{_ Fetch from Context, if a context is set _}\r\n{if state.eddi_context_system_name:\r\n {set reportSystem to SystemDetails(state.eddi_context_system_name)}\r\n|else:\r\n {set reportSystem to SystemDetails(event.systemname)}\r\n}\r\n\r\n{if !reportSystem.name || reportSystem.name = \"\":\r\n I'm not sure which system you are asking about.\r\n|else:\r\n {if ship.Role.edname = \"Exploration\" || ship.Role.edname = \"Multipurpose\":\r\n {for compartment in ship.compartments:\r\n {if compartment.module.invariantName = \"Planetary Vehicle Hangar\":\r\n {set hasSRV to true}\r\n }\r\n }\r\n {if hasSRV:\r\n {if reportSystem.isgold:\r\n {if reportGoldSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {OneOf(\"that can be found\", \"available\")}\r\n {OneOf(\"on planetary surfaces.\", \"from surface prospecting.\")}\r\n Exploration class: Gold.\r\n }\r\n |elif reportSystem.isgreen:\r\n {if reportGreenSystems:\r\n This {Occasionally(2, \"star\")} system \r\n {OneOf(\"contains\", \"holds\", \"has\")}\r\n every element \r\n {Occasionally(2, \"that may be\")} \r\n required to \r\n {OneOf(\"augment\", \"boost\")} \r\n {OneOf(\"the {Occasionally(2, 'jump')} range of this ship.\", \r\n \"an explorer's {Occasionally(2, 'jump')} range.\", \r\n \"{ShipName()}'s {Occasionally(2, 'jump')} range.\"\r\n )}\r\n Exploration class: Green.\r\n }\r\n }\r\n {if reportMaterials && reportSystem.totalbodies <= len(reportSystem.bodies):\r\n {set materialsReport to F(\"System materials report\")}\r\n {if materialsReport:\r\n {materialsReport}\r\n }\r\n }\r\n }\r\n\r\n {if reportBodiesToMap:\r\n {set bodiesToMap to F(\"Bodies to map\")}\r\n {if bodiesToMap:\r\n {Pause(2000)}\r\n {bodiesToMap}\r\n }\r\n }\r\n }\r\n}", "default": true, "name": "System scan complete", "description": "Triggered after having identified all bodies in the system"