Hi,
like in the title, i looking for the thingDef of Boomalope meat.
I need it for a little mod i´m working on.
cu
Cheffe
this.<d>__2.defName = this.<sourceDef>__1.defName + "_Meat";
Thanks but i need it for the XML Stuff, not C# ;)
<ingredients>
<li>
<filter>
<thingDefs>
<li>PUT NEEDED VALUE IN HERE</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
You can't find the meat def itself in XML files, it is dynamically created from pawn defs.
I think the reply of RawCode in raw code was that the defname of meat is pawndefname+"_meat".
so the boomalope meat defname is Boomalope_Meat.
mmmh well, ok than. :(
Thx so far.
I´ll try another Stuff :)
Quote from: [FSM]Chefkoch on March 08, 2017, 12:23:55 PM
mmmh well, ok than. :(
Thx so far.
I´ll try another Stuff :)
Why ?
Have you tried...
<ingredients>
<li>
<filter>
<thingDefs>
<li>Boomalope_Meat</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
WT... it works ;D
I treid it before and got LogErrors but now, it works! :o
Thanks again!