1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-28 08:22:24 +01:00

Fix Tro Clockwork starting alignment at neutral

This commit is contained in:
Chris-plus-alphanumericgibberish 2016-03-07 15:39:57 -05:00
parent 055da29bb3
commit f7f65b2405

View file

@ -1639,6 +1639,9 @@ u_init()
if (Race_if(PM_DROW)) Bard[BARD_CLOAK].trotyp = DROVEN_CHAIN_MAIL;
Bard[BARD_BOOZE].trquan = rn1(2, 5);
ini_inv(Bard);
if(Race_if(PM_CLOCKWORK_AUTOMATON)){
u.ualignbase[A_CURRENT] = u.ualignbase[A_ORIGINAL] = u.ualign.type = A_NEUTRAL; /* Troubadores can't be lawful, so lets bump CAs down to Neutral */
}
/* This depends on the order in objects.c */
for (i = TIN_WHISTLE; i <= DRUM_OF_EARTHQUAKE; i++)
knows_object(i);