mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Action buttons + More mobs!
- Scanner control is now an action button. - Fixed multiple scanner bugs (I think) - Gave ability to drones and borgs.
This commit is contained in:
@@ -38,11 +38,12 @@
|
||||
item_state = "glasses"
|
||||
|
||||
/obj/item/clothing/glasses/science/equipped(mob/user, slot)
|
||||
user.research_scanner = 1
|
||||
if(slot == slot_glasses)
|
||||
user.scanner.Grant(user)
|
||||
..(user, slot)
|
||||
|
||||
/obj/item/clothing/glasses/science/dropped(mob/user)
|
||||
user.research_scanner = initial(user.research_scanner) //Because some mobs might have it defaulted to 1.
|
||||
user.scanner.devices -= 1
|
||||
..(user)
|
||||
|
||||
/obj/item/clothing/glasses/night
|
||||
|
||||
@@ -325,11 +325,11 @@
|
||||
armor = list(melee = 10, bullet = 5, laser = 10, energy = 5, bomb = 100, bio = 100, rad = 60)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/hardsuit/rd/equipped(mob/user, slot)
|
||||
user.research_scanner = 1
|
||||
user.scanner.Grant(user)
|
||||
..(user, slot)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/hardsuit/rd/dropped(mob/user)
|
||||
user.research_scanner = 0
|
||||
user.scanner.devices -= 1
|
||||
..(user)
|
||||
|
||||
/obj/item/clothing/suit/space/hardsuit/rd
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
playsound(loc, 'sound/voice/liveagain.ogg', 75, 1)
|
||||
aicamera = new/obj/item/device/camera/siliconcam/robot_camera(src)
|
||||
toner = 40
|
||||
scanner.Grant(src)
|
||||
|
||||
//If there's an MMI in the robot, have it ejected when the mob goes away. --NEO
|
||||
/mob/living/silicon/robot/Destroy()
|
||||
|
||||
@@ -80,6 +80,8 @@
|
||||
var/obj/item/I = new default_hatmask(src)
|
||||
equip_to_slot_or_del(I, slot_head)
|
||||
|
||||
scanner.Grant(src)
|
||||
|
||||
alert_drones(DRONE_NET_CONNECT)
|
||||
|
||||
|
||||
|
||||
@@ -94,6 +94,7 @@
|
||||
var/datum/hud/hud_used = null
|
||||
|
||||
var/research_scanner = 0 //For research scanner equipped mobs. Enable to show research data when examining.
|
||||
var/datum/action/scan_mode/scanner = new
|
||||
|
||||
var/list/grabbed_by = list( )
|
||||
var/list/requests = list( )
|
||||
|
||||
Reference in New Issue
Block a user