From 3d6da765e60929f5b1dc9eec007a418a0e058383 Mon Sep 17 00:00:00 2001 From: Alice Harris Date: Tue, 2 Sep 2014 18:23:36 +1000 Subject: [PATCH] allow Nameless Helm (head_special_2 / headSpecial2) to be repurchased after you've owned it once - fixes https://github.com/HabitRPG/habitrpg/issues/3967 --- script/content.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/content.coffee b/script/content.coffee index 24be6e4be5..c7a4a76bfd 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -198,7 +198,7 @@ gear = special: 0: text: t('headSpecial0Text'), notes: t('headSpecial0Notes', {int: 20}), int: 20, value:150, canOwn: ((u)-> +u.backer?.tier >= 45) 1: text: t('headSpecial1Text'), notes: t('headSpecial1Notes', {attrs: 6}), con: 6, str: 6, per: 6, int: 6, value:170, canOwn: ((u)-> +u.contributor?.level >= 3) - 2: text: t('headSpecial2Text'), notes: t('headSpecial2Notes', {attrs: 25}), int: 25, str: 25, value:200, canOwn: ((u)-> +u.backer?.tier >= 300) + 2: text: t('headSpecial2Text'), notes: t('headSpecial2Notes', {attrs: 25}), int: 25, str: 25, value:200, canOwn: ((u)-> (+u.backer?.tier >= 300) or u.items.gear.owned.head_special_2?) #Winter event nye: event: events.winter, text: t('headSpecialNyeText'), notes: t('headSpecialNyeNotes'), value: 0 yeti: event: events.winter, specialClass: 'warrior', text: t('headSpecialYetiText'), notes: t('headSpecialYetiNotes', {str: 9}), str: 9, value:60