mob
verb
Make_Area_For_The_Nice_People()
var/area/a = new/area/house
a.loc=locate(usr.x,usr.y,usr.z)
var/area/b = new/area/house
b.loc=locate(usr.x+1,usr.y,usr.z)
var/area/c = new/area/house
c.loc=locate(usr.x-1,usr.y,usr.z)
var/area/d = new/area/house
d.loc=locate(usr.x,usr.y+1,usr.z)
var/area/e = new/area/house
e.loc=locate(usr.x,usr.y-1,usr.z)
Problem description:
How do you spawn areas?(By the way this code is just to spawn area in 5 places at once)
This is the error I get -
Building.dm:1:error:a.loc:cannot change constant value
Building.dm:2:error:b.loc:cannot change constant value
Building.dm:3:error:c.loc:cannot change constant value
Building.dm:4:error:d.loc:cannot change constant value
Building.dm:5:error:e.loc:cannot change constant value