mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* CustomBulletRenderer * CustomIconStatusControl * custom ammo counter system * custom sprite ammo counter comp * client custom ammo counter system * need to register the component * have tiles show in the ammo counter for the tile gun * comment * more sprites * dont try to make 2 controls * update mini tile sprite * add horizontal mult * remove horizontal mult and fix the math * ensure there is no errors * replace magical number * simpler to understand * remove unecessary stuff * remove HasComp<CustomSpriteAmmoCounterComponent * forgot those * add important stuff back * explanation * damn, so simple * make it better * use item instead of icon * remove useless comment * set number of rows * fix odd number * component to hide the name * update ammo capacity * set the aligment to vertical * add 2 px of margin * move the margin up (that fixes things somehow) * comment good
11 lines
340 B
C#
11 lines
340 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Inventory;
|
|
|
|
/// <summary>
|
|
/// Makes so a item doesn't show the item name in the hand UI
|
|
/// Also centers the vertical alignment of the item status panel
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class BlockItemNameInHandComponent : Component;
|
|
|