transhumandesign / kag-base

King Arthur's Gold base folder.
258 stars 119 forks source link

Because of BuildBlock.temporaryBlob, enemy knight can't hit workshop, factory and workbench #1553

Open longwoodbow opened 1 year ago

longwoodbow commented 1 year ago

temporaryBlob is currently true. It gives built blob "temp blob" tag. The tag will be disappeared when placed if its normal blob, but if it's buildOnGround(e.g. workshop), it's not desappeared. It causes knight can't hit it because return false against "temp blob" in canHit().

Or don't need to hit it?

mugg91 commented 1 year ago

Couldn't confirm this. I built workbench and factory, switched team, went Knight and I'm able to hit and destroy the workbench and factory.

longwoodbow commented 1 year ago

Couldn't confirm this. I built workbench and factory, switched team, went Knight and I'm able to hit and destroy the workbench and factory.

did you play tth and build them using builder? this is also issue of builder's building system issue

longwoodbow commented 1 year ago

if this needs to be fixed, set temporaryBlob = false on CommonBuilderBuilding.as, or change BuilderCommon.as to don't add temp blob tag to buildOnGround type buildings. which should we?

mugg91 commented 1 year ago

Ah, it works when actually building it. But not when spawning it via command. I don't know about a solution since I have not looked into it.