tModLoader

tModLoader

66 个评价
Drill Expansion
3
   
奖励
收藏
已收藏
取消收藏
tModLoader版本: 1.4.4
语言: 英语
文件大小
发表于
更新日期
108.158 KB
3 月 12 日 下午 12:54
8 月 12 日 下午 12:55
5 项改动说明 ( 查看 )

订阅以下载
Drill Expansion

描述


Drill Expansion
Drill Expansion adds new drill counterparts to most Vanilla Terraria & Calamity pickaxes and buffs all Vanilla Terraria drills.

Content:
Adds 22 Drills that scale with progression with full Calamity Mod support.
Adds a Zenith Drill that is craftable with all modded and vanilla drills (recipe changes when calamity is enabled).
Adds Drill counterparts to almost all Calamity Pickaxes.

Other mods:


Changelog
[v1.50 → v1.60]
-Resprites
引用自 tModLoader DrillMod
Developed By Allen
22 条留言
Ferret 8 月 19 日 上午 5:57 
that's neat! thank you for taking the time to educate me!
allen  [作者] 8 月 19 日 上午 12:39 
Vanilla drills all have 60% of the use time and use animation listed in their code (this is intentional and set with a flag). For example, the adamantite drill, as mentioned in my previous message, has a use animation of 25 and a use time of 8, which translates to 15 use animation and 4.8 use time (12 blocks/s). This is not a bug and is intentional, the problem is from the wiki.

Here is the code itself if you still believe its a bug :)

if (ItemID.Sets.IsDrill[this.type] || ItemID.Sets.IsChainsaw[this.type] || this.type == 1262)
{
this.useTime = (int)((double)this.useTime * 0.6);
if (this.useTime < 1)
{
this.useTime = 1;
}
this.useAnimation = (int)((double)this.useAnimation * 0.6);
if (this.useAnimation < 1)
{
this.useAnimation = 1;
}
this.tileBoost--;
}
Ferret 8 月 18 日 上午 8:44 
tl:dr the adamantite drill mines 12 blocks/s instead of 15 blocks/s like it should and all drills share this problem.
Ferret 8 月 18 日 上午 8:34 
I don't super know how the mining speed is represented in the code, but on the wiki, mining speed is how many ticks between each block damage, meaning that for a pickaxe with mining speed 4, it will mine a block of dirt every four ticks. the drill bug in this case, is that for a drill that ALSO has mining speed 4, it will instead mine a dirt every FIVE ticks, one more than it should be, making drills slower than they should be. You can test this if you like, make a pickaxe and drill have identical stats and observe the drill mine slower.
allen  [作者] 8 月 18 日 上午 1:14 
I just checked, and adamantite drill as an example has 15 use animation and 4 use time on the wiki, while its stats in terraria's code are 25 use animation and 8 use time. I know you said that drills are one use time slower than their listed mining speed in the code and on the wiki, but is that ontop of this?
allen  [作者] 8 月 18 日 上午 12:57 
I didn't know that, thanks!
Ferret 8 月 17 日 下午 8:49 
there is a drill bug actually! all vanilla drills mine at one mining speed slower than their listed mining speed in the code and on the wiki. this is besides their drill behavior of not being affected by buffs.
allen  [作者] 8 月 5 日 上午 2:19 
It’s not a bug, drills are designed to be at a fixed speed that is faster than that of pickaxes, but of course fail to do this.

My mod attempts to fix that by increasing drill speed by an extra 33% for vanilla drills and adding new drill counterparts to most vanilla pickaxes.
gooberone 8 月 4 日 下午 1:55 
Does this solve the code bug with the whole... drills being slower than they should be thing?
Экскалибур 7 月 8 日 上午 3:26 
Drill.