Make2ndSwordsman(mob/M in world)
set category = "Swordmans Leader"
world<<"[M] has became Second legendary swordman!"
M.rank = "Second Legendary Swordman"
M.Village = "Swordman hideout"
var/obj/SEVENSWORDSMENSUIT/B = new/obj/SEVENSWORDSMENSUIT
B.loc = M
var/obj/Masamune/B = new/obj/Masamune
B.loc = M
Problem description:OK. I know what is wrong in this code...but my question is how can i make it that when recive rank ppl get 2 items...
The DM reference for "new proc" arguments mentions the following:
The atom types /area, /turf, /obj, and /mob all take a location argument specifying the initial position. If not specified, it defaults to null.
So just put the location in the arguments like below.