Ok, I am looking for a pshop code that'd work with FotE 2.1.4. I have seen a few, but their creators aren't the sharing kind, lol. Understandably, especially since its a lot of hard work. Since we're currently looking for a full time coder, Galactic Horizons is suffering a little in the code development area, hehe. I have searched here, mudconnect, topmudsites and the swfote site. Nothin!
I saw the pshop lines in shops.c, but there are no shop commands in game. and no do_ANYTHING for shops. Like I said, I'm not a coder (mine was fired, long story) so it's like speaking chineese at me, heh. JohnnyStarr said he'd help me and give it a look, tho! I'm going to try connecting with him. Thanks, guys! I'll keep posting here so the community at large will know what's up.
You don't need to be a coder (I'm far from one myself). You just need to know basic building.
The following are instructions for Smaug but should work for FotE.
CREATE A PET SHOP ———————
- Create a room using GOTO. - Use REDIT to set all the normal parameters, and set with a ROOMFLAG of PETSHOP. - Create a mob to act as shopkeeper setting all the normal parameters. There are no special flags required, typically just set as sentinel, pacifist. - GOTO the next vnum to create the 'stable' where the pets are kept. (The stable MUST be the next vnum from the petshop) This room should be flagged with NOMOB SOLITARY NOSUMMON NOASTRAL and PRIVATE with no exits. - Create animal mobs you want as pets. They should be set with ACT FLAGS PET. Load into the stable.
Player shops meaning regular shops where players can buy eq, OR shops where players themselves are the shopkeep?
EDIT: You don't need to be a coder to code. Just a high tolerance/patience for mistakes and a will to learn. I learned more from toying around with MUD code and a buddy to guide me in the right direction in the beginning than I learned from reading a C++ book. The book became mostly for review purposes and to fill the occasional gap.
Yes, where players buy a mob for shopkeeper, and can sell their crafter or scavenged goods. There are a couple of snippets out there, but the creators aren't sharing =(
And that's what I want, is a buddy to guide me the right way, but no one wants to help me there, heh. Oh well. I'm taking C/C++ this spring.
EDIT: And thanks for all the replies and help!
Ya know, for a shop like that, where it's just a mob, all you have to do is have an immortal set it up. Shouldn't take more then a few minutes, and you can always make sure to regulate things that way, instead of having someone take advantage over an automated system.
One thing when it does go in, make sure to disallow stocking of items that are no-remove, keys, those kinds of things (perhaps items with timers etc). I've ran into that in my own game and had to make exceptions.