1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Add settings to enable/disable camera tilt and flash effects from damage

Added a setting to enable and disable camera tilt and flash.
Added settings to control the duration and strength of camera tilt.
This commit is contained in:
Gwyndolyn 2025-05-22 16:59:54 -07:00
parent 7ac5502fdf
commit ac57714ba0
4 changed files with 41 additions and 5 deletions

View file

@ -130,6 +130,11 @@ local function load()
{ heading = fgettext_ne("Movement") },
"arm_inertia",
"view_bobbing_amount",
{ heading = fgettext_ne("Damage") },
"damage_flash_enable",
"damage_tilt_enable",
"damage_tilt_strength",
"damage_tilt_duration",
},
})