More ItemTogglePointLight fixes (#31655)

more ItemTogglePointLight fixes
This commit is contained in:
slarticodefast 2024-08-31 10:28:36 +02:00 committed by deltanedas
parent 7890479d39
commit 9f33d7b77c
4 changed files with 10 additions and 5 deletions

View File

@ -1275,6 +1275,7 @@
right:
- state: inhand-right-blade
shader: unshaded
- type: ItemTogglePointLight
- type: DisarmMalus
malus: 0
- type: StaminaDamageOnHit

View 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"]
@ -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
verbImage: null

View File

@ -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

View File

@ -95,6 +95,7 @@
radius: 1.5
color: orange
netsync: false
- type: ItemTogglePointLight
- type: Appearance
- type: RequiresEyeProtection
- type: PhysicalComposition