mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Fixed not being able to sell research disks, and being able to re-sell disks by sending low-tech disks to reset the levels
This commit is contained in:
@@ -22,4 +22,4 @@
|
||||
if(!V)
|
||||
continue
|
||||
var/datum/tech/tech = V
|
||||
techLevels[tech.id] = tech.level
|
||||
techLevels[tech.id] = max(techLevels[tech.id], tech.level)
|
||||
|
||||
@@ -203,7 +203,6 @@ research holder datum.
|
||||
var/level = 1 //A simple number scale of the research level. Level 0 = Secret tech.
|
||||
var/rare = 1 //How much CentCom wants to get that tech. Used in supply shuttle tech cost calculation.
|
||||
var/list/req_tech = list() //List of ids associated values of techs required to research this tech. "id" = #
|
||||
var/exported_level = 0
|
||||
|
||||
|
||||
//Trunk Technologies (don't require any other techs and you start knowning them).
|
||||
@@ -307,10 +306,6 @@ research holder datum.
|
||||
|
||||
if(current_level >= level)
|
||||
return 0
|
||||
|
||||
if(exported_level == level)
|
||||
return 0
|
||||
exported_level = level
|
||||
|
||||
var/cost = 0
|
||||
for(var/i=current_level+1, i<=level, i++)
|
||||
|
||||
Reference in New Issue
Block a user