Files
VOREStation/code/modules/food/kitchen/smartfridge/engineering.dm
T
Cameron Lennox 453080616b SM, Tesla, and general engineering adjustments [MDB IGNORE] [IDB IGNORE] (#19339)
* Update supermatter.dm

* fix

* clamps these

* gwah

* Stops tesla from zapping unwrenched coils

* tesla upgrade

* unglobals this

* fix these

* Update coil.dm

* Update coil.dm

* Descriptions

* Update coil.dm

* Update coil.dm

* Update coil.dm

* Update coil.dm

* Update coil.dm

* ranges

* UGH

* Update vorestation.dme

* meth

* monster math

* Update coil.dm

* Update coil.dm

* Update coil.dm

* THEY DID THE MATH

* the monster math

* egwah

* desc

* Update coil.dm

* Returns

* Update coil.dm

* Lowers amount gained

* this

* im dumb

* tesy

* Update coil.dm

* Update coil.dm

* fixes initial density on blast doors

* dot

* fixes these

* Mapper Tools

* icon

* these

* Fixes the sound following people

* recursive geigers

* Make this a proc

* Update supermatter.dm

* less ear destroying

* these

* makes canisters not get softlocked

* Hotkeys

* proper return

* Makes shield gen useful. Gets rid of a harddel

Adds hydromagnetic trap

* math

* Makes buttons more clear.

* lol

* Fixes ancient runtime

* Adds craftable mass driver buttons

* button

* fixes this

* Makes misclicks not destroy solar panels

* Update solar.dm

* fix this

* make them both numbers

* upports reflectors

* Update reflector.dm

* Update reflectors.dm

* solar panel and climbable

* Gets rid of 'as X'

* Adds account console

* Update vorestation.dme

* Craftable message server

* Update message_server.dm

* These

* con struct

* Update smartfridge.dm

* whoop

* edits
2026-03-26 22:20:06 -04:00

54 lines
1.8 KiB
Plaintext

/*
* Industrial Sized Sheet Storage (but not actually industrial sized)
*/
/obj/machinery/smartfridge/sheets
name = "\improper Industrial Sheet Storage"
desc = "An industrial sized storage unit for materials."
icon_state = "base_industrial"
icon_base = "industrial"
icon_contents = "sheet"
stored_datum_type = /datum/stored_item/stack
circuit = /obj/item/circuitboard/smartfridge/sheets
/obj/machinery/smartfridge/sheets/persistent
persistent = /datum/persistent/storage/smartfridge/sheet_storage
/obj/machinery/smartfridge/sheets/persistent_lossy
persistent = /datum/persistent/storage/smartfridge/sheet_storage/lossy
/obj/machinery/smartfridge/sheets/accept_check(var/obj/item/O)
return istype(O, /obj/item/stack/material) && !istype(O, /obj/item/stack/material/cyborg)
/obj/machinery/smartfridge/sheets/vend(datum/stored_item/stack/I, var/count)
var/amount = I.get_amount()
if(amount < 1)
return
count = min(count, amount)
while(count > 0)
var/obj/item/stack/S = I.get_product(get_turf(src), count)
count -= S.get_amount()
SStgui.update_uis(src)
/obj/machinery/smartfridge/sheets/find_record(var/obj/item/O)
for(var/datum/stored_item/stack/I as anything in item_records)
if(O.type == I.item_path) // Typecheck should evaluate material-specific subtype
return I
return null
/*
* Mining Variant
*/
/obj/machinery/smartfridge/sheets/mining
name = "\improper Mining Sheet Storage"
icon_state = "base_mining"
icon_base = "mining"
icon_contents = "sheet"
circuit = /obj/item/circuitboard/smartfridge/sheets/mining
/obj/machinery/smartfridge/sheets/mining/persistent
persistent = /datum/persistent/storage/smartfridge/sheet_storage
/obj/machinery/smartfridge/sheets/mining/persistent_lossy
persistent = /datum/persistent/storage/smartfridge/sheet_storage/lossy