Makes material costs use sheets amount define (#19584)

* Material defines

* Move these

* Food sytnhetizer

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Guti
2026-07-09 18:24:13 -04:00
committed by GitHub
co-authored by Kashargul
parent 9c580c4558
commit e9d2322565
157 changed files with 1315 additions and 1311 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
icon = 'icons/obj/assemblies/new_assemblies.dmi'
icon_state = ""
w_class = ITEMSIZE_SMALL
matter = list(MAT_STEEL = 100)
matter = list(MAT_STEEL = MATERIAL_COST(0.05))
throwforce = 2
throw_speed = 3
throw_range = 10
+1 -1
View File
@@ -2,7 +2,7 @@
name = "igniter"
desc = "A small electronic device able to ignite combustable substances."
icon_state = "igniter"
matter = list(MAT_STEEL = 500, MAT_GLASS = 50)
matter = list(MAT_STEEL = MATERIAL_COST(0.25), MAT_GLASS = MATERIAL_COST(0.025))
secured = 1
wires = WIRE_RECEIVE
+1 -1
View File
@@ -4,7 +4,7 @@
name = "infrared emitter"
desc = "Emits a visible or invisible beam and is triggered when the beam is interrupted."
icon_state = "infrared"
matter = list(MAT_STEEL = 1000, MAT_GLASS = 500)
matter = list(MAT_STEEL = MATERIAL_COST(0.5), MAT_GLASS = MATERIAL_COST(0.25))
wires = WIRE_PULSE
+1 -1
View File
@@ -2,7 +2,7 @@
name = "mousetrap"
desc = "A handy little spring-loaded trap for catching pesty rodents."
icon_state = "mousetrap"
matter = list(MAT_STEEL = 100)
matter = list(MAT_STEEL = MATERIAL_COST(0.05))
var/armed = 0
special_handling = TRUE
+1 -1
View File
@@ -2,7 +2,7 @@
name = "proximity sensor"
desc = "Used for scanning and alerting when someone enters a certain proximity."
icon_state = "prox"
matter = list(MAT_STEEL = 800, MAT_GLASS = 200)
matter = list(MAT_STEEL = MATERIAL_COST(0.4), MAT_GLASS = MATERIAL_COST(0.1))
wires = WIRE_PULSE
secured = 0
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "Used to remotely activate devices. Tap against another secured signaler to transfer configuration."
icon_state = "signaller"
item_state = "signaler"
matter = list(MAT_STEEL = 1000, MAT_GLASS = 200)
matter = list(MAT_STEEL = MATERIAL_COST(0.5), MAT_GLASS = MATERIAL_COST(0.1))
wires = WIRE_RECEIVE | WIRE_PULSE | WIRE_RADIO_PULSE | WIRE_RADIO_RECEIVE
secured = TRUE
+1 -1
View File
@@ -2,7 +2,7 @@
name = "timer"
desc = "Used to time things. Works well with contraptions which has to count down. Tick tock."
icon_state = "timer"
matter = list(MAT_STEEL = 500, MAT_GLASS = 50)
matter = list(MAT_STEEL = MATERIAL_COST(0.25), MAT_GLASS = MATERIAL_COST(0.025))
wires = WIRE_PULSE
+1 -1
View File
@@ -2,7 +2,7 @@
name = "voice analyzer"
desc = "A small electronic device able to record a voice sample, and send a signal when that sample is repeated."
icon_state = "voice"
matter = list(MAT_STEEL = 500, MAT_GLASS = 50)
matter = list(MAT_STEEL = MATERIAL_COST(0.25), MAT_GLASS = MATERIAL_COST(0.025))
var/listening = 0
var/recorded //the activation message
special_handling = TRUE