Merge pull request #6553 from Nalarac/ED209

Fixes Naming ED-209 and ED-CLN
This commit is contained in:
Anewbe
2019-11-29 19:48:01 -05:00
committed by VirgoBot
parent b1e5b169e2
commit ced3499065
3 changed files with 42 additions and 3 deletions

View File

@@ -203,7 +203,8 @@
build_step++
to_chat(user, "<span class='notice'>You complete the ED-209.</span>")
var/turf/T = get_turf(src)
new /mob/living/bot/secbot/ed209(T,created_name,lasercolor)
var/mob/living/bot/secbot/ed209/S = new /mob/living/bot/secbot/ed209(T)
S.name = created_name
user.drop_item()
qdel(W)
user.drop_from_inventory(src)

View File

@@ -3,7 +3,7 @@
desc = "A large cleaning robot. It looks rather efficient."
icon_state = "edCLN0"
req_one_access = list(access_robotics, access_janitor)
botcard_access = list(access_janitor, access_maint_tunnels)
botcard_access = list(access_janitor)
locked = 0 // Start unlocked so roboticist can set them to patrol.
wait_if_pulled = 0 // One big boi.
@@ -229,7 +229,8 @@
build_step++
to_chat(user, "<span class='notice'>You complete the ED-CLN.</span>")
var/turf/T = get_turf(src)
new /mob/living/bot/cleanbot/edCLN(T,created_name)
var/mob/living/bot/cleanbot/edCLN/S = new /mob/living/bot/cleanbot/edCLN(T)
S.name = created_name
user.drop_item()
qdel(W)
user.drop_from_inventory(src)