mob/proc/UpdateGrid()
for(var/newlist in src.contents)
src << output(newlist, "Skills.Skill")
And I have all the Skillcards added to contents using the list
src.contents += newlist(/obj/Skillcards/Ninjutsu/Ama,/obj/Skillcards/Ninjutsu/Byakugan,/obj/Skillcards/Ninjutsu/Rinnengan)
ANy help is appreciated
It's pretty much only showing the last SKillcard, instead of all of them
You can send output to a particular grid cell without having to use winset() first to change the current-cell. Instead of just using the grid's ID in output(), use "[id]:[column],[row]" instead. Or if the grid is using is-list, "[id]:[item]" will do.
Read Lummox JR's Making skins in BYOND 4.0: Lesson 2 for how to use grids. I also recommend reading the other three parts if you're just getting into interfaces. However, note that it was written before the shorthand I mentioned above was implemented, back when you had to winset() which cell you were updating (the stone ages!).