Commit 06da26d 1 parent af4a24d commit 06da26d Copy full SHA for 06da26d
File tree 5 files changed +13
-2
lines changed
5 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -3389,4 +3389,5 @@ The following changes to date are:
3389
3389
- 'Deslog' the first wizard's tower level
3390
3390
- Fix: Lava gremlin exploding a forge
3391
3391
- Fix: ID_MANIFEST target (windows build)
3392
+ - New conduct: never forged an artifact
3392
3393
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ struct u_conduct { /* number of times... */
129
129
long elbereth ; /* engraved Elbereth */
130
130
long artitouch ; /* touched an artifact */
131
131
long pets ; /* obtained a pet */
132
+ long forgedarti ; /* forged an artifact */
132
133
/* genocides already listed at end of game */
133
134
};
134
135
Original file line number Diff line number Diff line change @@ -3857,8 +3857,13 @@ int final;
3857
3857
" for any artifacts" , "" );
3858
3858
}
3859
3859
3860
- if (!u .uconduct .pets )
3861
- you_have_never ("owned a pet" );
3860
+ if (!u .uconduct .pets ) {
3861
+ you_have_never ("owned a pet" );
3862
+ }
3863
+
3864
+ if (!u .uconduct .forgedarti ) {
3865
+ you_have_never ("forged an artifact" );
3866
+ }
3862
3867
3863
3868
show_achievements (final );
3864
3869
Original file line number Diff line number Diff line change @@ -669,6 +669,7 @@ doforging(void)
669
669
output = addinv (output );
670
670
output -> owt = weight (output );
671
671
You ("have successfully forged %s." , doname (output ));
672
+ u .uconduct .forgedarti ++ ;
672
673
livelog_printf (LL_ARTIFACT , "used a forge to create %s%s" ,
673
674
(output -> oartifact == ART_GAUNTLETS_OF_PURITY
674
675
|| output -> oartifact == ART_HAMMER_OF_THE_GODS
Original file line number Diff line number Diff line change @@ -520,6 +520,7 @@ encode_extended_conducts()
520
520
add_achieveX (buf , "bonesless" , !u .uroleplay .numbones );
521
521
add_achieveX (buf , "never_died" , u .umortality == 0 );
522
522
add_achieveX (buf , "never_abused_alignment" , u .ualign .abuse == 0 );
523
+ add_achieveX (buf , "never_forged_an_artifact" , !u .uconduct .forgedarti );
523
524
524
525
return buf ;
525
526
}
@@ -591,6 +592,8 @@ encodeconduct()
591
592
e |= 1L << 19 ;
592
593
if (u .ualign .abuse == 0 )
593
594
e |= 1L << 20 ;
595
+ if (!u .uconduct .forgedarti )
596
+ e |= 1L << 21 ;
594
597
595
598
return e ;
596
599
}
You can’t perform that action at this time.
0 commit comments