[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Purchasing houses

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Purchasing houses

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Denvar   (11 posts)  [Biography] bio
Date Fri 07 Jun 2002 06:12 PM (UTC)  quote  ]
Message
Well where to start...at the begining i guess..

well what im wanting to implament into my game is players being able to purchase property...for example :

You can go into a building called suting like 'Home Purchases' and their is an NPC thier..form him you can buy these:

Building permit - Gives the player 1 room from which they can build their own house..for this example every new room costs 5,000 gold...

Hovel - Players can buy this, a pre-built home with 3 rooms...

House - Players can buy this, a pre-built home with 5 rooms

When they buy pre-built homes they get a door key to a 'obviously' pre-made home...say 'Apendix apartments 2106' (the 2106 is the door number and part of the name not the vnum) and once inside their own home they can edit the room descriptions....

If they buy a building permit they get a 1 roomed house...from that they can do the same as a builder but to only add rooms/exits to thier house using a selection menu...will look like this:

anything in (bracets) will not be shown on the screen..just side-notes

<500> <500> <599> build (a new command)
Syntax: Build <direction> <room> <value>

Room being one of:
LivingRoom Sauna Labratory Bathroom etc etc etc
etc etc etc etc etc......

The command 'build' is restricted to the house that the buyer bought, and only the buyer can use the command...


Any idea on how i could go about this?
....One suggestion was to skip the first part out, build houses and give them a 'buy' flag so when they are in the first(main room) of the house and type 'buy' t subtracts the amount of the house form their current gold and the room and all the specified connecting rooms become 'owned' by the buyer...but thats not really what i want
thnx for any help

~Denvar
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 07 Jun 2002 11:06 PM (UTC)  quote  ]
Message
One comment - this is the sort of thing that the PennMUSH server implements as standard. Maybe you want a different server?

Unlike SMAUG, in PennMUSH most players can build (maybe excepting guests), they have a quota from which they can build things (eg. number of rooms), they can make rooms, exits, objects etc.

I have some examples on this site, look in the PennMUSH section.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Raina   (1 post)  [Biography] bio
Date Reply #2 on Wed 06 Nov 2002 02:31 PM (UTC)  quote  ]
Message
I'm a complete newbie but perhaps it would be easier to set aside say 1000 vnum for pre made houses of 3-4 room each, anything larger could be requested.

the player would go to the building like you want, buy thier permit then go to the location they want thier house and type some command that would add the link of the house to that room (where they are standing) they would have the key from the mob they bought the permit from so they could simply go in and out after that.

as for them desc, it would be easier imo to set up 1 or 2 style houses, or how many types you want for that matter and copy them, all houses have standard desc, which is basically minimal cause they will add thier own items to dress it up.

Anything special they wanted could be sent in writing and a fee charged for your builder having to take time to go add it for them, or maybe add some sorta listing they could pick from, like if they wanted water in the house, or whatever.

anything over 10 rooms I would have them send the specific cause you dont want to get stuck with tons of wasted vnums of players long gone. If you go with a standard desc then if they leave the game you can resell thier house :)
[Go to top] top

Posted by Festerhead   USA  (8 posts)  [Biography] bio
Date Reply #3 on Thu 07 Nov 2002 03:20 PM (UTC)  quote  ]
Message
Visit this link for a Smaug housing snippet.

http://www.inetsolve.com/~ucmm/downloads/

FesterHead Radio - Maui's premier Indie, Modern, Progressive, and Classic Rock station.
http://www.festerhead.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,798 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]