mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 15:26:31 +01:00
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>
This commit is contained in:
@@ -28,6 +28,13 @@ SUBSYSTEM_DEF(processing)
|
||||
var/datum/thing = current_run[current_run.len]
|
||||
current_run.len--
|
||||
if(QDELETED(thing))
|
||||
log_world("GC-TRACE: Deleted entity found in [src] - [thing ? thing.type : "-- null value --"]")
|
||||
if(thing)
|
||||
var/list/trace = thing.gc_trace_data()
|
||||
trace["type"] = thing.type
|
||||
trace["refcount"] = refcount(thing)
|
||||
log_world("GC-TRACE: From [src], [thing.type] had trace: [json_encode(trace)]")
|
||||
stack_trace("deleted entity found in [src]; check logs.")
|
||||
processing -= thing
|
||||
else if(thing.process(dt) == PROCESS_KILL)
|
||||
// fully stop so that a future START_PROCESSING will work
|
||||
|
||||
Reference in New Issue
Block a user