mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* 1 * 2 * remove dismantle testing changes * add ammount handling, and add random angle * code-side things * code-side things * code-side things * 3 * 4 * 5 * 6 * changed description for now * whoops * 7 * 8 * 9 * Texture fix * Tada! I diiid iiitttt * Delete .icon.png-autosave.kra * 10 * test another * 11 * Localization fixes 2 Also some minor rebalancing of armor/shield/helmet crafting * ROOOUND 33333 * test wawa * wiz * fixes * MORE FIXES * MORE MORE FIXES * Smg mag fix * Why does it have reflet Removed reflect chance and made the damage the same as a plasteel arming sword * belt fix * phosphorus addition * improvised round bulk crafting * Update tags * tags update 2 * Update tags.yml * fix tags AGAIN * TAG FIX AGAIN * Fixed the sound path * Fixed missing components hopefully * fix it hopefully * Update tidebreaker.yml * fixed errors * fixed? * Update shields.yml * Update tools.yml * Fixes * Update tools.yml * Update tools.yml * Update tools.yml * Update tools.yml * Update tools.yml * screwdriver fix 200 * Update tools.yml * Update tools.yml * Apply suggestions from code review Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update SharedItemSwitchSystem.cs * review changes * Fix server and client files * Namespace fixes. * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Entities/Objects/Tools/crowbars.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Entities/Objects/Tools/tools.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Entities/Objects/Tools/tools.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Entities/Objects/Tools/tools.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Entities/Objects/Tools/tools.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Clothing/Belt/belts.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Recipes/Crafting/Graphs/improvised/improvised_omnitool.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Recipes/Crafting/Graphs/improvised/improvised_omnitool.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Recipes/Crafting/Graphs/improvised/improvised_omnitool.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/Recipes/Crafting/Graphs/improvised/improvised_omnitool.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_StarLight/tags.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update SharedWeaponDismantleOnShootSystem.cs * Update Resources/Prototypes/Recipes/Crafting/Graphs/improvised/improvised_shotgun_shell.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_DV/Entities/Objects/Weapons/Guns/Ammunition/Boxes/improvised.yml Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> --------- Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> Co-authored-by: KillerTheFlareon <tyler443344@outlook.com> Co-authored-by: Matthew Herber <matthewherber@sbcglobal.net> Co-authored-by: Athena-AI <AthenaTheAI@outlook.com> Co-authored-by: stickycheZ101 <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> Co-authored-by: stickycheZ101 <96800602+stickycheZ101@users.noreply.github.com> Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Co-authored-by: Vanessa <vanessalouwagie@gmail.com>
96 lines
4.1 KiB
C#
96 lines
4.1 KiB
C#
using Robust.Shared.Serialization;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Verbs
|
|
{
|
|
/// <summary>
|
|
/// Contains combined name and icon information for a verb category.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class VerbCategory
|
|
{
|
|
public readonly string Text;
|
|
|
|
public readonly SpriteSpecifier? Icon;
|
|
|
|
/// <summary>
|
|
/// Columns for the grid layout that shows the verbs in this category. If <see cref="IconsOnly"/> is false,
|
|
/// this should very likely be set to 1.
|
|
/// </summary>
|
|
public int Columns = 1;
|
|
|
|
/// <summary>
|
|
/// If true, the members of this verb category will be shown in the context menu as a row of icons without
|
|
/// any text.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// For example, the 'Rotate' category simply shows two icons for rotating left and right.
|
|
/// </remarks>
|
|
public readonly bool IconsOnly;
|
|
|
|
public VerbCategory(string text, string? icon, bool iconsOnly = false)
|
|
{
|
|
Text = Loc.GetString(text);
|
|
Icon = icon == null ? null : new SpriteSpecifier.Texture(new(icon));
|
|
IconsOnly = iconsOnly;
|
|
}
|
|
|
|
public static readonly VerbCategory Admin =
|
|
new("verb-categories-admin", "/Textures/Interface/character.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Antag =
|
|
new("verb-categories-antag", "/Textures/Interface/VerbIcons/antag-e_sword-temp.192dpi.png", iconsOnly: true) { Columns = 5 };
|
|
|
|
public static readonly VerbCategory Examine =
|
|
new("verb-categories-examine", "/Textures/Interface/VerbIcons/examine.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Debug =
|
|
new("verb-categories-debug", "/Textures/Interface/VerbIcons/debug.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Eject =
|
|
new("verb-categories-eject", "/Textures/Interface/VerbIcons/eject.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Insert =
|
|
new("verb-categories-insert", "/Textures/Interface/VerbIcons/insert.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Buckle =
|
|
new("verb-categories-buckle", "/Textures/Interface/VerbIcons/buckle.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Unbuckle =
|
|
new("verb-categories-unbuckle", "/Textures/Interface/VerbIcons/unbuckle.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Rotate =
|
|
new("verb-categories-rotate", "/Textures/Interface/VerbIcons/refresh.svg.192dpi.png", iconsOnly: true) { Columns = 5 };
|
|
|
|
public static readonly VerbCategory Smite =
|
|
new("verb-categories-smite", "/Textures/Interface/VerbIcons/smite.svg.192dpi.png", iconsOnly: true) { Columns = 6 };
|
|
public static readonly VerbCategory Tricks =
|
|
new("verb-categories-tricks", "/Textures/Interface/AdminActions/tricks.png", iconsOnly: true) { Columns = 5 };
|
|
|
|
public static readonly VerbCategory SetTransferAmount =
|
|
new("verb-categories-transfer", "/Textures/Interface/VerbIcons/spill.svg.192dpi.png");
|
|
|
|
public static readonly VerbCategory Split =
|
|
new("verb-categories-split", null);
|
|
|
|
public static readonly VerbCategory InstrumentStyle =
|
|
new("verb-categories-instrument-style", null);
|
|
|
|
public static readonly VerbCategory ChannelSelect = new("verb-categories-channel-select", null);
|
|
|
|
public static readonly VerbCategory SetSensor = new("verb-categories-set-sensor", null);
|
|
|
|
public static readonly VerbCategory Lever = new("verb-categories-lever", null);
|
|
|
|
public static readonly VerbCategory SelectType = new("verb-categories-select-type", null);
|
|
|
|
public static readonly VerbCategory PowerLevel = new("verb-categories-power-level", null);
|
|
|
|
public static readonly VerbCategory Adjust =
|
|
new("verb-categories-adjust", "/Textures/Interface/VerbIcons/screwdriver.png");
|
|
|
|
// Used by Starlight item switching verbs
|
|
public static readonly VerbCategory Switch = new("verb-categories-switch", null);
|
|
}
|
|
}
|