Here are the codes:
turf
Grass
icon='turf.dmi'
Entered(mob/player/m)
if(m in m.allies)
if(prob(3) && m.partyleader==TRUE && ismob(m))
m.prevloc=m.loc // remember previous location if you were to choose run
if(prob(50))
for(var/mob/mo in m.myparty)
m.inbattle=1
if(m.allies.len>0)//makes sure there is someone in the party greater than the number written so it won't give an error
var/mob/x=m.allies[1]
x.loc=locate(12,6,1)
x.inbattle=1
var/mob/x1=x.myparty[1] //error here or...
x1.loc=locate(x.x, x.y+1, x.z)//...error here or...
var/mob/x2=x.myparty[2]
x2.loc=locate(x.x, x.y-1, x.z)
etc...
mob/
var
list
allies[0]
enemies[0]
totallist[0]
listabilities=list("Fire")
myparty
mob/player
Login()
src.icon = 'player.dmi'
src.loc=locate(2,3,1)
src.step_size = 8
src.myparty=list(/mob/ally/magician,/mob/ally/melee_character,/mob/ally/projectiler,/mob/ally/piercing,/mob/ally/paladin)//...error here or...
for(var/mob/m in src.myparty)
m.inaparty=src
src.inaparty=src
world << src.myparty[1]//...error here
battleinput()
Both of the following are equally correct:
mob/var/list/myParty=list()
mob/var/myParty[]
As per your error. You are trying to read a loc, a variable associated with an atom/movable from a typepath. You'll have to refer to the actual mob of magician, instead of just it's type.