Quote:
1) Now I need a no_sleep flag. Can anybody please help how to make a flag for a room? When it is set the player can't sleep or rest in that room. I'm trying to force the players to sleep in inns or their own houses.
Not horribly difficult, and you don't necessarily need a no_sleep flag to accomplish this. If you have a house and/or inn room flag of some kind you can just add a check for the room being a house or inn in the do_sleep function.
If you don't have either of those flags its a bit more involved but still nothing impossible to code, though reflaging every room mudwide is gonna be a stone biatch. Search for the locations of an existing room flag, indoors for instance, and add a new flag to the end of the tables it appears in, nosleep or whatever you choose to call it. Then add the same check I talked about a earlier in do_sleep but you check against the room being nosleep and keep them from sleeping there.
Quote:
2) Can I make a spell/skill which will "tie" a player so he can't move? Can anybody help, please? This spell/skill will by only used by immortals...
As far as I know, SMAUG should carry the freeze command as part of its standard command package. If not, you can always just set their movement into heavy -numbers and theyre stuck.
Quote:
3) Is there a bank code? Or I will have to make something like a locker so the players store their coins in a "bank" which is actually a locker?
There are bank codes out there, most of which will need some alteration to work. Check out www.kyndig.com for several bank snipets to work with.
Quote:
4) Is there a trigger for mobs which will trigger when a player gives the mob a specified object (for quests or weaponsmiths)?
Actually, as long as the mprog engine handles it, the GIVE trigger can be triggered by a specific vnum and I've used it for some very ontricate mob driven quests.
Quote:
5) Can I change the maximum vnums? It is somewhere around 32000... I need more. Don't ask anything :))
Again, www.kyndig.com has several versions of this for several codebases, Im sure youll find something to meet your needs.
Quote:
6) And something funny... How to make a character drunk when he drinks too much alcoholic drinks?
Depends on how you intend to implement this one actually. Ive seen several versions on several codebases, some very good, some very cheesy. Kyndig.com has several veriations on this idea as well if you need ideas. |