Typos/Extra Characters in SBC files

Epsilon Moonshade shared this bug 15 hours ago
Submitted

This isn't strictly a breaking bug, but it's causing me some fuss with a mod I'm making.

In CubeBlocks_Fieldwork.sbc, LargeBlockLabDoor and LargeBlockLabDoorInv have the following line:

<Component Subtype="Motor" Count="2" />s

(note the extra "s" there at the end, after the end of the tag)


Additionally, in CubeBlocks_Symbols.sbc, there's the following localization key for the description of SmallSymbolUnderscore:

<Description>Description_Symbol</Description>


This key doesn't appear to exist - all other entries are using "Description_Symbols" rather than "Description_Symbol"

Replies (2)

photo
1

I'll just keep a running tab as I find them. :)

CubeBlocks_ContactPack has the following issue:

SmallBlockKitchenCoffeeMachine has two entries for BuildTimeSeconds:

<BuildTimeSeconds>8</BuildTimeSeconds>

<BuildTimeSeconds>6</BuildTimeSeconds>

photo
2

There's some declaration bugs too, like in ContainerTypes.sbc:

                <Item AmountMin="1" AmountMax="1">
                    <Frequency>2</Frequency>
                    <Id>
                        <TypeId>PhysicalGunObject</TypeId>
                        <SubtypeId>FullAutoPistolItem</SubtypeId>
                    </Id>
                    <Id>
                        <TypeId>AmmoMagazine</TypeId>
                        <SubtypeId>FullAutoPistolMagazine</SubtypeId>
                    </Id>
                </Item>
It can't work with 2 <Id> there so only one of them would actually function.


I've attached a file with the errors from a plugin that I used to read the game sbc files and hooking the error events, there's a lot of inexistent stuff but some might be actual duplicates which would be bugs like the one above, up to you guys which deem fixing :P

Leave a Comment
 
Attach a file
You can't vote. Please authorize!