From dff250c6d32156270b9a39137346a2b3767cb4a2 Mon Sep 17 00:00:00 2001 From: querns <33518699+querns@users.noreply.github.com> Date: Mon, 9 Oct 2023 09:55:31 -0500 Subject: Allows covers to be configured to tick more slowly (#2307) * Right clicking covers with a jackhammer will now make them tick more slowly * Interim commit, switching tasks * Finishes tick rate button in cover UIs * Change tick rate multiplier to a tick rate addition * Missed one number in the multiplier -> addition conversion * Hold Ctrl to adjust tick rate by 5 steps per click, move button closer to corner of cover GUI * Adjust how holding Ctrl computes tick rate change, remove gray formatting option for tick rate formatter * Cover tick rate addition can now be prevented per-cover-behavior, minor code tweaks --- src/main/resources/assets/gregtech/lang/en_US.lang | 13 +++++++++++++ .../gregtech/textures/gui/overlay_button/hourglass.png | Bin 0 -> 7562 bytes 2 files changed, 13 insertions(+) create mode 100644 src/main/resources/assets/gregtech/textures/gui/overlay_button/hourglass.png (limited to 'src/main/resources/assets') diff --git a/src/main/resources/assets/gregtech/lang/en_US.lang b/src/main/resources/assets/gregtech/lang/en_US.lang index 03afafc0ee..b9000ea98a 100644 --- a/src/main/resources/assets/gregtech/lang/en_US.lang +++ b/src/main/resources/assets/gregtech/lang/en_US.lang @@ -1377,3 +1377,16 @@ gt.item.adv_sensor_card.tooltip.frequency=Frequency: §b%s gt.item.adv_sensor_card.error.deconstructed.1=-ERROR- Machine Deconstructed gt.item.adv_sensor_card.error.deconstructed.2=Place machine again to re-enable gt.item.adv_sensor_card.error.no_data=No data found + +gt.cover.info.format.tick_rate=§b%s§r %s +gt.cover.info.chat.tick_rate=Cover tick rate set to %s +gt.cover.info.chat.tick_rate_not_allowed=Cannot adjust tick rate of this cover type with a jackhammer +gt.cover.info.button.tick_rate.1=Current tick rate: Every %s%s +gt.cover.info.button.tick_rate.2=Left click to increase, right click to decrease +gt.cover.info.button.tick_rate.3=Hold Ctrl to adjust by more steps per click +gt.cover.info.button.bounds_notification.minimum=§7 (minimum)§r +gt.cover.info.button.bounds_notification.maximum=§7 (maximum)§r +gt.time.tick.singular=tick +gt.time.tick.plural=ticks +gt.time.second.singular=second +gt.time.second.plural=seconds diff --git a/src/main/resources/assets/gregtech/textures/gui/overlay_button/hourglass.png b/src/main/resources/assets/gregtech/textures/gui/overlay_button/hourglass.png new file mode 100644 index 0000000000..ed9b8de56e Binary files /dev/null and b/src/main/resources/assets/gregtech/textures/gui/overlay_button/hourglass.png differ -- cgit