Adding Abilities/Skills into a grid
|
|
Alright so this whole interface thing is quite new to me, bu most of it is now making sense from going over most references, although I'd like to have my Abilities/Skills go into a grid I created when they learn this new skill. I already have the UpdateAbilities() but I'm not quite sure how to add these new learned skills into the abilities-pane, if someone could help me out with this, it would be much appreciated.
Code
mob/proc/UpdateAbilities() var/abilities = 0 for(var/obj/O in src) winset(src, "abilites-pane.abilities", "current-cell=[++abilities]") src << output(O, "abilities-pane.abilities") winset(src, "abilities-pane.abilities", "cells=[abilities]") // cut off any remaining cells
|