Files
Bubberstation/code/modules/research/nanites/extra_settings/_extra_setting.dm
Rob Bailey 88cb666fd2 Fixes some nanite issues (#48112)
* fixes boolean parameters

* fixes nanite extra setting copying

* better extra settings display in crowd controller

* actually copies

* actually actually copy

* d

* rebuild

* fix incorrect function definition being used
2019-12-06 15:16:31 +01: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