robotex140 / Hydrocraft

25 stars 39 forks source link

Bug in Cats.txt #35

Closed lanceris closed 2 years ago

lanceris commented 2 years ago

While working on Craft Helper stuff, I've found an error in this script (second to last entry)

https://github.com/robotex140/Hydrocraft/blob/466da3a87ecd060bbf62bd58e18af0bb0f69ef13/Contents/mods/Hydrocraft/media/scripts/Cats.txt#L251

I think possible fix is to change Hydrocraft.HCCatwhitemale to HCCatwhitemale

Yell420 commented 2 years ago

this seems to be a bigger issue.... HCCatwhitemale exists in Cats.txt but does not appear to be an item that can be spawned.. it doesnt exist for some reason. image

Yell420 commented 2 years ago

image

to give devs an idea, this is what the actual name appears to be, i havnt figured out how to correct it yet.

HugoQwerty commented 2 years ago

Weird, maybe try deleting the HCCatwhilemale entry in cats.txt and seeing if HCCatwhale disappears too?

lanceris commented 2 years ago

Just a wild guess, seems like item got removed from HCCatWhitemale during parsing, try to rename to smth without item in name

lanceris commented 2 years ago

Lol yeah, thats the case (from decompiled pz source), so basically during script parsing the game replaces "item" with empty string, e.g item HCCatwhitemale becomes HCCatwhale after parsing image

lanceris commented 2 years ago

Same goes for all other blocks (recipe, fixing etc)