From 5799ccc0ef94f8647a591268d4f0e5ace3d1c0e1 Mon Sep 17 00:00:00 2001 From: Alex Jordan Date: Tue, 17 Dec 2024 12:52:37 -0800 Subject: [PATCH] Tell users about achievements that will randomize problems if used after the close date --- lib/WeBWorK/AchievementItems/ExtendDueDate.pm | 5 ++++- lib/WeBWorK/AchievementItems/ReducedCred.pm | 3 ++- lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/WeBWorK/AchievementItems/ExtendDueDate.pm b/lib/WeBWorK/AchievementItems/ExtendDueDate.pm index e68e975511..5d20f67e78 100644 --- a/lib/WeBWorK/AchievementItems/ExtendDueDate.pm +++ b/lib/WeBWorK/AchievementItems/ExtendDueDate.pm @@ -28,7 +28,10 @@ sub new ($class) { return bless { id => 'ExtendDueDate', name => x('Tunic of Extension'), - description => x('Adds 24 hours to the close date of a homework.') + description => x( + 'Adds 24 hours to the close date of a homework. ' + . 'This will randomize problem details if used after the original close date.' + ) }, $class; } diff --git a/lib/WeBWorK/AchievementItems/ReducedCred.pm b/lib/WeBWorK/AchievementItems/ReducedCred.pm index 3e5f6a8e06..f1fc835ea3 100644 --- a/lib/WeBWorK/AchievementItems/ReducedCred.pm +++ b/lib/WeBWorK/AchievementItems/ReducedCred.pm @@ -31,7 +31,8 @@ sub new ($class) { name => x('Ring of Reduction'), description => x( 'Enable reduced scoring for a homework set. This will allow you to submit answers ' - . 'for partial credit for 24 hours after the close date.' + . 'for partial credit for 24 hours after the close date. ' + . 'This will randomize problem details if used after the original close date.' ) }, $class; } diff --git a/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm b/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm index 0caca25ebb..c3d9529899 100644 --- a/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm +++ b/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm @@ -28,7 +28,10 @@ sub new ($class) { return bless { id => 'SuperExtendDueDate', name => x('Robe of Longevity'), - description => x('Adds 48 hours to the close date of a homework.') + description => x( + 'Adds 48 hours to the close date of a homework. ' + . 'This will randomize problem details if used after the original close date.' + ) }, $class; }