Doctor Who - Regeneration

Doctor Who - Regeneration

318k Downloads

[BUG] Can't get CraftTweaker to refill the Watch.

DestinyPlayer opened this issue ยท 7 comments

commented

Describe the bug
Basically, I tried to add a script that would let me refill the Watch with filled up vials. But for some reason, the game refuses to recognize the Fob Watch when I try to actually do it in-game. It says nothing, no logs or anything, it just refuses to do it and doesn't show the result.

To Reproduce
Steps to reproduce the behavior:

  1. Install CraftTweaker and Regeneration together.
  2. Put this script into the Scripts folder https://paste.dimdev.org/danezafoga.cs
  3. Try to craft a Fob Watch with no lives and a filled Lindos Vial together
  4. See the issue

Expected behavior
The script should allow me to alter the damage value of the Watch to add more lives to it

Screenshots

Additional context
Forge - 14.23.5.2847
CraftTweaker - 1.12-4.1.20
Regeneration - 1.12.2-2.0.7

commented

Oh Jeez, I forgot to reply to this a long time ago
Sorry for the wait on this, have you attempted disabling craftWithRegens in the config?

More information can be found here
https://github.com/Swirtzly/Regeneration/blob/c6778b6b84389b8ba9ab282724e7092efa174433/src/main/java/me/swirtzly/regeneration/common/item/ItemFobWatch.java#L76-L79

It should fix your issue perfectly, so for now I will close this, if this issue persists, feel free to re-open :)

commented

I am fairly sure that I tried that and it didn't work back then, once I get home I'll see and check it again, just in case.

commented

Alrighty my guy

commented

Yeah, disabling it doesn't help. In fact it's been disabled since the moment I posted this Issue. And yes, I have tested both, neither seems to work.

commented

Odd, re-opening

commented

This may work now, if it doesn't, there doesn't seem to be much more I can do.

commented

Can confirm, it now seems to work. Here's the end result script.
https://paste.dimdev.org/ceyeviceki.cs