mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-29 08:09:34 +01:00
Fixes Naming ED-209 and ED-CLN
Naming the ED-209 and ED-CLN will now result in the bot keeping its assigned name. Also removes maintenance access from ED-CLN (like the cleanbot previously) so it doesn't get stuck in maintenance.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user