User Name:


Forgot your password?
Vote for Us!
 adding a new stat to OSET
Yesterday, 6:02 pm
By joeyfogas
alias snippet fix
Mar 17, 2018, 6:14 pm
By Vladaar
help with debug?
Mar 17, 2018, 5:52 pm
By joeyfogas
features of a good MUD
Mar 17, 2018, 1:06 am
By GatewaySysop
All skills to a class?
Mar 15, 2018, 11:43 pm
By joeyfogas
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Vladaar, DotBot

Members: 1
Guests: 3
Newest Member
Today's Birthdays
Gatz (33)
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Altering alignment system
Forum Rules | Mark all | Recent Posts

Altering alignment system
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 8, 2002, 6:33 am
Go to the top of the page
Go to the bottom of the page


JoinedJul 8, 2002

Hi again!

Next issue that I started to think about is alignment system on afk. Is it hard to alter alignment from evil -- neutral -- good system to more like Chaotic -- Evil -- Neutral -- Good -- Lawful(more edges on alignments and deities)system? As I read there is -1000 to 1000 points that makes the statement about edges of alignment. And chars alignment changes how they act from good to evil. So is there some probs to change system -1000 == chaotic -500 == evil ... etc? What should I take into consideration when making alterations to code?

still wannabe implementor
Post is unread #2 Jul 9, 2002, 2:37 pm
Go to the top of the page
Go to the bottom of the page


JoinedJun 23, 2002

Well, you'd need new flags for rooms and items (antichaotic antilawful etc).
You'd need to modify spells/skills that show alignment (probably just adding parts to
a switch statement or adding some if's)
And might need to look at the deity code because it uses alignment.
Use grep to see where align or alignment are mentioned.
Post is unread #3 Jul 9, 2002, 11:57 pm
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

Hrm, first I'd better point out I don't agree with the definition of Chaos being an extension of Evil and Law being an extension of Good. Chaos and law are thier own scale which combine with Good and Evil to create a more specific personality aspect, adherance to rules and stuff like that.. but thats just my point of view Anywho..

If you want to use the -1000 to 1000 scale for Chaos -> Law then fine, but remeber doing that in the present code makes "Good" and "Evil" less potent as statements. Someone who was Evil is really evil, yet under your system they are just sort just over quasi-evil.

If you want Chaos to represent the present Evil state then do as you say, Chaos == -1000 and Law == 1000, or what I suggest is you extend the scale a bit, say -1500 is Chaos and 1500 is Law and leave the present Evil/Good at -1000/1000. This way you don't have to change any references to the 1000 mark in either direction, just extend for additional checks, which should mean less to change (all the good/evil stuff stays where it is), and just additions.

Where barbus_007 mentions about flags, there will be fun when dealing with antichaotic and antilawful, as "evil" is termed as "not good and not neutral" thus you have a particular range of alignment. Introduce Chaos and you have antievil flags meaning "not good, not lawful, not neutral, not chaotic" (unless you want to include chaotic in the "evil" definition";) which means more range checks. So you have to not only add your anti flags if you want them, but check the existing for range checks on the alignment.

Other than various output routines to display words rather than numbers when it comes to alignment, I can't think of much else that barbus_007 hasn't already mentioned
Pages:<< prev 1 next >>