oxygentank subid missing

tim van aanholt shared this bug 4 days ago
Won't Fix

hi there

i just found a small issue while making a mod

the subID for the large gird small oxygen is missing and it needs it for the block restictions

it is a very easy fix

the problem is in: cubeblocks logistics line 164

tanks

Replies (2)

photo
1

Hello Engineer,

Thank you for reaching our forum with this issue.

We have added it into our internal system.

Kind Regards,

Keen Software House: QA Department

photo
1

Hello Engineer,

After discussing this issue internally, we would like to inform that the SubtypeId is not missing it is simply not defined in this case. The OxygenTank represents the base definition and, as such, does not have a SubtypeId because it is the defining type itself.

This can sometimes cause confusion when a script assumes that every definition contains both a TypeId and a SubtypeId. There are several other blocks that do not have a SubtypeId, and this is expected behavior. Scripters and modders should account for this possibility and fall back to using the TypeId when a SubtypeId is not defined.

At this time, we do not plan to change this behavior, as doing so could potentially break existing builds or scripts that rely on the current definition structure.

Thank you for your understanding.

Kind Regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file