[net.games.hack] Naming things - HERE'S THE CODE!

sean@ukma.UUCP (Sean Casey) (03/30/86)

In article <302@bu-cs.UUCP> sam@bu-cs.UUCP (Shelli Meyers) writes:
>In article <1883@hammer.UUCP> andrew@hammer.UUCP (Andrew Klossner) writes:
>>
>>Of course, if you have a two-handed sword you want to call it "Orcrist".
>
>No, no, no, you want to name your LONG SWORD Orcrist.

Ok, let's take a look at the code in hack.fight.c:


	    if(mon->data->mlet == 'O' && obj->otyp == TWO_HANDED_SWORD &&
		!strcmp(ONAME(obj), "Orcrist"))
		tmp += rnd(10);

I think the code speaks for itself.

Sean