hot or not fixes! goodbye, blowpipe exploit
This commit is contained in:
parent
b17f61ffa3
commit
1ca74a8769
5 changed files with 2 additions and 44 deletions
|
|
@ -25,10 +25,10 @@
|
|||
itemTemperatureModifier = 2.0
|
||||
#How often the heat of your tongs, mittens or potholders should increase. Higher value -> slower. Too high and items won't heat up.
|
||||
#Range: > 1
|
||||
itemHeatTimeInterval = 4
|
||||
itemHeatTimeInterval = 3
|
||||
#How often the durability of your tongs, mittens or potholders should take damage. Higher value -> slower. Holding multiple hot items will damage your insulating items faster!
|
||||
#Range: > 1
|
||||
itemDamageTimeInterval = 40
|
||||
itemDamageTimeInterval = 60
|
||||
#Durability for wooden tongs.
|
||||
#Range: > 0
|
||||
woodenTongsDurability = 250
|
||||
|
|
|
|||
|
|
@ -7,9 +7,6 @@ const registerHotOrNotItemTags = (event) => {
|
|||
event.removeAllTagsFrom(item)
|
||||
event.add('c:hidden_from_recipe_viewers', item)
|
||||
})
|
||||
|
||||
// TODO: TEMP FIX
|
||||
event.add('tfchotornot:insulating', '#tfc:all_blowpipes')
|
||||
}
|
||||
|
||||
const registerHotOrNotBlockTags = (event) => {
|
||||
|
|
|
|||
|
|
@ -1,32 +1,4 @@
|
|||
// priority: 0
|
||||
|
||||
global.HOT_OR_NOT_DISABLED_ITEMS = [
|
||||
];
|
||||
|
||||
// Can't just use the #tfchotornot:insulating tag here because tags don't exist at startup
|
||||
global.HOT_OR_NOT_ITEMS = [
|
||||
'tfchotornot:mittens',
|
||||
'tfchotornot:burlap_potholder',
|
||||
'tfchotornot:silk_potholder',
|
||||
'tfchotornot:wool_potholder',
|
||||
'tfchotornot:tongs/wood',
|
||||
'tfchotornot:tongs/bismuth',
|
||||
'tfchotornot:tongs/bismuth_bronze',
|
||||
'tfchotornot:tongs/black_bronze',
|
||||
'tfchotornot:tongs/bronze',
|
||||
'tfchotornot:tongs/brass',
|
||||
'tfchotornot:tongs/copper',
|
||||
'tfchotornot:tongs/gold',
|
||||
'tfchotornot:tongs/nickel',
|
||||
'tfchotornot:tongs/rose_gold',
|
||||
'tfchotornot:tongs/silver',
|
||||
'tfchotornot:tongs/tin',
|
||||
'tfchotornot:tongs/zinc',
|
||||
'tfchotornot:tongs/sterling_silver',
|
||||
'tfchotornot:tongs/wrought_iron',
|
||||
'tfchotornot:tongs/cast_iron',
|
||||
'tfchotornot:tongs/steel',
|
||||
'tfchotornot:tongs/black_steel',
|
||||
'tfchotornot:tongs/red_steel',
|
||||
'tfchotornot:tongs/blue_steel',
|
||||
];
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
// priority: 0
|
||||
|
||||
function registerHotOrNotItemModifications(event) {
|
||||
|
||||
global.HOT_OR_NOT_ITEMS.forEach(i => {
|
||||
event.modify(i, item => {
|
||||
item.maxDamage = item.maxDamage * 3
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
@ -27,7 +27,6 @@ BlockEvents.modification(event => {
|
|||
*/
|
||||
ItemEvents.modification(event => {
|
||||
registerBeneathItemModifications(event)
|
||||
registerHotOrNotItemModifications(event)
|
||||
registerMinecraftItemModifications(event)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue