mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
7/7 Bugfixes (#20969)
Fixes #20958 Fixes #20949 Fixes #20916 Fixes #20556 Fixes #20692 Fixes #20553 Fixes #20488 Fixes #20618
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/obj/item/device/mine_detector
|
||||
name = "mine detector"
|
||||
desc = "A device capable of detecting mines and traps in a range."
|
||||
icon = 'icons/obj/item/device/gps.dmi'
|
||||
icon_state = "gps"
|
||||
item_state = "radio"
|
||||
|
||||
///The types that are detected by this device
|
||||
var/list/detectable_types = list(/obj/item/landmine, /obj/item/trap)
|
||||
@@ -25,7 +28,7 @@
|
||||
|
||||
/obj/item/device/mine_detector/attack_self(mob/user)
|
||||
. = ..()
|
||||
|
||||
ClearOverlays()
|
||||
//Apply the delay and check it is passed, so a new scan can be done
|
||||
if((last_use + delay_between_scans) > world.time)
|
||||
return
|
||||
@@ -41,6 +44,7 @@
|
||||
if(!timer_id)
|
||||
to_chat(user, SPAN_NOTICE("You power on the automatic mine detection system, which shows a loading screen with a progress bar."))
|
||||
timer_id = addtimer(CALLBACK(src, PROC_REF(perform_scan), user), delay_between_scans, TIMER_UNIQUE|TIMER_STOPPABLE)
|
||||
AddOverlays("gps_on")
|
||||
else
|
||||
to_chat(user, SPAN_NOTICE("You power off the automatic mine detection system."))
|
||||
deltimer(timer_id)
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
created_window = null
|
||||
default_type = "wired glass"
|
||||
construction_options = list()
|
||||
icon_has_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/glass/wired/attackby(obj/item/attacking_item, mob/user)
|
||||
if(istype(attacking_item, /obj/item/stack/material/steel))
|
||||
|
||||
@@ -594,7 +594,7 @@
|
||||
|
||||
/obj/item/storage/box/donkpockets/gwok
|
||||
name = "box of teriyaki Gwok-pockets"
|
||||
icon_state = "gwokpocketbox"
|
||||
icon_state = "donkpocketboxteriyaki"
|
||||
item_state = "redbox"
|
||||
illustration = null
|
||||
starts_with = list(/obj/item/reagent_containers/food/snacks/donkpocket/teriyaki = 6)
|
||||
|
||||
@@ -286,7 +286,6 @@
|
||||
|
||||
species_restricted = list(BODYTYPE_VAURCA, BODYTYPE_VAURCA_WARFORM, BODYTYPE_VAURCA_BULWARK)
|
||||
sprite_sheets = list(
|
||||
BODYTYPE_VAURCA_WARFORM = 'icons/mob/species/warriorform/shoes.dmi',
|
||||
BODYTYPE_VAURCA_BULWARK = 'icons/mob/species/bulwark/shoes.dmi'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user