[Feat] Внешний вид и название канистр можно изменить прямо в игре (#317)

* feat: Теперь можно менять внешний вид канистр газов

* fix: русский язык (я его не знаю)
This commit is contained in:
Remuchi
2024-05-30 21:28:53 +07:00
committed by GitHub
parent 26c7788d9b
commit d4be4d3445
10 changed files with 353 additions and 1 deletions

View File

@@ -0,0 +1 @@
polymorphable-canister-change-appearance-verb = Change appearance

View File

@@ -0,0 +1 @@
polymorphable-canister-change-appearance-verb = Перекрасить

View File

@@ -34,10 +34,12 @@
1: { state: can-o1, shader: "unshaded" }
2: { state: can-o2, shader: "unshaded" }
3: { state: can-o3, shader: "unshaded" }
- type: UserInterface
- type: UserInterface # WhiteDream - Added PolymorphableCanisterUiKey
interfaces:
- key: enum.GasCanisterUiKey.Key
type: GasCanisterBoundUserInterface
- key: enum.PolymorphableCanisterUiKey.Key
type: PolymorphableCanisterBUI
- type: Destructible
thresholds:
- trigger:
@@ -104,6 +106,7 @@
access: [["Atmospherics"], ["Engineering"], ["Research"]]
- type: Lock
locked: false
- type: PolymorphableCanister # WhiteDream
- type: entity
parent: GasCanister