Topic: menudef_<How to make my own recipe?>.txt  (Read 273 times)


morrneyo

« on: July 17, 2017, 03:44:52 PM »
Modifying default core-recipe file(diy_glossary) is getting messy,
so I was trying to make a new recipe menu.

According to the menudef_additional.txt, I thought I can make my own recipe.
I tried to follow the instructions, but I couldn't see the new Handcraft options.
I mean I can access the 'My weapon' submenu, but I couldn't see anything after that. It was just blank.


Quote

File name : menudef_private

.my weapons.       -Y- *MAKE*

[SUBMENU_START:weapon]

.Northern bow. [effort:2] [phys:stance,arms] *CARPENTRY*      /20/ |2|
{Board} [remove]
{Leather} #0.5# [remove]
{Bark} #0.5# [remove]
{Axe} <Carving axe>
{Knife}
{Tying equipment} [remove]

[SUBMENU_END:weapon]

Did I missed something?

Privateer

« Reply #1 on: July 17, 2017, 05:13:21 PM »
Did I missed something?

 ~Yes, but not badly~
.my weapons.       -Y- *MAKE* -(this is fine)
[SUBMENU_START:weapon] - (Needs to be same as menu defined eg: my weapons)
[SUBMENU_END:weapon] - (Needs to be same as menu defined eg: my weapons)

 The blank menu is probably "my weapons" however there are no ~Tags~ for "my weapons"
Easy fix and a bit of information

morrneyo

« Reply #2 on: July 17, 2017, 05:27:36 PM »
Did I missed something?

 ~Yes, but not badly~
.my weapons.       -Y- *MAKE* -(this is fine)
[SUBMENU_START:weapon] - (Needs to be same as menu defined eg: my weapons)
[SUBMENU_END:weapon] - (Needs to be same as menu defined eg: my weapons)

 The blank menu is probably "my weapons" however there are no ~Tags~ for "my weapons"
Easy fix and a bit of information

Quote
.my weapons.       -Y- *MAKE*

[SUBMENU_START:my weapons]

.Northern bow. [effort:2] [phys:stance,arms] *CARPENTRY*      /20/ |2|
{Board} [remove]
{Axe} <Carving axe>

.Northern spear. [effort:1] [phys:hands,one-armed]     *CARPENTRY*        /10/
{Branch}   [remove] [patchwise] [noquality]
{Axe} <Carving axe>
{Knife}

.Kaumolais knife. [effort:1] [phys:hands,one-armed]     *CARPENTRY*        /10/
{Branch}   [remove] [patchwise] [noquality]
{Axe} <Carving axe>
{Knife}

.Kaumolais spear. [effort:1] [phys:hands,one-armed]     *CARPENTRY*        /10/
{Branch}   [remove] [patchwise] [noquality]
{Axe} <Carving axe>
{Knife}

[SUBMENU_END:my weapons]



Thanks for the reply, but It didn't work!
Did I missed again something? And what is tag anyway?
Do I have to fix other files?

Privateer

« Reply #3 on: July 17, 2017, 05:42:37 PM »
 I think I may have assumed to much.

The menu file "menudef_private" should only contain the menu definition.
The task(s) need to be separate in a file named diy_whatever.txt


morrneyo

« Reply #4 on: July 17, 2017, 05:47:11 PM »
I think I may have assumed to much.

The menu file "menudef_private" should only contain the menu definition.
The task(s) need to be separate in a file named diy_whatever.txt

Than how should I make a recipe file?
If I put the recipe in diy_glossary it just works fine.
Do I have to make separate memo file?

Can you show me a example?

morrneyo

« Reply #5 on: July 17, 2017, 05:58:11 PM »
I think I may have assumed to much.

The menu file "menudef_private" should only contain the menu definition.
The task(s) need to be separate in a file named diy_whatever.txt

Oh wait wait

I think I found a solution thanks to your mods!
https://www.unrealworld.fi/forums/index.php?topic=14.0
Thanks to your mod I finally understood the grammar! Thanks! I gonna kiss your cheek!

PS : I also successfully made it. Thank you!
« Last Edit: July 17, 2017, 06:02:56 PM by morrneyo »