2025/07/21 Update

Added PEPS AI
Full compile.
This commit is contained in:
Jaysyn904
2025-07-21 12:33:56 -04:00
parent 2d0a7a8a89
commit 87608ac499
2806 changed files with 44346 additions and 557 deletions

View File

@@ -1,5 +1,8 @@
// Dependencies: ats_const_common, ats_inc_material
#include "ats_const_common"
#include "ats_inc_material"
/////////////////////////////////////////////////////
// ATS_IsCraftSingleType //
// Used to determine if a crafting recipe is //
@@ -145,23 +148,39 @@ int iType
sMaterialTag = GetLocalString(GetModule(), sCraftTag + sCustomMaterialTag + "_tag");
}
else if(iComponentID == CINT_COMPONENT_ID_INGOTS)
sMaterialTag = "ATS_C_" + CSTR_INGOT_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
{
sMaterialTag = "ATS_C_" + CSTR_INGOT_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_GEMS)
{
sMaterialTag = "ATS_C_" + CSTR_CUTGEM_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_IDEALGEMS)
{
sMaterialTag = "ATS_C_" + CSTR_CUTGEM_BASETAG + "_E_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_CLOTHSS)
{
sMaterialTag = "ATS_C_" + CSTR_CLOTHSS_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_CLOTHSM)
{
sMaterialTag = "ATS_C_" + CSTR_CLOTHSM_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_CLOTHSL)
{
sMaterialTag = "ATS_C_" + CSTR_CLOTHSL_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_FLOWERS)
{
sMaterialTag = "ATS_FLOWER_" + ATS_GetMaterialTag(iType);
}
else if(iComponentID == CINT_COMPONENT_ID_DYES)
{
sMaterialTag = "ATS_C_" + CSTR_DYE_BASETAG + "_N_" + ATS_GetMaterialTag(iType);
return sMaterialTag;
}
return sMaterialTag;
}
@@ -245,4 +264,5 @@ int iType // the material type or custom component number
}
//:: void main(){}