stackcollision / GardenConquest

A new conquest game mode for Space Engineers
6 stars 7 forks source link

BlockType.appliesToBlock should only look over subtypenames, not typeId too #124

Open zrisher opened 9 years ago

zrisher commented 9 years ago

Currently, when we provide a block subtype name for a BlockType, BlockType.appliesToBlock in https://github.com/stackcollision/GardenConquest/blob/master/Data/Scripts/GardenConquest/Records/BlockType.cs will match it against not just the subtype but the block type too. Either we need to ensure we just match subtypes, or we need to redefine the default limits to more directly target the subtypes (i.e. "refinery").

togosh commented 9 years ago

+1