Is there a way to create new areas at runtime that aren't connected others of their type already placed? It states in the reference that "Additional instances of rooms may be created from the same type by explicitly creating them with null as the initial location. That is, the first argument to new() should either be null or left unspecified. " However, that doesn't help me because I need them on the map, and an area's location is constant.
I tried using tags hoping it would take care of it, but it didn't work:
mob
icon = 'T.dmi'
verb
Create1() new/area/Dynamic(null,loc,1)
Create2() new/area/Dynamic(null,loc,2)
Create3() new/area/Dynamic(null,loc,3)
Create4() new/area/Dynamic(null,loc,4)
Create5() new/area/Dynamic(null,loc,5)
area
Dynamic
icon = 'Colors.dmi'
layer=7
New(M,L,N)
flick("[N]",src)
tag = "[N]"
loc=L
Entered()
icon_state = tag
world<<tag
sleep(5)
icon_state = null
Just a little test I tried, and failed, rather miserably.
Does anyone know of a method to do this?
(Not sure since I haven't played with areas in forever)