From 793eb87f315fce1d04f9bbeca97a4907bc1ea0db Mon Sep 17 00:00:00 2001 From: PoorMansDreams <150595537+PoorMansDreams@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:50:55 -0700 Subject: [PATCH] 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 --- .../en-US/preferences/loadout-groups.ftl | 1 + .../Entities/Objects/Misc/dinkystar.yml | 19 +++++++++++++++++ .../Jobs/Security/security_officer.yml | 20 ++++++++++++++++++ .../Prototypes/Loadouts/loadout_groups.yml | 7 ++++++ .../Prototypes/Loadouts/role_loadouts.yml | 4 ++++ .../Clothing/Neck/Misc/dinkystar.rsi/icon.png | Bin 0 -> 230 bytes .../Neck/Misc/dinkystar.rsi/meta.json | 18 ++++++++++++++++ .../Neck/Misc/dinkystar.rsi/star-equipped.png | Bin 0 -> 195 bytes 8 files changed, 69 insertions(+) create mode 100644 Resources/Prototypes/Entities/Objects/Misc/dinkystar.yml create mode 100644 Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/icon.png create mode 100644 Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/meta.json create mode 100644 Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/star-equipped.png 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 0000000000000000000000000000000000000000..e078e5335991f8c942e26caae8a6b4d9f0fdf931 GIT binary patch literal 230 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCim11AIbU-{184|2**LWB(gRU4deY{&=ebDb|u8zu^Bs!0>w;UocRBv%n*= zn1O-sFbFdq&tH)O6!iCWaSXBWe|z>K7lQzg+rycA{~J$^{MJ9|(K$_}c(+Y2ncvzi zxWa!;GvS$nz?JVBHYctysQW))7yf(ekl@U$4|a^P>kN|Kh<$RE&p6-c!6@#`-?w&` RmJ`ru22WQ%mvv4FO#ly0P%{7k literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c56301c0f64e0b5fd8d5ceb6d6fbd89a87d38a50 GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O`1M1^9%xzQ5@UWUhbL8vvx3N`m}?|1&(@Zr}yvaTa()7BevL9R^{>