Topic: Bug in LoydettyTarvike() function  (Read 165 times)


TheyCallMeSibs

« on: September 14, 2024, 11:00:16 PM »
Evening,
was playing some modded URW (BAC 3.84 v1.3) and crafted a dip net. Starting the craft sent off that message.
There is also a pet reindeer tied to a tree next to me, some drying elk, and a wild reindeer somewhere around me.
Any ideas? If it's BAC, I'm happy to go patch it. Happy to send a save game upon request.

https://i.imgur.com/4PdreOW.png

.Dip net. "Fishing rod" [effort:0] [phys:hands,one-armed] *CARPENTRY* /2h/
{Slender trunk}      [remove] [noquality]
{Branch}   (2)   [remove] [noquality] '+as spreaders'
{Cloth}      #4#   [remove]         '+to make catching net from cloth, fur or leather'
{Thin cordage}      =15=   [remove] [nominlen] [patchwise]      
'+for tying together'
{Axe}<Carving axe>
{Knife}<Small knife>
[WEIGHT:8]
[PRICE:0]
[TILEGFX:bc-dipnet]
//Dip net can scoop ores or fish
// Arimon 3.7x:
// - changed {*cord} to {Thin cordage}
// - added [nominlen] to {Thin cordage}

Galgana

« Reply #1 on: September 15, 2024, 12:08:05 AM »
LoydettyTarvike errors are triggered by recipes that are missing components for certain base objects which have been hard-coded with detachable parts.
Ah, okay, so this happens because the item to be crafted is a "Fishing rod" and nowadays the fishing rod needs a hook, which is associated with the item properties.
As the game fails to find the hook in used the materials/parts, it reports about the failure.

Instead of "Fishing rod" for the base item, "Lippo" might be a better fit.