]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
More ItemTogglePointLight fixes (#31655)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Sat, 31 Aug 2024 08:28:36 +0000 (10:28 +0200)
committerGitHub <noreply@github.com>
Sat, 31 Aug 2024 08:28:36 +0000 (18:28 +1000)
more ItemTogglePointLight fixes

Resources/Prototypes/Entities/Objects/Fun/toys.yml
Resources/Prototypes/Entities/Objects/Misc/arabianlamp.yml
Resources/Prototypes/Entities/Objects/Tools/lighters.yml
Resources/Prototypes/Entities/Objects/Tools/welders.yml

index 6ac158630f9e29f38af0fbf0dca610a2c2681038..0de4631b299f94f3a84417c53c3822490dff03b2 100644 (file)
         right:
           - state: inhand-right-blade
             shader: unshaded
+    - type: ItemTogglePointLight
     - type: DisarmMalus
       malus: 0
     - type: StaminaDamageOnHit
index a15e30fbc7207d3902356a310d77657ba175f653..791a0d09453e5ebd79b35ed8ef58828d7d69c041 100644 (file)
@@ -14,9 +14,9 @@
   - type: EntityStorage
     capacity: 1 # Its smol.
     itemCanStoreMobs: false #  just leaving this here explicitly since I know at some point someone will want to use this to hold a mob. This also prevents it from becoming His Grace.
-  # - type: StorageFill 
-    # contents: 
-      # - id: PuddleSparkle # Ha! Cute. Unfortunately it despawns before the container is likely to open. 
+  # - type: StorageFill
+    # contents:
+      # - id: PuddleSparkle # Ha! Cute. Unfortunately it despawns before the container is likely to open.
   - type: ContainerContainer
     containers:
       entity_storage: !type:Container
@@ -64,7 +64,7 @@
   - type: Sprite
     sprite: Objects/Misc/arabianlamp.rsi
     layers:
-    - state: lamp 
+    - state: lamp
       map: [ "enum.StorageVisualLayers.Base" ]
     - state: lamptop
       map: ["enum.StorageVisualLayers.Door"]
     netsync: false
     radius: 5
     color: orange
+  - type: ItemTogglePointLight
   - type: StaticPrice
     price: 1500
   - type: Prayable
     sentMessage: prayer-popup-notify-lamp-sent
     notificationPrefix: prayer-chat-notify-lamp
     verb: prayer-verbs-rub
-    verbImage: null
\ No newline at end of file
+    verbImage: null
index d03cc725efe5fdcb9a465fadbee1cb8d956d7e44..c35d67e7eb4adcea59c4e84731036a31c9572791 100644 (file)
@@ -87,6 +87,7 @@
     netsync: false
     radius: 1.1 #smallest possible
     color: orange
+  - type: ItemTogglePointLight
 
 - type: entity
   name: cheap lighter
     netsync: false
     radius: 1.2 #slightly stronger than the other lighters
     color: orange
+  - type: ItemTogglePointLight
   - type: UseDelay
   - type: IgnitionSource
     ignited: false
index cd188969b5325b0c1d6d07f0a498c404ea609fd6..197dca00ff86fadf82f96a7161227ec35afb96e1 100644 (file)
@@ -95,6 +95,7 @@
     radius: 1.5
     color: orange
     netsync: false
+  - type: ItemTogglePointLight
   - type: Appearance
   - type: RequiresEyeProtection
   - type: PhysicalComposition