Refactor some common 3.7-based settings

This commit is contained in:
2025-10-15 13:12:25 -05:00
parent 84e204c388
commit dc654d9613
5 changed files with 53 additions and 18 deletions

View File

@@ -1,4 +1,5 @@
{% extends "main.rc" %}
{% set base37 = true %}
{% block symbols %}
{% include "unicode_symbols.rc" +%}
@@ -8,12 +9,4 @@
{% block options %}
OPTIONS=suppress_alert:3.3.1
OPTIONS=!tutorial,!safe_wait,!tips
OPTIONS=showdamage
OPTIONS=cond_held,cond_ice,cond_lava,cond_woundedlegs,cond_slip
OPTIONS=paranoid_confirmation:pray Remove A trap swim
{% endblock options %}
{% block bindings %}
BIND=O:optionsfull
{% endblock bindings %}

View File

@@ -1,4 +1,5 @@
{% extends "main.rc" %}
{% set base37 = true %}
{% block symbols %}
{% include "unicode_symbols.rc" +%}
@@ -9,14 +10,9 @@
{% block options %}
OPTIONS=taunt:gwaa loudly at your foes
OPTIONS=orientation:gay
OPTIONS=!tutorial,!safe_wait,!tips
OPTIONS=timed_delay
OPTIONS=showdamage
OPTIONS=cond_held,cond_ice,cond_lava,cond_woundedlegs,cond_slip
OPTIONS=paranoid_confirmation:pray Remove A trap swim
{% endblock options %}
{% block bindings %}
BIND=O:optionsfull
BIND=5:rush
{% endblock bindings %}

View File

@@ -6,7 +6,5 @@
{% block options %}
OPTIONS=suppress_alert:3.3.1
OPTIONS=cond_held,cond_ice,cond_lava,cond_woundedlegs
OPTIONS=paranoid_confirmation:pray trap A Remove
OPTIONS=realtime:p,realtime_format:f
{% endblock options %}

48
main.rc
View File

@@ -126,6 +126,51 @@ OPTIONS=whatis_coord:c
# implicit_uncursed: omit "uncursed" from inventory lists when it is implied from other aspects of the item description
{% endif %}
OPTIONS=!implicit_uncursed
{% if base37 %}
{% if comments %}
# tutorial: play a tutorial level at the start of the game
{% endif %}
OPTIONS=!tutorial
{% if comments %}
# safe_wait: prevents you from waiting or searching when next to a hostile monster
{% endif %}
OPTIONS=!safe_wait
{% if comments %}
# tips: show some helpful tips during gameplay
{% endif %}
OPTIONS=!tips
{% if comments %}
# showdamage: when your character takes damage, show a message of the damage taken and amount of hit points remaining
{% endif %}
OPTIONS=showdamage
OPTIONS=cond_held,cond_ice,cond_lava,cond_woundedlegs,cond_slip
{% endif %}
{% if comments %}
# paranoid_confirmation: space-separated list of specific situations where alternate prompting is desired
# Confirm: for any prompts which are set to require 'yes' rather than 'y', also require 'no' to reject instead of accepting any non-yes response as no
# quit: require 'yes' rather than 'y' to confirm quitting or switching into explore mode
# die: require 'yes' rather than 'y' to confirm dying in explore mode
# bones: require 'yes' rather than 'y' to confirm saving bones data on death in debug mode
# attack: require 'yes' rather than 'y' to confirm attacking a peaceful monster
# wand-break: require 'yes' rather than 'y' to confirm breaking a wand with the apply command
# eating: require 'yes' rather than 'y' to confirm whether to continue eating
# Were-change: require 'yes' rather than 'y' to confirm changing form due to lycanthropy when hero has polymorph control
# pray: require 'y' to confirm an attempt to pray instead of automatically praying
{% if base37 %}
# trap: require 'y' to confirm an attempt to move into or onto a known trap
# swim: prevent walking into water or lava
# AutoAll: require confirmation when the 'A' choice is selected in object class filtering menus
{% endif %}
# Remove: require selection from inventory for 'R' and 'T' commands even when just wearing one applicable item
# all: turn on all of the above
{% endif %}
OPTIONS=paranoid_confirmation:pray Remove{{ " AutoAll trap swim" if base37 }}
{# block for additional options to keep main set of options together #}
{% block options %}
{% endblock options %}
@@ -136,6 +181,9 @@ BIND=M-m:terrain
BIND=C:conduct
BIND=!:annotate
BIND=%:ride
{% if base37 %}
BIND=O:optionsfull
{% endif %}
{# block for additional bindings to keep set of bindings together #}
{% block bindings %}
{% endblock bindings %}

View File

@@ -35,10 +35,10 @@ OPTIONS=hilite_status:power/<50%/orange&normal
OPTIONS=hilite_status:power/<33%/red&bold
## Carry
OPTIONS=hilite_status:cap/burdened/yellow/stressed/orange/strained/red&bold/overtaxed/red&inverse/overloaded/red&inverse&blink
OPTIONS=hilite_status:cap/burdened/yellow/stressed/orange/strained/red&bold/overtaxed/red&inverse/overloaded/red&inverse
## Hunger
OPTIONS=hilite_status:hunger/satiated/yellow/hungry/orange/weak/red&bold/fainting/red&inverse/fainted/red&inverse&blink
OPTIONS=hilite_status:hunger/satiated/yellow/hungry/orange/weak/red&bold/fainting/red&inverse/fainted/red&inverse
## Mental
OPTIONS=hilite_status:condition/hallu/yellow
@@ -62,5 +62,5 @@ OPTIONS=hilite_status:characteristics/up/green/down/red
OPTIONS=hilite_status:armor-class/down/green/up/red
# XP
OPTIONS=hilite_status:experience/up/green/down/red
OPTIONS=hilite_status:experience-level/up/green/down/red
OPTIONS=hilite_status:experience/up/green/down/red