Light replacer (#3701)

* Add graphics

* Barebone light replacer

* Now light replacer stores bulbs

* More interactions

* Added text messages

* Better light refil

* Add light replacer to locker and lathe

* Added sound

* Fixed ignore error

* Better inhand

* You don't like this commas?

* Fixed typo

* Deferring spawning

* Moved interaction logic to system

Co-authored-by: Alex Evgrashin <evgrashin.adl@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Alex Evgrashin
2021-04-08 16:28:06 +04:00
committed by GitHub
parent c7482140e1
commit cfe427eb8c
14 changed files with 335 additions and 9 deletions

View File

@@ -266,3 +266,24 @@
quickInsert: true
areaInsert: true
storageSoundCollection: trashBagRustle
- type: entity
parent: BaseItem
name: light replacer
id: LightReplacer
description: An item which uses magnets to easily replace broken lights.
components:
- type: Sprite
sprite: Objects/Specific/Janitorial/light_replacer.rsi
state: icon
- type: Item
sprite: Objects/Specific/Janitorial/light_replacer.rsi
- type: LightReplacer
contents:
- name: LightTube
amount: 8
type: Tube
- name: LightBulb
amount: 5
type: Bulb