switch spawn pools from using IDs to typerefs (#29227)

This commit is contained in:
warriorstar-orion
2025-05-13 17:51:35 -04:00
committed by GitHub
parent 5039d1c84b
commit 04f5a04f32
7 changed files with 19 additions and 27 deletions
@@ -2,8 +2,6 @@
/// spawners that need to keep track globally of the number of any specific item
/// that they spawn.
/datum/spawn_pool
/// The ID of the spawn pool. All spawners registered to this pool must use this ID.
var/id
/// The number of points left for the spawner to use. Starts at its initial value.
var/available_points = 0
/// A list of all spawners registered to this pool.
@@ -56,6 +54,6 @@
qdel(spawner)
log_game("finished spawner [id] with [length(known_spawners)] remaining spawners and [available_points] points remaining.")
log_game("finished spawner [type] with [length(known_spawners)] remaining spawners and [available_points] points remaining.")
QDEL_LIST_CONTENTS(known_spawners)