Commit graph

17 commits

Author SHA1 Message Date
Tyler Renelle
761887da18 contrib: move equipped() helper to items.coffee, use a more robust
method of determining which item is available in the store, and which
items i can legally equip. It's a bit wild, I think we should find a
different approach
2013-11-07 13:11:35 -08:00
Matteo Pagliazzi
d7416117f9 award ultimate gear achievement 2013-10-27 12:13:06 +01:00
Tyler Renelle
6a3b2fc1a1 add potion & reroll to itemstore, add taskDefaults helper 2013-08-25 14:53:45 -04:00
Tyler Renelle
18f0755e4e cast user.items[type] to int, this was the "not enough gp" bug 2013-08-18 20:42:27 -04:00
Tyler Renelle
b13c909fe7 possible fix to #1330 2013-08-18 20:12:24 -04:00
Tyler Renelle
d7083bd442 woops, can't alert on server! 2013-08-15 00:26:39 -04:00
Tyler Renelle
2ffade083e cast also during purchasing 2013-08-15 00:12:45 -04:00
Tyler Renelle
0362de7f0f encapsulate items.buyItem better in habitrpg-shared/items.coffee so we can call from API, derby, & mobile app 2013-08-12 23:47:49 -04:00
Tyler Renelle
4df34095aa Merge branch 'develop' 2013-08-04 22:32:41 -04:00
Sabe Jones
07907ae28f Remove misleading "one day" from egg drop text
Pouring a potion on an egg hatches the pet instantly. Until such time as that feature is changed, I've removed the "one day" from the relevant string.
2013-07-31 16:19:16 -05:00
Tyler Renelle
dab72e5865 cap items to maximum in their array, in case the user manually entered
a number larger than the max allowed item in the "restore" modal
2013-07-24 16:45:48 -04:00
Brandon McPhail
8f6fe2456a Enforced Shield -> Reinforced Shield
Renamed.
2013-05-26 00:29:31 -06:00
Tyler Renelle
4a3e8fdcfa backer tier bug fix 2013-05-23 19:41:28 +01:00
Tyler Renelle
a8ab98f99a not on instant-use potion 2013-05-22 11:14:59 +01:00
Tyler Renelle
1feb209c24 Moving back to the Browserify method of concat'd JS files, which will
then be exposed to the browser as a global. This was decided between
@yangit and me, as we found RequireJS to be too painful to setup for
our use case. This Browserify + Global works just fine for us, and it
fits perfectly as require() statements in our node.js backend
2013-05-19 18:01:01 +01:00
yangit
28aa7d2e4f Requred items.js from algos.coffee We do not need to pass items{} to scoring function anymore.
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 21:59:01 +08:00
yangit
ff8721b4a3 Require.js example.
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 13:27:17 +08:00
Renamed from items.coffee (Browse further)