]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Magical contraband type (#35254)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Tue, 18 Feb 2025 00:21:49 +0000 (01:21 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Feb 2025 00:21:49 +0000 (01:21 +0100)
* init

* really ponderous

12 files changed:
Resources/Locale/en-US/contraband/contraband-severity.ftl
Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Resources/Prototypes/Entities/Clothing/Head/hats.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/misc.yml
Resources/Prototypes/Entities/Objects/Fun/toys.yml
Resources/Prototypes/Entities/Objects/Magic/books.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/base_staff.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/base_wand.yml
Resources/Prototypes/Entities/Objects/base_contraband.yml
Resources/Prototypes/Magic/staves.yml
Resources/Prototypes/contraband_severities.yml

index d79ecfa4b2d016c9ecbc96ae103d9fcaa5a4938c..10baf2cb25d26f5f5a8d3b67a56b9a355b5d8ad4 100644 (file)
@@ -4,6 +4,7 @@ contraband-examine-text-Restricted-department = [color=yellow]This item is restr
 contraband-examine-text-Major = [color=red]This item is considered major contraband.[/color]
 contraband-examine-text-GrandTheft = [color=red]This item is a highly valuable target for Syndicate agents![/color]
 contraband-examine-text-Syndicate = [color=crimson]This item is highly illegal Syndicate contraband![/color]
+contraband-examine-text-Magical = [color=#b337b3]This item is highly illegal Magical contraband![/color]
 
 contraband-examine-text-avoid-carrying-around = [color=red][italic]You probably want to avoid visibly carrying this around without a good reason.[/italic][/color]
 contraband-examine-text-in-the-clear = [color=green][italic]You should be in the clear to visibly carry this around.[/italic][/color]
index 19ff2f278f41434e9d24d61d35f7ad21e6dc1534..a70fe17ed6bcea4faa70a19d293d21b14e4596d2 100644 (file)
     sprite: Clothing/Belt/suspenders_black.rsi
 
 - type: entity
-  parent: ClothingBeltStorageBase
+  parent: [ ClothingBeltStorageBase, BaseMagicalContraband ]
   id: ClothingBeltWand
   name: wand belt
   description: A belt designed to hold various rods of power. A veritable fanny pack of exotic magic.
index 6c0d405b4df8ebd56598699e8a71b5b3033cc103..1e818226d5890b0370ca77571c7b8345bd66d7de 100644 (file)
 
 - type: entity
   abstract: true
-  parent: ClothingHeadBase
+  parent: [ ClothingHeadBase, BaseMagicalContraband ]
   id: ClothingHeadHatWizardBase
   components:
   - type: WizardClothes
index 4745bc8dbd756fe66c82cd537cb3611d048377d8..08ac6f32c0ba5cb6a5d4f96bb4ff9a2630151c67 100644 (file)
 
 #Wizard Hardsuit
 - type: entity
-  parent: ClothingOuterHardsuitBase
+  parent: [ ClothingOuterHardsuitBase, BaseMagicalContraband ]
   id: ClothingOuterHardsuitWizard
   name: wizard hardsuit
   description: A bizarre gem-encrusted suit that radiates magical energies.
index c8c83f9db80afafcbff5693e2cebc13f84f12cf3..41128530217878ff03f722284d65a02353f8a18a 100644 (file)
 
 - type: entity
   abstract: true
-  parent: ClothingOuterBase
+  parent: [ ClothingOuterBase, BaseMagicalContraband ]
   id: ClothingOuterWizardBase
   components:
   - type: WizardClothes
index d7cde640a4ec644fe705891b59276707d38e9210..eeb0fa6bffa380f06233335b09d7521484ff4213 100644 (file)
         volume: -10
 
 - type: entity
-  parent: BaseItem
+  parent: [ BaseItem, BaseMagicalContraband ]
   id: PonderingOrb
   name: pondering orb
   description: Ponderous, man... Really ponderous.
index d000f784290bb170c27f2f20ad59c2761e6a0b96..db604f92d39198e551b98cb74172a484d1e11066 100644 (file)
@@ -1,7 +1,7 @@
 - type: entity
   id: BaseSpellbook
   name: spellbook
-  parent: BaseItem
+  parent: [ BaseItem, BaseMagicalContraband ]
   abstract: true
   components:
     - type: Sprite
@@ -25,7 +25,7 @@
   id: WizardsGrimoire
   name: wizards grimoire
   suffix: Wizard
-  parent: [ BaseItem, StorePresetSpellbook ]
+  parent: [ BaseItem, StorePresetSpellbook, BaseMagicalContraband ]
   components:
     - type: Sprite
       sprite: Objects/Misc/books.rsi
index 9cab4cac25a4a318f9c2702d824a9bc612963ad2..0ce441d29126499641100cca8580744408f8ff92 100644 (file)
@@ -1,7 +1,7 @@
 - type: entity
   id: WeaponStaffBase
   abstract: true
-  parent: BaseItem
+  parent: [ BaseItem, BaseMagicalContraband ]
   components:
   - type: Sprite
     sprite: Objects/Weapons/Guns/Basic/staves.rsi
index c4a937ee2cd1b497b7bfac8bd3e680f3bb2bccb9..555a760c909a7a6b40f081932946ede4ab95c5ca 100644 (file)
@@ -1,7 +1,7 @@
 - type: entity
   id: WeaponWandBase
   abstract: true
-  parent: BaseItem
+  parent: [ BaseItem, BaseMagicalContraband ]
   components:
   - type: Sprite
     sprite: Objects/Weapons/Guns/Basic/wands.rsi
index 721780880775e50465c30bbb9026f8b7b6afd8b4..032218f8c0b7aa8730a9d93b6f31feac98637482 100644 (file)
@@ -1,4 +1,12 @@
-# non-stealth syndicate stuff
+# any type of magical items used by wizards and similiar
+- type: entity
+  id: BaseMagicalContraband
+  abstract: true
+  components:
+  - type: Contraband
+    severity: Magical
+
+# non-stealth syndicate stuff
 - type: entity
   id: BaseSyndicateContraband
   abstract: true
index ea42c47d18495c10196c97f5b1e46e4b6bc664ca..0582899495f16361ad74c874f91a6f7aae0714c8 100644 (file)
@@ -34,7 +34,7 @@
 
 - type: entity
   id: AnimationStaff
-  parent: BaseItem
+  parent: [ BaseItem, BaseMagicalContraband ]
   name: staff of animation
   description: Brings inanimate objects to life!
   components:
index c103af5e0a6a0d97bc079e0d69c71ffbb5251e9b..38349d9497210cf60e0000423464b15565a793cf 100644 (file)
@@ -25,3 +25,8 @@
 - type: contrabandSeverity
   id: Syndicate
   examineText: contraband-examine-text-Syndicate
+
+# This is magical contraband and not permitted to be used IC.
+- type: contrabandSeverity
+  id: Magical
+  examineText: contraband-examine-text-Magical