mob/Clan/verb
Recrut()
set category = "Clan"
var/mob/list/List
for(var/mob/Player/M in world)
if(M.Clan == null)
List += M
var/mob/R = input("Who would you like to recrut in this world?") in List
switch(alert(R,"[usr] has invited you to join the [usr.Clan]!","[world.name]","Yes","No"))
if("Yes")
R.Clan = usr.Clan
for(var/mob/Player/M in world)
if(M.Clan == usr.Clan)
M<<"<font color = silver>[M] has been recruted into your clan!"
else
usr<<"<B><font color = silver>[R] has disagreed to joining your clan!"
runtime error: Cannot modify null.Clan.
proc name: Recrut (/mob/Clan/verb/Recrut)
source file: Party.dm,32
usr: Kasumi (/mob/Player)
src: Kasumi (/mob/Player)
call stack:
Kasumi (/mob/Player): Recrut()