|
|
@ -36,7 +36,12 @@ std::string getMatDesc(int32_t typeB, int32_t typeC, int32_t typeD)
|
|
|
|
if(typeC>=Materials->other.size())
|
|
|
|
if(typeC>=Materials->other.size())
|
|
|
|
return "stuff";
|
|
|
|
return "stuff";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return Materials->other[typeC].rawname;
|
|
|
|
{
|
|
|
|
|
|
|
|
if(typeD==-1)
|
|
|
|
|
|
|
|
return std::string(Materials->other[typeC].rawname);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
return std::string(Materials->other[typeC].rawname) + " derivate";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return Materials->inorganic[typeD].id;
|
|
|
|
return Materials->inorganic[typeD].id;
|
|
|
|