mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Fixes several issues with drones.
This commit is contained in:
@@ -42,7 +42,7 @@ var/list/mob_hat_cache = list()
|
||||
mob_push_flags = SIMPLE_ANIMAL
|
||||
mob_always_swap = 1
|
||||
|
||||
mob_size = MOB_TINY
|
||||
mob_size = MOB_LARGE // Small mobs can't open doors, it's a huge pain for drones.
|
||||
|
||||
//Used for self-mailing.
|
||||
var/mail_destination = ""
|
||||
@@ -70,7 +70,6 @@ var/list/mob_hat_cache = list()
|
||||
can_pull_mobs = 1
|
||||
hat_x_offset = 1
|
||||
hat_y_offset = -12
|
||||
mob_size = MOB_SMALL
|
||||
|
||||
/mob/living/silicon/robot/drone/New()
|
||||
|
||||
|
||||
@@ -219,14 +219,15 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/robot/proc/set_module_sprites(var/list/new_sprites)
|
||||
module_sprites = new_sprites.Copy()
|
||||
//Custom_sprite check and entry
|
||||
if (custom_sprite == 1)
|
||||
module_sprites["Custom"] = "[src.ckey]-[modtype]"
|
||||
icontype = "Custom"
|
||||
else
|
||||
icontype = module_sprites[1]
|
||||
icon_state = module_sprites[icontype]
|
||||
if(new_sprites && new_sprites.len)
|
||||
module_sprites = new_sprites.Copy()
|
||||
//Custom_sprite check and entry
|
||||
if (custom_sprite == 1)
|
||||
module_sprites["Custom"] = "[src.ckey]-[modtype]"
|
||||
icontype = "Custom"
|
||||
else
|
||||
icontype = module_sprites[1]
|
||||
icon_state = module_sprites[icontype]
|
||||
updateicon()
|
||||
return module_sprites
|
||||
|
||||
|
||||
Reference in New Issue
Block a user