Skip to content

Commit

Permalink
EFTPOS in Autolathe (#28205)
Browse files Browse the repository at this point in the history
* EFTPOS in Autolathe

* Make EFTPOSes recyclable.
  • Loading branch information
FunnyMan3595 authored Feb 10, 2025
1 parent 3ff6a92 commit 4e7b0e6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions code/modules/economy/economy_machinery/eftpos.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
icon = 'icons/obj/device.dmi'
icon_state = "eftpos"
w_class = WEIGHT_CLASS_SMALL
materials = list(MAT_METAL = 300, MAT_GLASS = 140)
/// Unique identifying name of this EFTPOS for transaction tracking in money accounts
var/machine_name = ""
/// Whether or not the EFTPOS is locked into a transaction
Expand Down Expand Up @@ -252,6 +253,7 @@
throw_range = 7
anchored = TRUE
w_class = WEIGHT_CLASS_BULKY
materials = list()
hitsound = 'sound/weapons/ringslam.ogg'
drop_sound = 'sound/items/handling/register_drop.ogg'
pickup_sound = 'sound/items/handling/toolbox_pickup.ogg'
Expand Down
9 changes: 9 additions & 0 deletions code/modules/research/designs/autolathe_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
build_path = /obj/item/clothing/ears/earmuffs
category = list("initial", "Miscellaneous")

/datum/design/painter
name = "Modular Painter"
id = "mod_painter"
Expand All @@ -194,6 +195,14 @@
build_path = /obj/item/painter
category = list("initial", "Miscellaneous")

/datum/design/eftpos
name = "EFTPOS"
id = "eftpos"
build_type = AUTOLATHE
materials = list(MAT_METAL = 300, MAT_GLASS = 140)
build_path = /obj/item/eftpos
category = list("initial","Miscellaneous")

/datum/design/metal
name = "Metal"
id = "metal"
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/Autolathe.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const Autolathe = (props, context) => {
})
}
>
{toTitleCase(recipe.name)}
{recipe.name}
</Button>
{recipe.max_multiplier >= 10 && (
<Button
Expand Down
2 changes: 1 addition & 1 deletion tgui/public/tgui.bundle.js

Large diffs are not rendered by default.

0 comments on commit 4e7b0e6

Please sign in to comment.