Go back to previous topic
Forum Name Gameplay
Topic subjectRE: Say no to AI
Topic URLhttps://forums.carrionfields.com/dcboard.php?az=show_topic&forum=6&topic_id=17084&mesg_id=17125
17125, RE: Say no to AI
Posted by Isildur on Wed 31-Dec-69 07:00 PM
In general I agree. But, if there's a situation where it's almost *guaranteed* that the player would want something to happen automatically, then it might make sense to hard code it.

For instance, what if "wield" commands failed if you already had something in the slot? i.e. you had to "remove sword1;dualw sword2"? That would be silly. If you enter the command "dualw sword2" then it's obvious that what you want to happen is for sword2 to replace sword1 in your off hand. So have the "remove;wear" be atomic, as part of the "dualw" command.