High Tier saws can silk harvest ice (#3019)
* High Tier saws can silk harvest packed ice * Update changelog
This commit is contained in:
parent
d122cba3f5
commit
a7a01a96b7
5 changed files with 53 additions and 2 deletions
|
|
@ -37,6 +37,18 @@ function registerGTCEUItemTags(event) {
|
|||
event.add("tfc:saws", "#forge:tools/buzzsaws");
|
||||
event.add("tfc:saws", "#forge:tools/chainsaws");
|
||||
|
||||
const saws = event.get('forge:tools/saws').getObjectIds().concat(event.get('forge:tools/chainsaws').getObjectIds());
|
||||
saws.forEach(sawId =>
|
||||
{
|
||||
const id = sawId.getNamespace() + ":" + sawId.getPath();
|
||||
if(global.ICE_SAW_BLACKLIST.includes(id) || Item.of(sawId).hasTag('forge:tools/buzzsaws'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
event.add("tfg:silk_harvest_ice", id);
|
||||
});
|
||||
|
||||
global.GTCEU_CASTING_MOLDS.concat(global.TFG_CASTING_MOLDS).forEach((mold) => {
|
||||
event.add("gtceu:casting_molds", mold);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue