I think videogames are strangely enlightening in this regard.
In Final Fantasy Tactics Advance, there was a law system built into the gameplay and plot. The laws were things forbidding certian abilities or skills or powers, and they changed daily (for instance, one day the law could be "no swords". The day after that, it could be "no staves". In a week, it could be "no fire magic"). They would also have rewarded abilities or skills, that were also changed daily (when the law is "no fire magic," you could get a reward for using ice magic).
If a judge saw you using a recommended ability, you would get a reward in the form of a point that allowed you to execute a super-powerful attack. If a judge saw you using a forbidden ability, you would get penalized in some way.
That's all well and good, but the way the game implemented it could break verisimilitude for a lot of D&D games. Basically, the laws were concieved of by a spoiled prince, and were enforced by his family and super-powerful spiritual figures known as Judges.
But where it could apply for a D&D game is in what happened when you get punished. There are two basic categories of punishment (to fit the two basic categories of laws): red and yellow. Yellow is kind of like a fine or tax. By themselves, they don't do much, but the more you get tacked onto your name, the worse the punishments get. You can get rid of 'em by spending some time in prison (or, in a D&D game, perhaps paying a stiff fine), but if you get enough, you'll be forced into prison, have items confiscated, develop a bad reputation, etc. Imagine a scofflaw character who has ignored the laws of the Judges suddenly getting his precious magic cloak vaporized from off his form, or be suddenly unable to Hide or Move Silently with any confidence, or suffering a Dex penalty for a week. Reds, of course, simply impose this right away, rather than waiting for a certain point of acquiring. And in the game, you could come accross a scofflaw magician who makes magic items that get rid of the laws, or create new ones.
Of course, the kingdoms and lands in many D&D games are pretty lawless places -- monsters roam the countryside and people congregate for safety in villages defended by powerful adventurers or nobility or other montsers. Applying the laws like FFTA did would require a powerful organization of connected entities who were able to enforce their will at all times in all places. In FFTA, supernatural Judges materialized out of nowhehre and enforced the rigorous law. Perhaps in D&D, the Inevitables could fill such a roll, or it could actually give you a way to use the Lawful Good outsiders. There also needs to be a system of coming up with the seemingly random laws -- the spoiled prince with great power is a good motif, but something more generic and universal might include a divination tradition that actually affects everyday life. We all know horoscopes and fortune cookies have fun lucky numbers and do's and do nots -- what if that was enforced by some supernatural code? Today, it is very unlucky for the world in general if a Saggittarius uses magic that transcends dimensions, so it is supernaturally outlawed, and if a Saggittarius does use
teleport, perhaps he looses 4 points of Wisdom until he atones (such as by spending time in a Purgatory, or working for the celestials, or paying a fine, or agreeing to a
geas to not use magic for one year, etc). But it would be very lucky for that person to use electricity magic, so if he casts
lightning bolt, he is rewarded with extra damage, +2 caster level, something like that.
So let's recap the things that FFTA has taught me about law & order in the game:
- The law needs to be more powerful than the PC's. This is hard to do with mundane sources of law and order...normal people can easily get beaten up by the local constublary, but a couple of 3rd level fighters ain't nothin' to a 10th level PC, especially 4 of them. However, if the source of law and order is, say, the Celestial Hebodomad...that's a little more potent. The suggested above is that the concept of luck, and auspicious action should govern the divine laws of the land -- your fortune cookie is *law* for you, not just esoteric advice. Of course, this creates a bit of a reality of the world: devils probably love to try and manipulate the laws for their own luck, demons probably flaunt the law and destroy those who would impose it (making heavy use of anti-law magic), archons are steadfast defenders who try to make the law the best for all, and eladrin find themselves using anti-law magic to enjoy a freedom. This is also in the enforcers of the law: a town guard likely won't be much of a threat to a mobile group of PC's. An Inevitable that can appear wherever and whenever a law is broken because a deity of order can tell it to....that's a bit more potent. This sort of forces a bit less simulationist/realism in the game, if you want the PC's to be subject to the law. Otherwise, they're no more subject to it than a red wyrm, or a beholder, or any other monster of their level...if they obey the law, it is by choice, not by force, and you can never *make* them listen to it. It might not be very heroic, but PC's in general are under no mandate to be heroic if it's going to mean spending some time in the slammer.
- The law needs to affect PC's actions, but not all the time. A law not to wear pink on a Sunday is a nice arbitrary way of getting someone punished, but it's not something PC's need to be concerned about. A law against fire magic, or against hitting someone with a particular kind of weapon, or against harming a particular creature, or against using a particular feat...those are going to make them sit up and take notice, and really differentiate the Lawful (those who make sacrifices to obey the laws) from the Chaotic (those who make sacrifices to violate the laws, such as by willingly paying fines, or surrendering items, just to break the law) from the Neutral (those who do what they do, and if it happens to be lawful or not, so be it). But at the same time, the law should be fluid and flexible and predictable. Someone with Knowledge (the law), or Knowledge (divination) should be able to predict the luck and unluck for the next few days, and there should be ways around the law (such as with Anti-Law Magic, or specific items, or the ability to pay off the entities enforcing the law, or whatever). If someone in a certain territory can never use heavy armor without taking a -4 Con, that's not going to be a fun adventure for the character. But if he has a choice between waiting a day for the law to change, and saving the town from the dragon *RIGHT NOW*, that's an interesting choice. Or if the law now forbids armor, but the laws later forbid his favorite weapons, or stop the wizard from being able to use his full powers, or don't allow the cleric to heal, or whatever...then it turns into managing rescources and a tactical exercise. In addition, the law can be used to the PC's advantage -- think of challenging the red dragon on a day in which fire magic is outlawed, and ice magic is rewarded, stopping it from using most of it's powerful fire spells, and giving your ice spells an extra kick. The important thing is that the monsters are as subject to these laws as the PC's, because of the Powerful Entity that controls the law and order. Of course, enemies should have access to the ability to negate and alter laws, too...that dragon might have a special ribbon that allows him to ignore the laws without penalty, or even change the laws to hurt the PC's...and people could attack the PC's on days in which the laws are unfavorable to them, or favorable to the enemy...nothing hurts more than a monk ambush on a day when all weapons are forbidden...are you going to accept the -4 Strength for using your blade, or are you going to rely on your spellcasters to help you escape until the law changes?
- The penalties should not stop the game, and should be a choice, not a force. There should be rewards, as well as penalties. There should always be PC choice involved in whether or not to violate the law, generally speaking. Just like there is choice between good and evil, there should be a choice to use acid-based magic or not. There should be minor ways around all laws: a law forbidding physical attacks won't stop you from summoning a monster to attack (who cares if it breaks the law, it's gone in a minute), or using a magic spell to attack. A law forbidding casting healing magic shouldn't affect potions. Some laws may hurt more than others, but there shouldn't be a reason a character *has* to use something that's forbidden. Perhaps it won't be optimal, but that's the arrangement of rescources -- the law wasn't hidden and it wasn't obscured, and there are things like anti-law magic to get around them. And if the PC does choose to take the penalty rather than obey the law or weasel around it somehow, it shouldn't destroy the party instantly. Taking away a magic item (or simply the offending item, such as if you hit someone with a forbidden weapon) for a specified period of time, agreeing to geas to limit certain powers for a time, ability penalties, fines...these things happen when you break big laws, but weaker laws will only cause you to do that if you accumulate a lot of them...hitting a goblin might get you a warning today, and using ice magic might have gotten you a warning yesterday, but if you get five warnings, you're transformed into a goblin for one week. These warnings should be able to be lessened somehow, taking more minor penalties (minor fines, periods of enslavement, perhaps a lower max hp for a day or two) and then being erased from the record. In addition, there should be rewards for using certain abilities....a day that says hitting goblins is unlucky may say that hitting hobgoblins is lucky, so you get a +1 bonus to attack and damage against hobgoblins that day. Or maybe hitting a hobgoblin will erase one warning you've recieved.
- Laws have to make some sense, but they don't have to make much sense. When the law and order become something greater than what the Baron decrees, and is enforced by something more than 3rd-level warriors with perhaps a 8th level lieutennant in the big city, there needs to be some pseudo-mythological explanation for them. FFTA uses a fitful prince with God-like powers. A D&D campaign could use that, or could use a Deity of Law, who announces rules through revelations during a priests' morning prayer to her. Or, the system above, the "fortune cookie" idea, where there are lucky and unlucky actions you can take because of the alignment of the stars and planets. All of them fit pretty snugly in a D&D melieu, and serve as an explanation. But more than that, they should be a real part of the world. If the laws are this powerful, and this enforced (to the point where you could simply change form because of something you've done before), it pays to know what they are, and priestly announcing from minarets, or use of the Knowledge (divination) skill, or make it some other skill, such as a Sense Motive check; or make it a 0-level spell, divine fortune, that allows you to know. The more esoteric and powerful the source of power, the more the PC's will buy strange laws, and the more interesting ways around those laws will be...if the God of Law is also a God of Music, she's never likely to forbid using Bardic Music, for instance. Or if the God of Law is persuing agents of the Chaos Lord, you can bet that the laws will be directed specifically against his agents and powers...the moment he recruits minotaurs, smacking minotaurs will be lucky, but using mazemagic will be unlucky.To keep the verisimiltude of the laws, you need to make sure that knowing them and tracking them are a part of the PC's everyday lives. After all, as arbitrary as they may seem, they exist to keep some sort of twisted order....well, maybe.
- The law needs a system. Finally, as a DM, you need to know the parameters of these supernatural laws. They can fill a lot of roles, but it needs to be predictable. Does the law change once a day? week? month? Can there be two laws at once? Are the laws based on locality? Do they change if you move into the lands of the Chaos Lord? Or are they universal, because we're all under the same stars and planets? This system can change over the course of the game, but there should always be *a* system. A logic behind it. Do you want the laws to play a prominent role? Is fighting the law going to be a theme, or is this just a reality that everyone must deal with? Are you comfortable with this level of lack of realism?