Implanter draw rework (#32136)

* Initial commit

* Clean-up

* Fix ftl, new damage

* ftl fix for real

* Updates based on feedback

* Child implant fix

* Make the UI only open when implanter is in draw mode

* Review fixes

* shunting
This commit is contained in:
SlamBamActionman
2025-02-27 18:57:28 +01:00
committed by GitHub
parent 5fdf702e3c
commit 41c51e2905
11 changed files with 396 additions and 36 deletions

View File

@@ -2,7 +2,7 @@
- type: entity
name: implanter
description: A syringe exclusively designed for the injection and extraction of subdermal implants.
description: A syringe exclusively designed for the injection and extraction of subdermal implants. Use care when extracting implants, as incorrect draw settings may injure the user.
id: BaseImplanter
parent: BaseItem
abstract: true
@@ -28,6 +28,27 @@
whitelist:
tags:
- SubdermalImplant
allowDeimplantAll: false
deimplantWhitelist:
- SadTromboneImplant
- LightImplant
- BikeHornImplant
- TrackingImplant
- StorageImplant
- FreedomImplant
- UplinkImplant
- EmpImplant
- ScramImplant
- DnaScramblerImplant
- MicroBombImplant
- MacroBombImplant
- DeathAcidifierImplant
- DeathRattleImplant
- MindShieldImplant
deimplantFailureDamage:
types:
Cellular: 50
Heat: 10
- type: Sprite
sprite: Objects/Specific/Medical/implanter.rsi
state: implanter0
@@ -53,6 +74,10 @@
implantOnly:
True: {state: broken}
False: {state: implanter0}
- type: UserInterface
interfaces:
enum.DeimplantUiKey.Key:
type: DeimplantBoundUserInterface
- type: entity
id: Implanter