cleanup: remove admin page, add fuel keywords to vehicle API, ignore temp scripts and AI docs

This commit is contained in:
Reditus committed 2026-05-13 22:05:05 +01:00
1 parent b5e557329c
commit 290271a4f9
5 files changed
+6 -59

No files matched your search

+1 -1
View File
@@ -471,7 +471,7 @@ def register_api_routes(app, services, settings):
return result
all_keys = extract_all_keys(props)[:100]
relevant = [k for k in all_keys if any(x in k.lower() for x in ['health', 'damage', 'part', 'module', 'component', 'hit', 'armor', 'slot'])]
relevant = [k for k in all_keys if any(x in k.lower() for x in ['health', 'damage', 'part', 'module', 'component', 'hit', 'armor', 'slot', 'fuel', 'gas', 'energy', 'resource'])]
return jsonify({
'id': vehicle_id, 'class': vehicle['class'],