mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
## About The Pull Request Re-adds nanites, balance changes pending. No plans to do mapping/role changes Based on https://github.com/tgstation/tgstation/pull/60473 with a lot of work on modularizing ## Why It's Good For The Game Nanites are a rather interesting system, my hope is to port it in a more balanced format. ## Proof Of Testing Works, thoroughly tested ## Changelog 🆑 add: Re-adds nanites /🆑 TODO: - [x] Add techweb linking for nanites - [x] Prevent stacking of armor mods (fortitude + dna vault + nanite armor) - [x] Rebalance damage regeneration programs - [x] Remove force speak program by @StrangeWeirdKitten request - [x] Convert UI's to TSX - [x] Fix Nanite program uhb and programmer overlays not working --------- Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com>
10 lines
556 B
Plaintext
10 lines
556 B
Plaintext
|
|
/datum/unit_test/nanite_designs/Run()
|
|
//Can't use allocate because of bug with certain datums
|
|
var/datum/design/nanites/default_design_nanites = new /datum/design/nanites()
|
|
|
|
for(var/path in subtypesof(/datum/design))
|
|
var/datum/design/nanites/current_design = new path //Create an instance of each design
|
|
if (isnull(current_design.program_type) || current_design.program_type == default_design_nanites.program_type) //Check if the Nanite design provides a program
|
|
Fail("Nanite Design [current_design.type] does not have have any program_type set")
|