From 2a4bf5efa703024c78f57eafa6ebd0b07843db70 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 6 May 2015 09:54:28 +0300 Subject: [PATCH] Comment for the pudding glob order --- src/monst.c | 2 ++ src/objects.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/monst.c b/src/monst.c index 791cd57c5..21d585393 100644 --- a/src/monst.c +++ b/src/monst.c @@ -1818,6 +1818,8 @@ struct permonst _mons2[] = { M3_INFRAVISIBLE|M3_INFRAVISION, HI_LORD), /* * Puddings + * + * must be in the same order as the pudding globs in objects.c */ MON("gray ooze", S_PUDDING, LVL(3, 1, 8, 0, 0), (G_GENO|G_NOCORPSE|2), diff --git a/src/objects.c b/src/objects.c index b4c26041a..4d6f44709 100644 --- a/src/objects.c +++ b/src/objects.c @@ -675,7 +675,8 @@ OBJECT(OBJ("meat ring", (char *)0), BITS(1,0,0,0,0,0,0,0,0,0,0,0,FLESH), 0, FOOD_CLASS, 0, 1, 5, 1, 0, 0, 0, 0, 5, CLR_BROWN), -/* pudding 'corpses' will turn into these and combine */ +/* pudding 'corpses' will turn into these and combine. + must be in same order as the pudding monsters */ FOOD("glob of gray ooze", 0, 2, 20, 0, FLESH, 20, CLR_GRAY), FOOD("glob of brown pudding", 0, 2, 20, 0, FLESH, 20, CLR_BROWN), FOOD("glob of green slime", 0, 2, 20, 0, FLESH, 20, CLR_GREEN),