summaryrefslogtreecommitdiff
path: root/src/script/script_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/script_info.hpp')
-rw-r--r--src/script/script_info.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/script_info.hpp b/src/script/script_info.hpp
index 4e59c7d72..4ed160726 100644
--- a/src/script/script_info.hpp
+++ b/src/script/script_info.hpp
@@ -142,6 +142,10 @@ public:
*/
int GetSettingDefaultValue(const char *name) const;
+ /**
+ * Can this script be selected by developers only?
+ */
+ virtual bool IsDeveloperOnly() const { return false; }
protected:
class Squirrel *engine; ///< Engine used to register for Squirrel.