But what would be the moral code on your fictional world and where does it come from? Is there a sacred text your world refers to and if so how did that text come about? Do all accepts its teachings or is there rebellion against its restrictions?
When you write your first stories for your fictional world, what time setting are you using? When the moral code is up and running or whilst the peoples of your world are still trying to agree on one? What happened to make the world decide it needs a moral code?