ID:266972
 
Hi. I need to make a system sort of like HRH's Burrow System (You walk around, click a verb, and a new burrow is created for you).
I need something that will make a new little house when I use my BuildHouse() verb. I also need to be able to save them afterwards.
So every time a new player logs in, it creates a house for them and saves it for the next time they log in.
-DogMan
PS: Dont worry Lexy, Im not going to make a HRH rip off :P
mob
proc
BuildHouse()
world.maxz++
src.z = world.maxz


I'll leave it up to you to make it secure for one user, etc..
In response to Nadrew (#1)
Nadrew wrote:
mob
proc
BuildHouse()
world.maxz++
src.x = world.maxz

I'll leave it up to you to make it secure for one user, etc..

Mayhap you mean src.z?

Lummox JR
In response to Lummox JR (#2)
Oops, yeah. I was in a mad rush to get ready to meet some friends of mine before they went off to school.
In response to Nadrew (#3)
Ok. Thanks. I was thinking it would be something like that, but I thought that you couldnt change maxz, maxy and maxz at run time.
The actual generation of the house is easy, and so is the assignment of houses.
You guys rule, thanks.
-DogMan
In response to Dog Man (#4)
Dog Man wrote:
Ok. Thanks. I was thinking it would be something like that, but I thought that you couldnt change maxz, maxy and maxz at run time.
The actual generation of the house is easy, and so is the assignment of houses.

Actually you can change any of those. If you increase the size of the world, new turfs are filled in using the default world.turf.

Lummox JR