From 62d4fd34e5e0e24b124ef4df12fb012f5e971c1c Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Tue, 14 Oct 2025 16:24:19 -0500 Subject: [PATCH] Add some comments --- main.rc | 4 +++- msgtypes.rc | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/main.rc b/main.rc index 8c4fc45..ea270e0 100644 --- a/main.rc +++ b/main.rc @@ -17,6 +17,7 @@ OPTIONS=fruit:word {% include "autopickup.rc" +%} +{# put curses-specific stuff in a block so it can be easily overwritten if desired per-variant #} {% block curses %} OPTIONS=windowtype:curses OPTIONS=!perm_invent @@ -29,7 +30,6 @@ OPTIONS=hilite_pet,hilite_pile,!toptenwin OPTIONS=time,showexp,number_pad:2,lit_corridor OPTIONS=msg_window:reversed,sortloot:full OPTIONS=autoquiver -# OPTIONS=invweight,showdmg,showweight OPTIONS=!cmdassist OPTIONS=travel OPTIONS=disclose:yi ya nv ng yc no @@ -39,6 +39,7 @@ OPTIONS=runmode:teleport OPTIONS=quick_farsight OPTIONS=whatis_coord:c OPTIONS=!implicit_uncursed +{# block for additional options to keep main set of options together #} {% block options %} {% endblock options %} @@ -48,6 +49,7 @@ BIND=M-m:terrain BIND=C:conduct BIND=!:annotate BIND=%:ride +{# block for additional bindings to keep main set of bindings together #} {% block bindings %} {% endblock bindings %} diff --git a/msgtypes.rc b/msgtypes.rc index 8492877..3ea4fc3 100644 --- a/msgtypes.rc +++ b/msgtypes.rc @@ -1,7 +1,11 @@ MSGTYPE=hide "Unknown command '.*'." +MSGTYPE=hide "Unknown direction '.*'" MSGTYPE=hide "You swap places with .*" +MSGTYPE=hide "Ouch! You bump into a door." MSGTYPE=hide "attack passes harmlessly through the shade" + +# Tried to block a bunch monsters fighting each other with conflict, but too many false positives got suppressed as well # MSGTYPE=hide "(It|The .*|.*'s ghost) (misses|touches|bites|hits) (it|the .*|.*'s ghost)" MSGTYPE=hide "The fire doesn't seem to burn (it|the .*|.*'s ghost)" MSGTYPE=hide "(It|The .*|.*'s ghost) is mildly warmed" @@ -17,6 +21,7 @@ MSGTYPE=show "spell (hits|misses)" MSGTYPE=show "wand (hits|misses)" MSGTYPE=show "dagger (hits|misses)" MSGTYPE=show "dart (hits|misses)" +MSGTYPE=show "arrow (hits|misses)" MSGTYPE=show "ray (hits|misses)" MSGTYPE=show "death ray" MSGTYPE=show "water flow"