Skip to content

Commit 5804bd7

Browse files
committed
(w/AI) Webber, Warley, Wigfrid modes; icon fixes
1 parent b1cba19 commit 5804bd7

File tree

9 files changed

+545
-143
lines changed

9 files changed

+545
-143
lines changed

html/constants.js

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const HAMLET = 1 << 4;
9999
// Character bits (used for charMask on character-specific recipes)
100100
export const WARLY = 1 << 5;
101101
export const WEBBER = 1 << 6;
102+
export const WIGFRID = 1 << 7;
102103

103104
// Base game modes (no character variants)
104105
export const baseModes = {
@@ -210,8 +211,28 @@ export const characters = {
210211
bit: WEBBER,
211212
// Webber can be played in RoG, Shipwrecked, Hamlet, and DST
212213
applicableModes: ['giants', 'shipwrecked', 'hamlet', 'together'],
213-
// Webber has no special food multipliers
214-
multipliers: {},
214+
// Webber has special abilities:
215+
// - Can safely eat Monster Foods without adverse health effects
216+
// - Can safely eat Raw Meat without penalties (raw = cooked stats)
217+
abilities: {
218+
noMonsterPenalty: true,
219+
rawMeatIsCooked: true,
220+
},
221+
},
222+
223+
wigfrid: {
224+
name: 'Wigfrid',
225+
img: 'wigfrid.png',
226+
bit: WIGFRID,
227+
// Wigfrid can be played in RoG and DST
228+
applicableModes: ['giants', 'together'],
229+
// Wigfrid has dietary restrictions:
230+
// - Can only eat meat items
231+
// - In DST, can also eat "goodies" (Taffy, Jellybeans, Ice Cream, Mushy Cake)
232+
abilities: {
233+
meatOnly: true,
234+
canEatGoodies: true, // Only applies in DST
235+
},
215236
},
216237
};
217238

@@ -239,7 +260,7 @@ export const modes = {
239260

240261
warlydst: {
241262
name: 'Warly (DST)',
242-
img: 'warlyDST.png',
263+
img: 'warly.png',
243264
bit: TOGETHER,
244265
charBit: WARLY,
245266
color: '#c0c0c0',

0 commit comments

Comments
 (0)