ID:855345
Jul 6 2012, 1:28 pm
|
|
i am trying to make an House system where user buy floor tiles and dbl click on them then it spreads across the floor my question is how can i make sure what are being placed in house.
|
Jul 6 2012, 3:47 pm
|
|
You could attach a variable to the turfs in the area. Using that, you can check to make sure that the person laying floor actually owns the area.
|
You could store them in a list.
mob/var/list/Bought_Tiles=list()
Or do what Lugia319 said.
turf/var/mob/owner=null
|
In response to Kozuma3
|
|
Kozuma3 wrote:
You could store them in a list. > mob/var/list/Bought_Tiles=list() Or do what Lugia319 said. > turf/var/mob/owner=null this is how my tile works turf i just need a way to keep my housing system give area the same id as one inside. |