mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Gives maint drones random designations [MDB IGNORE] (#23944)
* 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> * Gives maint drones random designations --------- Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com> Co-authored-by: tattle <article.disaster@ gmail.com>
This commit is contained in:
co-authored by
tattle
tattle
parent
f1161a6d1e
commit
0dae04a3a2
@@ -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