1
0

added TODO

This commit is contained in:
FoxSpellCaster
2025-01-11 12:50:28 -05:00
parent 4b61c16a25
commit 102aa37e97
41 changed files with 1454 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
@tool
extends RefCounted
var script_path : String
var todos : Array
func _init(script_path: String, todos: Array):
self.script_path = script_path
self.todos = todos
func get_short_path() -> String:
var temp_array := script_path.rsplit('/', false, 1)
var short_path : String
if not temp_array.size() > 1:
short_path = "(!)" + temp_array[0]
else:
short_path = temp_array[1]
return short_path