mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
[READY] Gives ability for free golem, free miner and delta station crew to research on a new research network, also minor tweaks (#16309)
* change * e * e * thanks biomu * done * whoops * up * buff a bit
This commit is contained in:
@@ -9,6 +9,7 @@ SUBSYSTEM_DEF(research)
|
||||
var/list/techweb_designs = list() //associative id = node datum
|
||||
var/list/datum/techweb/techwebs = list()
|
||||
var/datum/techweb/science/science_tech
|
||||
var/datum/techweb/ruin/ruin_tech
|
||||
var/datum/techweb/admin/admin_tech
|
||||
var/datum/techweb_node/error_node/error_node //These two are what you get if a node/design is deleted and somehow still stored in a console.
|
||||
var/datum/design/error_design/error_design
|
||||
@@ -46,6 +47,7 @@ SUBSYSTEM_DEF(research)
|
||||
initialize_all_techweb_designs()
|
||||
initialize_all_techweb_nodes()
|
||||
science_tech = new /datum/techweb/science
|
||||
ruin_tech = new /datum/techweb/ruin
|
||||
admin_tech = new /datum/techweb/admin
|
||||
autosort_categories()
|
||||
error_design = new
|
||||
@@ -78,6 +80,8 @@ SUBSYSTEM_DEF(research)
|
||||
bitcoins[i] += boost_amt
|
||||
science_tech.remove_stored_point_type(i, boost_amt)
|
||||
science_tech.add_point_list(bitcoins)
|
||||
//add RUIN_GENERATION_PER_TICK even without any servers, for things like freeminers
|
||||
ruin_tech.add_point_list(list(TECHWEB_POINT_TYPE_GENERIC = RUIN_GENERATION_PER_TICK))
|
||||
last_income = world.time
|
||||
|
||||
/datum/controller/subsystem/research/proc/calculate_server_coefficient() //Diminishing returns.
|
||||
|
||||
Reference in New Issue
Block a user