This was a lot simpler than I expected (#16230)

This commit is contained in:
SabreML
2021-06-22 10:42:48 +01:00
committed by GitHub
parent 82b29ba837
commit 483f31e038
2 changed files with 2 additions and 6 deletions
@@ -300,11 +300,7 @@
if(!player)
return
if(player.mob?.mind)
player.mob.mind.transfer_to(src)
player.mob.mind.assigned_role = "Drone"
else
ckey = player.ckey
ckey = player.ckey
to_chat(src, "<b>Systems rebooted</b>. Loading base pattern maintenance protocol... <b>loaded</b>.")
full_law_reset()
@@ -37,7 +37,7 @@
icon_state = "drone_fab_active"
var/elapsed = world.time - time_last_drone
drone_progress = round((elapsed / config.drone_build_time) * 100)
drone_progress = clamp(round((elapsed / config.drone_build_time) * 100), 0, 100)
if(drone_progress >= 100)
visible_message("[src] voices a strident beep, indicating a drone chassis is prepared.")