mob
verb
ShowPassives()
// set hidden=1
usr << output(null,"passives.paslist") // clear the grid.
for(var/obj/O in usr.CraftPassives)
usr << output(O,"passives.paslist:1,[usr.CraftPassives.Find(O)]")
ShowPassives2()
usr << output(null,"passives.paslist") // clear the grid.
for(var/obj/O in usr.JutsuPassives)
usr << output(O,"passives.paslist:1,[usr.JutsuPassives.Find(O)]")
ShowPassives3()
usr << output(null,"passives.paslist") // clear the grid.
for(var/obj/O in usr.CharacterPassives)
usr << output(O,"passives.paslist:1,[usr.CharacterPassives.Find(O)]")
mob/var/list/CraftPassives = list()
mob/var/list/JutsuPassives = list()
mob/var/list/CharacterPassives = list()
mob/verb/Learnpassives()
var/obj/Passives/Character/Toad_Contract/Toad_Contract = locate() in usr.CharacterPassives
var/obj/Passives/Character/Snake_Contract/Snake_Contract = locate() in usr.CharacterPassives
var/obj/Passives/Ninjutsu/Chakra_Flow/Chakra_Flow = locate() in usr.JutsuPassives
var/obj/Passives/Crafting/Blacksmithing/Blacksmithing = locate() in usr.CraftPassives
Toad_Contract = new()
usr.CharacterPassives.Add(Toad_Contract)
Snake_Contract = new()
usr.CharacterPassives.Add(Snake_Contract)
Blacksmithing= new()
usr.CraftPassives.Add(Blacksmithing)
Chakra_Flow=new()
usr.JutsuPassives.Add(Chakra_Flow)
so if you clicked it once each category would have each thing as 1 2 1 but if you hit learn numerous times the 1 categories would have the 2 categories inside of it EX:if you hit it 3 times craft would have blacksmithing 3 times and the snake and toad contract in it aswell same with the jutsu category yet the character category would be fine. Idk if this is a coding problem i overlooked or if its a actual bug but i figured id mention it