MerlinofMines / EasyCommands

Github Repository for Ingame Scripts built by MerlinofMines. Uses MDK to Deploy to SpaceEngineerse
GNU General Public License v3.0
8 stars 3 forks source link

Add search light support #227

Closed MerlinofMines closed 2 years ago

MerlinofMines commented 2 years ago

This PR adds support for Searchlights, which the exception of a couple of properties (target options, blink offset) which can be added in the future, hopefully once we have multi-property support and ideally they model searchlight.

This PR also consolidates SubType BLockHandlers to remove duplicated logic for BlockDefinition lookup.

Lastly, this PR splits "Radius" and "Range" properties, while keeping existing block handlers backwards compatible by supporting both properties on affected blocks.

This PR resolves #205