mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 23:27:56 +01:00
Gives maint drones random designations (#78573)
## About The Pull Request Right now, drone ghost spawners give all drones the name "drone." This makes it difficult to differentiate drones, both as a drone in drone chat and as a non-drone. This gives all drones a unique identifier like posibrains. Also changes a couple of 1s to TRUEs ## Why It's Good For The Game It's good to be able to identify drones, and for drones to be able to identify each other. ## Changelog 🆑 Tattle qol: drones now have individual names, instead of just "drone" /🆑 Co-authored-by: tattle <article.disaster@gmail.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/obj/effect/mob_spawn/ghost_role/drone/name_mob(mob/living/spawned_mob, forced_name)
|
||||
if(!forced_name)
|
||||
var/designation = pick(GLOB.posibrain_names)
|
||||
forced_name = "Drone ([designation]-[rand(100, 999)])"
|
||||
|
||||
return ..()
|
||||
Reference in New Issue
Block a user