From df271f5ead4cfa453093d18675785361300fd10c Mon Sep 17 00:00:00 2001 From: lzk <124214523+lzk228@users.noreply.github.com> Date: Thu, 29 Feb 2024 23:34:11 +0100 Subject: [PATCH] Add handheld map to autolathe (#25719) --- .../Entities/Objects/Devices/station_map.yml | 10 ++++++++++ .../Prototypes/Entities/Structures/Machines/lathe.yml | 1 + Resources/Prototypes/Recipes/Lathes/misc.yml | 8 ++++++++ 3 files changed, 19 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Devices/station_map.yml b/Resources/Prototypes/Entities/Objects/Devices/station_map.yml index d048d44db5..c37d8935f3 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/station_map.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/station_map.yml @@ -43,6 +43,16 @@ useRate: 20 - type: ActivatableUIRequiresPowerCell +- type: entity + id: HandheldStationMapEmpty + parent: HandheldStationMap + suffix: Handheld, Empty + components: + - type: ItemSlots + slots: + cell_slot: + name: power-cell-slot-component-slot-name-default + - type: entity id: HandheldStationMapUnpowered parent: BaseHandheldStationMap diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index b42d9df5bb..e9a90729e5 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -160,6 +160,7 @@ - CellRechargerCircuitboard - BorgChargerCircuitboard - WeaponCapacitorRechargerCircuitboard + - HandheldStationMap - type: EmagLatheRecipes emagStaticRecipes: - CartridgePistol diff --git a/Resources/Prototypes/Recipes/Lathes/misc.yml b/Resources/Prototypes/Recipes/Lathes/misc.yml index 8b4b533283..f107e32155 100644 --- a/Resources/Prototypes/Recipes/Lathes/misc.yml +++ b/Resources/Prototypes/Recipes/Lathes/misc.yml @@ -170,3 +170,11 @@ completetime: 2 materials: Steel: 100 + +- type: latheRecipe + id: HandheldStationMap + result: HandheldStationMapEmpty + completetime: 2 + materials: + Steel: 300 + Plastic: 100 -- 2.51.2