I tried to follow the code written in the blog (albeit an old one which might explain the problem), however I ended up with this error. I'm not very experienced and cannot tell what's wrong
Checking module syntax... FAILED.
MODULE `game_menus` ERROR:
failed to parse element #265
cannot convert value [(541, '$current_town', 0, 2), (31, '$sneaked_into_town', 0), (2319, 1), 4, (2204, ':center_faction', '$current_town'), (542, ':center_faction', 4, 6), (542, ':center_faction', 5, '$current_town'), (2320, 1, 'str__join_the_feast'), 3] to integer
COMPILATION FAILED,
MODULE `game_menus` ERROR:
failed to parse element #265
cannot convert value [(541, '$current_town', 0, 2), (31, '$sneaked_into_town', 0), (2319, 1), 4, (2204, ':center_faction', '$current_town'), (542, ':center_faction', 4, 6), (542, ':center_faction', 5, '$current_town'), (2320, 1, 'str__join_the_feast'), 3] to integer
COMPILATION FAILED,