12/21 modernizations from TG live (#103)
* sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes
This commit is contained in:
@@ -143,11 +143,37 @@ research holder datum.
|
||||
if((D.build_type & AUTOLATHE) && ("initial" in D.category)) //autolathe starts without hacked designs
|
||||
AddDesign2Known(D)
|
||||
|
||||
//Limb Grower files
|
||||
/datum/research/limbgrower/New()
|
||||
for(var/T in (subtypesof(/datum/tech)))
|
||||
possible_tech += new T(src)
|
||||
for(var/path in subtypesof(/datum/design))
|
||||
var/datum/design/D = new path(src)
|
||||
possible_designs += D
|
||||
if((D.build_type & LIMBGROWER) && ("initial" in D.category))
|
||||
AddDesign2Known(D)
|
||||
|
||||
/datum/research/autolathe/AddDesign2Known(datum/design/D)
|
||||
if(!(D.build_type & AUTOLATHE))
|
||||
return
|
||||
..()
|
||||
|
||||
//Biogenerator files
|
||||
/datum/research/biogenerator/New()
|
||||
for(var/T in (subtypesof(/datum/tech)))
|
||||
possible_tech += new T(src)
|
||||
for(var/path in subtypesof(/datum/design))
|
||||
var/datum/design/D = new path(src)
|
||||
possible_designs += D
|
||||
if((D.build_type & BIOGENERATOR) && ("initial" in D.category))
|
||||
AddDesign2Known(D)
|
||||
|
||||
/datum/research/biogenerator/AddDesign2Known(datum/design/D)
|
||||
if(!(D.build_type & BIOGENERATOR))
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
/***************************************************************
|
||||
** Technology Datums **
|
||||
** Includes all the various technoliges and what they make. **
|
||||
@@ -273,12 +299,44 @@ research holder datum.
|
||||
return cost
|
||||
|
||||
/obj/item/weapon/disk/tech_disk
|
||||
name = "Technology Disk"
|
||||
name = "technology disk"
|
||||
desc = "A disk for storing technology data for further research."
|
||||
icon_state = "datadisk0"
|
||||
materials = list(MAT_METAL=30, MAT_GLASS=10)
|
||||
var/datum/tech/stored
|
||||
materials = list(MAT_METAL=300, MAT_GLASS=100)
|
||||
var/list/tech_stored = list()
|
||||
var/max_tech_stored = 1
|
||||
|
||||
/obj/item/weapon/disk/tech_disk/New()
|
||||
..()
|
||||
src.pixel_x = rand(-5, 5)
|
||||
src.pixel_y = rand(-5, 5)
|
||||
src.pixel_y = rand(-5, 5)
|
||||
for(var/i in 1 to max_tech_stored)
|
||||
tech_stored += null
|
||||
|
||||
|
||||
/obj/item/weapon/disk/tech_disk/adv
|
||||
name = "advanced technology disk"
|
||||
desc = "A disk for storing technology data for further research. This one has extra storage space."
|
||||
materials = list(MAT_METAL=300, MAT_GLASS=100, MAT_SILVER=50)
|
||||
max_tech_stored = 5
|
||||
|
||||
/obj/item/weapon/disk/tech_disk/super_adv
|
||||
name = "quantum technology disk"
|
||||
desc = "A disk for storing technology data for further research. This one has extremely large storage space."
|
||||
materials = list(MAT_METAL=300, MAT_GLASS=100, MAT_SILVER=100, MAT_GOLD=100)
|
||||
max_tech_stored = 10
|
||||
|
||||
/obj/item/weapon/disk/tech_disk/debug
|
||||
name = "centcomm technology disk"
|
||||
desc = "A debug item for research"
|
||||
materials = list()
|
||||
max_tech_stored = 0
|
||||
|
||||
/obj/item/weapon/disk/tech_disk/debug/New()
|
||||
..()
|
||||
var/list/techs = subtypesof(/datum/tech)
|
||||
max_tech_stored = techs.len
|
||||
for(var/V in techs)
|
||||
var/datum/tech/T = new V()
|
||||
tech_stored += T
|
||||
T.level = 8
|
||||
|
||||
Reference in New Issue
Block a user