Hey all. Having trouble getting some code to work, specifically cooking code. I've created a test arrow item and had it work fine, so I'm confused as to where my issue is here.
I have two problems that seem to come up. The first is a menudef_ problem. Despite only having one menudef_ file for this submenu, after editing and saving the code for any reason,
it sometimes shows up twice in game. The code is:
.Liam's Foods. -Z- *COOKERY*
The filename is menudef_Liam's Foods.txt
I've also tried saving it as menudef_Liam's New Foods.txt and menudef_liams foods.txt
This doesn't seem to make a difference.
In game, it shows up like this:
(Note - I reduced the quality to minimize filesize)
The second issue I have is to do with the submenu contents. My submenu consists of the following item/code:
[SUBMENU_START:Liam's Foods]
.Pemmican. "Berries" *COOKERY* #5# /20/ \2h\ %20% |2| [patch:9] :148:
{Berries} #2# [roast] [patchwise] [remove]
{Raw meat} #2# [roast] [patchwise] [remove]
{Knife} <Broad knife> '+for cutting up meat and crushing berries'
[SPOILAGE_DAYS:100]
[CARB:2]
[FAT:4]
[PROTEIN:2]
[WEIGHT:0.5]
[PRICE:2]
[TILEGFX:bc-clay]
[SUBMENU_END:Liam's Foods]
I've been through it as closely as I can. I've tried re-naming it as above, I've tried re-writing the code entirely in a new Notepad++ file, I've tried copying code for items that I do know works in game within my SUBMENU_START header and footer and had it not work. The submenu contents in game are blank. The result in game is this:
I cannot for the life of me figure out how I've buggered this one up. Please help!