Skip to content

Commit

Permalink
Merge pull request #1206 from MCTian-mi/fluid-icons
Browse files Browse the repository at this point in the history
Use AE2 dummy fluid items for quest icons instead of fluid buckets
  • Loading branch information
bruberu authored Dec 31, 2024
2 parents 69a80ed + 06e77a9 commit 1c38f34
Show file tree
Hide file tree
Showing 116 changed files with 139 additions and 238 deletions.
11 changes: 11 additions & 0 deletions build/questbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ def delIconCount(entry: dict):
del entry["properties:10"]["betterquesting:10"]["icon:10"]["Count:3"]
except:
pass

def replaceBucketIcons(entry: dict):
"""replaces fluid buckets in icons with ae2 dummy fluid items"""
try:
if (entry["properties:10"]["betterquesting:10"]["icon:10"]["id:8"] == "forge:bucketfilled"):
entry["properties:10"]["betterquesting:10"]["icon:10"]["id:8"] = "appliedenergistics2:dummy_fluid_item"
del entry["properties:10"]["betterquesting:10"]["icon:10"]["tag:10"]["Amount:3"]
except:
pass


def key(entry):
Expand Down Expand Up @@ -175,6 +184,8 @@ def build(args):

delIconCount(currentquest)

replaceBucketIcons(currentquest)

if root.endswith("QuestLines"):
knowKeys += i18n(output=questKeys, id=entryid, entry=currentquest, place="ql", prefix=args.prefix)
else:
Expand Down
22 changes: 11 additions & 11 deletions config/betterquesting/DefaultQuests/QuestLines/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -674,15 +674,15 @@
"id:3": 473,
"sizeX:3": 24,
"sizeY:3": 24,
"x:3": 276,
"y:3": 522
"x:3": 297,
"y:3": 523
},
"95:10": {
"id:3": 474,
"sizeX:3": 24,
"sizeY:3": 24,
"x:3": 276,
"y:3": 426
"x:3": 297,
"y:3": 427
},
"96:10": {
"id:3": 500,
Expand All @@ -695,8 +695,8 @@
"id:3": 517,
"sizeX:3": 24,
"sizeY:3": 24,
"x:3": 276,
"y:3": 474
"x:3": 297,
"y:3": 475
},
"98:10": {
"id:3": 602,
Expand Down Expand Up @@ -763,10 +763,10 @@
},
"107:10": {
"id:3": 661,
"sizeX:3": 48,
"sizeY:3": 48,
"x:3": 222,
"y:3": 462
"sizeX:3": 23,
"sizeY:3": 24,
"x:3": 245,
"y:3": 475
},
"108:10": {
"id:3": 666,
Expand Down Expand Up @@ -831,7 +831,7 @@
"x:3": -306,
"y:3": 150
},
"124:10": {
"117:10": {
"id:3": 1766162782,
"sizeX:3": 24,
"sizeY:3": 24,
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/0/763.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.763.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "creosote"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/232.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.232.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "nitric_acid"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/233.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.233.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "nitration_mixture"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/234.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.234.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "toluene"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/235.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.235.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "tnt_slurry"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/403.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.403.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "distilled_water"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/407.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.407.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "glycerol"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/408.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.408.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "glyceryl_trinitrate"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/409.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.409.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "seed_oil"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/411.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.411.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "benzene"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/414.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.414.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "coal_gas"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/416.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.416.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "ammonia"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/16/569.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
"desc:8": "susy.quest.db.569.desc",
"frame:8": "GATE",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "reformed_syngas"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/390.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.390.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "liquid_oxygen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/432.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.432.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "hot_hp_oxygen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/435.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.435.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "hp_oxygen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/436.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.436.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "cold_hp_oxygen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/675.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.675.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "liquid_hydrogen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/677.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.677.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "liquid_helium"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/19/882.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.882.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "liquid_nitrogen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/2/121.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.121.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "syngas"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/2/240.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.240.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "glue"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/2/661.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"desc:8": "susy.quest.db.661.desc",
"frame:8": "GATE",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "sperrylite_waste"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/20/747.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.747.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "steam"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/22/247.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.247.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "hydrogen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/22/248.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.248.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "helium"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/22/253.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.253.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "nitrogen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/22/254.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.254.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "oxygen"
}
},
Expand Down
3 changes: 1 addition & 2 deletions config/betterquesting/DefaultQuests/Quests/22/255.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"betterquesting:10": {
"desc:8": "susy.quest.db.255.desc",
"icon:10": {
"id:8": "forge:bucketfilled",
"id:8": "appliedenergistics2:dummy_fluid_item",
"tag:10": {
"Amount:3": 1000,
"FluidName:8": "fluorine"
}
},
Expand Down
Loading

0 comments on commit 1c38f34

Please sign in to comment.