Hello everybody, I am stuck on trying to figure out how I would go about finding anything that is within a set path and then adding it onto a list.
For example: I am trying to figure out how to add anything that is under the path of
I know how to easily do it if I were to set a variable to search for , something like:
var/list/All_Weapons = list()
var/Weapon = text2path("/obj/Weapons/[weapon]")
global.All_Weapons += Weapon
But I have no idea how to just take in ANYTHING after a set path, will I have add in some variables in order to get something like this to work?