From 494024d2465dc65cef5d33c3ffbeb6f1d0a5b186 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Sat, 31 Aug 2024 10:28:36 +0200 Subject: [PATCH] More ItemTogglePointLight fixes (#31655) more ItemTogglePointLight fixes --- Resources/Prototypes/Entities/Objects/Fun/toys.yml | 1 + .../Prototypes/Entities/Objects/Misc/arabianlamp.yml | 11 ++++++----- .../Prototypes/Entities/Objects/Tools/lighters.yml | 2 ++ .../Prototypes/Entities/Objects/Tools/welders.yml | 1 + 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Fun/toys.yml b/Resources/Prototypes/Entities/Objects/Fun/toys.yml index 6ac158630f..0de4631b29 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/toys.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/toys.yml @@ -1268,6 +1268,7 @@ right: - state: inhand-right-blade shader: unshaded + - type: ItemTogglePointLight - type: DisarmMalus malus: 0 - type: StaminaDamageOnHit diff --git a/Resources/Prototypes/Entities/Objects/Misc/arabianlamp.yml b/Resources/Prototypes/Entities/Objects/Misc/arabianlamp.yml index a15e30fbc7..791a0d0945 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/arabianlamp.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/arabianlamp.yml @@ -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"] @@ -130,10 +130,11 @@ 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 diff --git a/Resources/Prototypes/Entities/Objects/Tools/lighters.yml b/Resources/Prototypes/Entities/Objects/Tools/lighters.yml index d03cc725ef..c35d67e7eb 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/lighters.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/lighters.yml @@ -87,6 +87,7 @@ netsync: false radius: 1.1 #smallest possible color: orange + - type: ItemTogglePointLight - type: entity name: cheap lighter @@ -205,6 +206,7 @@ netsync: false radius: 1.2 #slightly stronger than the other lighters color: orange + - type: ItemTogglePointLight - type: UseDelay - type: IgnitionSource ignited: false diff --git a/Resources/Prototypes/Entities/Objects/Tools/welders.yml b/Resources/Prototypes/Entities/Objects/Tools/welders.yml index cd188969b5..197dca00ff 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/welders.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/welders.yml @@ -95,6 +95,7 @@ radius: 1.5 color: orange netsync: false + - type: ItemTogglePointLight - type: Appearance - type: RequiresEyeProtection - type: PhysicalComposition -- 2.51.2