From: PoorMansDreams <150595537+PoorMansDreams@users.noreply.github.com> Date: Thu, 15 Aug 2024 01:50:55 +0000 (-0700) Subject: Adds a Dinky Star Sticker for security officers (#29767) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=793eb87f315fce1d04f9bbeca97a4907bc1ea0db;p=space-station-14.git Adds a Dinky Star Sticker for security officers (#29767) * Sec-Star-TASTIC * fix license * now counts as trash * Sticks to people + wearable * no more sticky * no more sticky * mystery-space * Update Loadout Yaml --- diff --git a/Resources/Locale/en-US/preferences/loadout-groups.ftl b/Resources/Locale/en-US/preferences/loadout-groups.ftl index 98ecb2cbfb..84738eadec 100644 --- a/Resources/Locale/en-US/preferences/loadout-groups.ftl +++ b/Resources/Locale/en-US/preferences/loadout-groups.ftl @@ -163,6 +163,7 @@ loadout-group-detective-jumpsuit = Detective jumpsuit loadout-group-detective-outerclothing = Detective outer clothing loadout-group-security-cadet-jumpsuit = Security cadet jumpsuit +loadout-group-security-star = Security Star # Medical loadout-group-medical-gloves = Medical gloves diff --git a/Resources/Prototypes/Entities/Objects/Misc/dinkystar.yml b/Resources/Prototypes/Entities/Objects/Misc/dinkystar.yml new file mode 100644 index 0000000000..7703cf2eea --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Misc/dinkystar.yml @@ -0,0 +1,19 @@ +- type: entity + parent: ClothingNeckBase + id: Dinkystar + name: star sticker + description: A dinky lil star for only the hardest working security officers! It's not even sticky anymore. + components: + - type: Sprite + sprite: Clothing/Neck/Misc/dinkystar.rsi + state: icon + - type: Clothing + sprite: Clothing/Neck/Misc/dinkystar.rsi + clothingVisuals: + neck: + - state: star-equipped + - type: Item + size: Tiny + - type: Tag + tags: + - Trash diff --git a/Resources/Prototypes/Loadouts/Jobs/Security/security_officer.yml b/Resources/Prototypes/Loadouts/Jobs/Security/security_officer.yml index d408c24b60..e479d822dd 100644 --- a/Resources/Prototypes/Loadouts/Jobs/Security/security_officer.yml +++ b/Resources/Prototypes/Loadouts/Jobs/Security/security_officer.yml @@ -13,6 +13,16 @@ department: Security time: 216000 # 60 hrs +#Security Star +- type: loadoutEffectGroup + id: SecurityStarWorthy + effects: + - !type:JobRequirementLoadoutEffect + requirement: + !type:DepartmentTimeRequirement + department: Security + time: 360000 #100 hrs + # Head - type: loadout id: SecurityHelmet @@ -138,3 +148,13 @@ proto: SeniorOfficer equipment: id: SeniorOfficerPDA + +# Misc +- type: loadout + id: SecStar + effects: + - !type:GroupLoadoutEffect + proto: SecurityStarWorthy + storage: + back: + - Dinkystar diff --git a/Resources/Prototypes/Loadouts/loadout_groups.yml b/Resources/Prototypes/Loadouts/loadout_groups.yml index f23a0ce0a7..da49a16ed2 100644 --- a/Resources/Prototypes/Loadouts/loadout_groups.yml +++ b/Resources/Prototypes/Loadouts/loadout_groups.yml @@ -1043,6 +1043,13 @@ - EmergencyOxygenSecurity - LoadoutSpeciesVoxNitrogen +- type: loadoutGroup + id: SecurityStar + name: loadout-group-security-star + minLimit: 0 + loadouts: + - SecStar + # Medical - type: loadoutGroup id: ChiefMedicalOfficerHead diff --git a/Resources/Prototypes/Loadouts/role_loadouts.yml b/Resources/Prototypes/Loadouts/role_loadouts.yml index 5c1616a33d..4a6ca60426 100644 --- a/Resources/Prototypes/Loadouts/role_loadouts.yml +++ b/Resources/Prototypes/Loadouts/role_loadouts.yml @@ -336,6 +336,7 @@ - SecurityShoes - SurvivalSecurity - Trinkets + - SecurityStar - GroupSpeciesBreathToolSecurity - type: roleLoadout @@ -349,6 +350,7 @@ - SecurityShoes - SurvivalSecurity - Trinkets + - SecurityStar - GroupSpeciesBreathToolSecurity - type: roleLoadout @@ -363,6 +365,7 @@ - SecurityBelt - SurvivalSecurity - Trinkets + - SecurityStar - GroupSpeciesBreathToolSecurity - type: roleLoadout @@ -377,6 +380,7 @@ - SecurityShoes - SurvivalSecurity - Trinkets + - SecurityStar - GroupSpeciesBreathToolSecurity - type: roleLoadout diff --git a/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/icon.png b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/icon.png new file mode 100644 index 0000000000..e078e53359 Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/meta.json b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/meta.json new file mode 100644 index 0000000000..ae8a2141db --- /dev/null +++ b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/meta.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "license": "CC0-1.0", + "copyright": "Created by PoorMansDreams", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "star-equipped", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/star-equipped.png b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/star-equipped.png new file mode 100644 index 0000000000..c56301c0f6 Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/star-equipped.png differ