Integrate new settings into existing codebase

This commit is contained in:
Rares Bozga
2025-12-25 02:04:19 +02:00
parent 537b5c0d9b
commit cc904c7137
11 changed files with 150 additions and 43 deletions

View File

@@ -83,7 +83,8 @@ phones_commands_phonecall:
#
# before accepted
- if !<[target].has_flag[phones_is_maybe_called]>:
- nbs file:data/phones/songs/<[target].flag[phones].get[ringtone].if_null[Bad Apple]> play targets:<[target]>
- if !<proc[settings_get].context[<[target]>|game_disable_phone_ringtone]>:
- nbs file:data/phones/songs/<[target].flag[phones].get[ringtone].if_null[Bad Apple]> play targets:<[target]>
- narrate targets:<[target]> "<&6>*** <&e>You're being called by <&e><[relative]><&7>."
- narrate targets:<[target]> <&hover[<&a>Click to accept call from <[relative]>...]><element[<&a><&l>[ ACCEPT ]].on_click[<entry[accept].command>]><&end_hover>
# wait...