world/New()
var/i
for(i=1, i<=5, i++)
var/mob/P = new/mob
P.AssignSex()
P.AssignFirstName()
P.AssignLastName()
ListOfMobs[i] = P
var
ListOfMobs[5]
mob
verb
Refresh()
world.Reboot()
View_People()
var/i
for(i = 1, i <= ListOfMobs.len, i++)
usr << "The current people in the world are: "
usr << ListOfMobs[i]
Problem description:
So I want to create 5 new mobs when the world starts, give them names, and display those five mobs to the player when they hit the verb.
When I run the game, however, it just says:
The current people in the world are:
mob
mob
mob
mob
mob
[usr.FirstName] [usr.LastName]