Files
GS13/code/modules/research/nanites/extra_settings/_extra_setting.dm
T
Ghom a83427d394 Merge pull request #11025 from Arturlang/TGUI_Next_Nanites
Ports TGUI Next and a lot of misc updates for nanites.
2021-06-04 15:03:31 -03:00

21 lines
651 B
Plaintext

/datum/nanite_extra_setting
var/setting_type
var/value
/datum/nanite_extra_setting/proc/get_value()
return value
/datum/nanite_extra_setting/proc/set_value(value)
src.value = value
/datum/nanite_extra_setting/proc/get_copy()
return
//I made the choice to send the name as part of the parameter instead of storing it directly on
//this datum as a way of avoiding duplication of data between the containing assoc list
//and this datum.
//Also make sure to double wrap the list when implementing this as
//+= is interpreted as a combine on lists, so the outer list gets unwrapped
/datum/nanite_extra_setting/proc/get_frontend_list(name)
return