BeeStation-Hornet icon indicating copy to clipboard operation
BeeStation-Hornet copied to clipboard

Radio jammer component

Open PowerfulBacon opened this issue 2 years ago • 2 comments

About The Pull Request

Converts radio jamming to a component.

Why It's Good For The Game

This provides no player facing changes. This allows coders to create devices which act as radio jammers without requiring them to be a subtype of /obj/item/jammer. Requiring subtypes for functionalitites is bad, since if you have 2 things that work this way, you cannot create an item that combines the functionality of both without duplicating code, which is bad for maintainability.

Testing Photographs and Procedure

image Fixed the message being inverted

Changelog

:cl: refactor: Radio jamming is now component based. (No player facing changes.) /:cl:

PowerfulBacon avatar Oct 02 '22 11:10 PowerfulBacon

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Oct 02 '22 18:10 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Oct 05 '22 01:10 github-actions[bot]

The same was you pass parameters to any component AddComponent(/datum/component/whatever, 50)

PowerfulBacon avatar Oct 09 '22 10:10 PowerfulBacon