Files
b1029a24f8 Power Cell Rework + Energy Weapon Rebalance (& misc changes) (#7438)
- all cells in the game are now small, medium, large
- super, hyper capacity cells, device, and weapon cells are all removed
- cells now have standardized variants, some of which are printable by
R&D
- energy weapons rebalanced
- **advanced energy guns and stun revolvers removed** - use the new
modular weapon system and microfission cells.

---------

Co-authored-by: silicons <silicons@silicons.dev>
2025-12-24 12:15:01 +01:00

10 lines
579 B
Plaintext

/datum/unit_test/design_checks/Run()
var/list/lookup = list()
for(var/datum/prototype/design/path as anything in subtypesof(/datum/prototype/design))
if(initial(path.abstract_type) == path)
continue
var/datum/prototype/design/instance = new path
lookup[initial(path.id)] = instance
if(!length(instance.materials_base) && !length(instance.material_costs) && !length(instance.reagents) && !length(instance.ingredients) && !(instance.design_flags & DESIGN_IGNORE_RESOURCE_SANITY))
Fail("[instance.id] ([path]) has no material costs and is not flagged as override.")