mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 18:40:42 +00:00
* 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
21 lines
651 B
Plaintext
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
|