]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds a Dinky Star Sticker for security officers (#29767)
authorPoorMansDreams <150595537+PoorMansDreams@users.noreply.github.com>
Thu, 15 Aug 2024 01:50:55 +0000 (18:50 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2024 01:50:55 +0000 (11:50 +1000)
* Sec-Star-TASTIC

* fix license

* now counts as trash

* Sticks to people + wearable

* no more sticky

* no more sticky

* mystery-space

* Update Loadout Yaml

Resources/Locale/en-US/preferences/loadout-groups.ftl
Resources/Prototypes/Entities/Objects/Misc/dinkystar.yml [new file with mode: 0644]
Resources/Prototypes/Loadouts/Jobs/Security/security_officer.yml
Resources/Prototypes/Loadouts/loadout_groups.yml
Resources/Prototypes/Loadouts/role_loadouts.yml
Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/star-equipped.png [new file with mode: 0644]

index 98ecb2cbfb570af88429bd593cf0551c0bc9a193..84738eadec22a910c0792dd0d1b0ed4139ccdf07 100644 (file)
@@ -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 (file)
index 0000000..7703cf2
--- /dev/null
@@ -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
index d408c24b605ec850fa19c9ce243f726332cedf24..e479d822dd26600827a34d5b20c354928cbf823c 100644 (file)
       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
     proto: SeniorOfficer
   equipment:
     id: SeniorOfficerPDA
+
+# Misc
+- type: loadout
+  id: SecStar
+  effects:
+  - !type:GroupLoadoutEffect
+    proto: SecurityStarWorthy
+  storage:
+    back:
+    - Dinkystar
index f23a0ce0a724331fd6af8a404c767a57d417ae07..da49a16ed278d3b7aa031527158988522b9016cc 100644 (file)
   - EmergencyOxygenSecurity
   - LoadoutSpeciesVoxNitrogen
 
+- type: loadoutGroup
+  id: SecurityStar
+  name: loadout-group-security-star
+  minLimit: 0
+  loadouts:
+  - SecStar
+
 # Medical
 - type: loadoutGroup
   id: ChiefMedicalOfficerHead
index 5c1616a33db3f8e6725590a78c53109576c9495e..4a6ca604264cfb8cd333a0bc85391fc3b2ce506d 100644 (file)
   - SecurityShoes
   - SurvivalSecurity
   - Trinkets
+  - SecurityStar
   - GroupSpeciesBreathToolSecurity
 
 - type: roleLoadout
   - SecurityShoes
   - SurvivalSecurity
   - Trinkets
+  - SecurityStar
   - GroupSpeciesBreathToolSecurity
 
 - type: roleLoadout
   - SecurityBelt
   - SurvivalSecurity
   - Trinkets
+  - SecurityStar
   - GroupSpeciesBreathToolSecurity
 
 - type: roleLoadout
   - 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 (file)
index 0000000..e078e53
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 (file)
index 0000000..ae8a214
--- /dev/null
@@ -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 (file)
index 0000000..c56301c
Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Misc/dinkystar.rsi/star-equipped.png differ