mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 00:22:12 +00:00
* Replace SSingulo with SScalamity; processing cleanup
- SScalamity now handles blobs as well as singularity-types.
- Processing subtypes have been simplified to not require a stop_processing definition.
* this is probably important
* Remove cascade disabling SSgarbage
* Fixed a bug where dust() did not qdel the target mob
* Misc fixes
* Fix decals surviving break-to-plating
* Subsystem flag tweaks
* Apparently subsystems are new'd before config is.
* Fix paper icons
* Speculative fix for insane lag
* Better machinery stat
* Make organs not use SSoverlay
* Misc bugfixes & tweaks
* Nightmode fixes
* Changelog for SMC
* Port /tg/'s improved MC crash handling
* Add some more SS Recover() procs
* supply_controller -> SScargo
* More New() -> Initialize()
* pAI and robot construction overlays
* Fix cargo unit tests
* Merge the DMM Suite's atom/New() into atoms_init
* Lighting pre-baking
* Lighting initialization logging
* Fix some bad SS init orders
* Fix SSlighting logging; rename Processes to MC
* Speculative fix for insane GC lag
* Prebaked openturf/icon_smooth & fix lighting prebake
* SS init status; SSatoms LATEQDEL
* Fix bug with MC init stat panel
* Fix parallax
* Misc
* Ignore SS_NO_DISPLAY during init
* apparently this is important
* REEEEEE
* Image GC fixes; broadcaster radio-new sanity
* RCON Cleanup
* Move pAI recruiter into subsystem
* Move global solars list into sun subsystem
* Make chickens not use a global
* Demote SSdisposals to SS_BACKGROUND; garbage-debug cleanup
* Speed up space init a little
* Fix bad timer flags on floor drying
* Subsystem panic-restart verb for mins
* Explosion speedup
* Minor subsystem & MC logging tweaks
* SSopenturf improvements
* Make pipenet actually initialize (whoops)
* Minor tweaks
* Implement lighting rounding
* comments are hard okay
* Minor lattice tweaks
* Fix some timer issues & better closet init
* Timer sanity
* Request console tweaks + Storage init sanity
* Minor SSmachiner RCON improvements
* Further reduce world-start timer count
* Standardize subsystem logging
* Garbage hard delete profiling from /tg/
* Timer hang detection & recovery
* Log machines that sleep in process() and fuck up SSmachinery
* Fix an issue with external airlocks sleeping in process()
* Failsafe logging
* Minor tweaks
* Revert "Request console tweaks + Storage init sanity"
This reverts commit 98d3579e35.
* Re-implement RC changes
* Fix SQL FT saving
* Fix SSmachinery sleep in disposals
* Minor SS tweaks
* Paper fixes
* Blood drying fixes
* Merge gameticker and SSticker
* Minor global list init cleanup
* Lagcheck biogenerator & bags
* Tweak SScargo init order; RIG Initialize()
* Caching tweaks
* Remove rogue comma
* Initialize fixes
* Lighting destroy cleanup
* Fix emagging airlocks
* Initial SSicon implementation
* Tweaks & Fixes
* Fire + Air alarm queued icon updates
* Overlays + Queued icon cleanup
* Runtime & background fixes
* Kill some meaningless set statements
* Kill some image qdels
* Bump up lighting rounding val
* Fix adv. scanner destroy runtimes
* Remove unneeded icon update limiting
* Move icon smoothing into helpers
* Show a warning if DM 510 compiles without memory leak hack enabled
* Re-organize subsystems & MC defines a little
* Airlock SFX
* Log of Changes
* Make SSicon_update disable itself when not doing anything
* Fix respawn verb runtime when used early in server-init
* Add more information to MC's stat_entry()
* Replace direct refernces to gcDestroyed with QDEL* macros
* plant_controller -> SSplants
* More plant tweaks
* Add more humor to changelog
* Move parallax globals into SSparallax
* Lighting responsiveness tweaks
* Fix parallax init order & better MC init panel stat
* Make mobs GC
* More overlays + Remove intercom spawn()
* SSfast_process; make pinpointers not use spawn-recursion to process
Also made the SM Cascade beach process with SSprocessing instead of a spawn loop.
* Update changelog
* Mob GC tweaks
* Del() cleanup
* Fix insomniac ZAS connection edges
* Minor pAI cleanup
* Convert more things to SSoverlay; fix duplicated overlay in field gens
* SM Bluespace turf tweaks
* Update SSgarbage debug globals list
* Human-type qdel tweaks
* Subsystem suspension; stat_entry improvements
* SQL Statistics cleanup
* Fix runtimes with ambrosia
* More disable() -> suspend(); fix nightmode again
* Human qdel fix; minor tweaks
* Update turbolift to work with StonedMC
* Make lifts use timers instead of a subsystem
* Make SSassets start earlier
* Convert the radio controller into a subsystem
* Fix some missing CHECK_TICKs in asteroid generation
* MC stat tweaks; make shouldnt_see a typecache
* Kill some redundant debug-controller entries
* radio_controller -> SSradio
* Better SSgarbage hard-del logging from /tg/ upstream
* Logging tweaks + GELF
* Misc client caching improvements
* Slime SSoverlay
* Oven icon fixes
* Implant fixes
- Death implants will no longer spam Common on death of user.
- Death implants should handle a deleted user better.
* Holder tweaks + Welding tool Initialize()
* Fix some bad subsystem logging
* Fix suit cooling units spawning without cells
* Starlight tweaks
* Gibber infinite gib fix
* More SSoverlay stuff
* Make crates use CUT_OVERLAY_IN
* Make SSarrivals suspend instead of disable
* Make openturf use split/phased tick checks
* Speculative fix for unwet timer runtimes
* Blood overlay tweaks/fixes
* Update crusher to play nice with SMC + SSoverlay
* Openturf improvements and fixes
* Minor turbolift tweaks
* Lighting performance improvements + ChangeTurf tweaks
* this is probably important
* Fix wall weld noises on changeturf
* More ChangeTurf tweaks
* Explosion tweaks
* Pre-game lobby tweaks
* Openturf tweaks
* Prevent admins from starting the game before init finishes
* Fix Travis
* Kill an unused var
* Fix ChangeTurf runtimes on openturfs
* Fixes
* Browser datum fixes, asset caching
* Update changelog
* Changelog
* Lobby tweaks
* Ticker tweaks; kill ticker var
* Further lobby tweaks
* Cascade tweaks
* air_master -> SSair
* Reduce overhead from radio autosay
* alarm_manager -> SSalarm
* bomb_processor -> SSexplosives
* corp_regs -> SSlaw
* ZAS overlay fixes
* Small wall icon optimization
* Fix effects master
* Assembly tweaks
* Megavend fixes
* Shuttle fixes
* Camera alert performance improvements
* Fix some world.log spam from lighting overlays
* Fix some Initialize() procs
* Openspace responsiveness tweaks
* Make HE pipes animate through openturfs
* Kill a spawn
506 lines
15 KiB
Plaintext
506 lines
15 KiB
Plaintext
/*
|
|
// Bluespace Technition and all their items.
|
|
// Only avaliable to people with +DEV and +DEVELOPER
|
|
// All items are ave canremove = 0 to avoid loos and thefts
|
|
// They are invincible.
|
|
// Suicide with them to exit in an rp way
|
|
//
|
|
// I really didn't expect most of this to work right but hey it does.
|
|
// - SoundScopes
|
|
*/
|
|
|
|
/client
|
|
var/bst_cooldown // So people can't spam BSTs.
|
|
|
|
/client/proc/bst_spawn_cooldown()
|
|
bst_cooldown = null
|
|
|
|
/client/proc/cmd_dev_bst()
|
|
set category = "Debug"
|
|
set name = "Spawn Bluespace Tech"
|
|
set desc = "Spawns a Bluespace Tech to debug stuff"
|
|
|
|
if (bst_cooldown)
|
|
src << "You've used this verb too recently, please wait a moment before trying again."
|
|
return
|
|
|
|
if(!check_rights(R_DEV|R_ADMIN)) return
|
|
|
|
if(!holder)
|
|
return //how did they get here?
|
|
|
|
if(!ROUND_IS_STARTED)
|
|
src << span("alert", "The game hasn't started yet!")
|
|
return
|
|
|
|
bst_cooldown = TRUE
|
|
|
|
if(istype(mob, /mob/living))
|
|
if(!holder.original_mob)
|
|
holder.original_mob = mob
|
|
|
|
//I couldn't get the normal way to work so this works.
|
|
//This whole section looks like a hack, I don't like it.
|
|
var/T = get_turf(usr)
|
|
var/mob/living/carbon/human/bst/bst = new(T)
|
|
// bst.original_mob = usr
|
|
bst.anchored = 1
|
|
bst.ckey = usr.ckey
|
|
bst.name = "Bluespace Technician"
|
|
bst.real_name = "Bluespace Technician"
|
|
bst.voice_name = "Bluespace Technician"
|
|
bst.h_style = "Crewcut"
|
|
|
|
//Items
|
|
var/obj/item/clothing/under/U = new /obj/item/clothing/under/rank/centcom_officer/bst(bst)
|
|
bst.equip_to_slot_or_del(U, slot_w_uniform)
|
|
bst.equip_to_slot_or_del(new /obj/item/device/radio/headset/ert/bst(bst), slot_l_ear)
|
|
bst.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/holding/bst(bst), slot_back)
|
|
bst.equip_to_slot_or_del(new /obj/item/weapon/storage/box/survival(bst.back), slot_in_backpack)
|
|
bst.equip_to_slot_or_del(new /obj/item/clothing/shoes/black/bst(bst), slot_shoes)
|
|
bst.equip_to_slot_or_del(new /obj/item/clothing/head/beret(bst), slot_head)
|
|
bst.equip_to_slot_or_del(new /obj/item/clothing/glasses/sunglasses/bst(bst), slot_glasses)
|
|
bst.equip_to_slot_or_del(new /obj/item/weapon/storage/belt/utility/full(bst), slot_belt)
|
|
bst.equip_to_slot_or_del(new /obj/item/clothing/gloves/swat/bst(bst), slot_gloves)
|
|
if(bst.backbag == 1)
|
|
bst.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(bst), slot_r_hand)
|
|
else
|
|
bst.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(bst.back), slot_in_backpack)
|
|
bst.equip_to_slot_or_del(new /obj/item/device/t_scanner(bst.back), slot_in_backpack)
|
|
bst.equip_to_slot_or_del(new /obj/item/device/pda/captain/bst(bst.back), slot_in_backpack)
|
|
bst.equip_to_slot_or_del(new /obj/item/device/multitool(bst.back), slot_in_backpack)
|
|
|
|
var/obj/item/weapon/storage/box/pills = new /obj/item/weapon/storage/box
|
|
pills.name = "adminordrazine"
|
|
for(var/i = 1, i < 12, i++)
|
|
new /obj/item/weapon/reagent_containers/pill/adminordrazine(pills)
|
|
bst.equip_to_slot_or_del(pills, slot_in_backpack)
|
|
|
|
//Implant because access
|
|
bst.implant_loyalty(bst,TRUE)
|
|
|
|
//Sort out ID
|
|
var/obj/item/weapon/card/id/bst/id = new/obj/item/weapon/card/id/bst(bst)
|
|
id.registered_name = bst.real_name
|
|
id.assignment = "Bluespace Technician"
|
|
id.name = "[id.assignment]"
|
|
bst.equip_to_slot_or_del(id, slot_wear_id)
|
|
bst.update_inv_wear_id()
|
|
bst.regenerate_icons()
|
|
|
|
//Add the rest of the languages
|
|
//Because universal speak doesn't work right.
|
|
|
|
bst.add_language(LANGUAGE_TCB)
|
|
bst.add_language(LANGUAGE_GUTTER)
|
|
bst.add_language(LANGUAGE_SIGN)
|
|
bst.add_language(LANGUAGE_TRADEBAND)
|
|
// Unathi languages
|
|
bst.add_language(LANGUAGE_UNATHI)
|
|
bst.add_language(LANGUAGE_AZAZIBA)
|
|
// Tajara languages
|
|
bst.add_language(LANGUAGE_SIIK_MAAS)
|
|
bst.add_language(LANGUAGE_SIIK_TAJR)
|
|
bst.add_language(LANGUAGE_SIGN_TAJARA)
|
|
// Other station species' languages
|
|
bst.add_language(LANGUAGE_SKRELLIAN)
|
|
bst.add_language(LANGUAGE_SOL_COMMON)
|
|
bst.add_language(LANGUAGE_ROOTSONG)
|
|
bst.add_language(LANGUAGE_VAURCA)
|
|
bst.add_language(LANGUAGE_RESOMI) // why not?
|
|
// Synthetics
|
|
bst.add_language(LANGUAGE_ROBOT)
|
|
bst.add_language(LANGUAGE_DRONE)
|
|
bst.add_language(LANGUAGE_EAL)
|
|
// Antagonist languages
|
|
bst.add_language(LANGUAGE_VOX)
|
|
bst.add_language(LANGUAGE_XENOMORPH)
|
|
bst.add_language(LANGUAGE_HIVEMIND)
|
|
bst.add_language(LANGUAGE_CHANGELING)
|
|
bst.add_language(LANGUAGE_BORER)
|
|
|
|
addtimer(CALLBACK(src, .proc/bst_post_spawn, bst), 5)
|
|
addtimer(CALLBACK(src, .proc/bst_spawn_cooldown), 5 SECONDS)
|
|
|
|
log_debug("Bluespace Tech Spawned: X:[bst.x] Y:[bst.y] Z:[bst.z] User:[src]")
|
|
|
|
feedback_add_details("admin_verb","BST")
|
|
return 1
|
|
|
|
/client/proc/bst_post_spawn(mob/living/carbon/human/bst/bst)
|
|
spark(bst, 3, alldirs)
|
|
bst.anchored = FALSE
|
|
|
|
/mob/living/carbon/human/bst
|
|
universal_understand = 1
|
|
status_flags = GODMODE
|
|
|
|
/mob/living/carbon/human/bst/can_inject(var/mob/user, var/error_msg, var/target_zone)
|
|
user << span("alert", "The [src] disarms you before you can inject them.")
|
|
user.drop_item()
|
|
return 0
|
|
|
|
/mob/living/carbon/human/bst/binarycheck()
|
|
return 1
|
|
|
|
/mob/living/carbon/human/bst/proc/suicide()
|
|
if(key && species.name != "Human")
|
|
switch(species.name)
|
|
if("Tajara")
|
|
bsc()
|
|
if("Baseline Frame")
|
|
bsb()
|
|
if("Diona")
|
|
bsd()
|
|
if("Unathi")
|
|
bsu()
|
|
if("Skrell")
|
|
bss()
|
|
if("Vaurca")
|
|
bsv()
|
|
return
|
|
|
|
src.custom_emote(1,"presses a button on their suit, followed by a polite bow.")
|
|
spark(src, 5, alldirs)
|
|
addtimer(CALLBACK(GLOBAL_PROC, .proc/qdel, src), 10, TIMER_CLIENT_TIME)
|
|
animate(src, alpha = 0, time = 9, easing = QUAD_EASING)
|
|
if(key)
|
|
if(client.holder && client.holder.original_mob)
|
|
client.holder.original_mob.key = key
|
|
else
|
|
var/mob/dead/observer/ghost = new(src) //Transfer safety to observer spawning proc.
|
|
ghost.key = key
|
|
ghost.mind.name = "[ghost.key] BSTech"
|
|
ghost.name = "[ghost.key] BSTech"
|
|
ghost.real_name = "[ghost.key] BSTech"
|
|
ghost.voice_name = "[ghost.key] BSTech"
|
|
|
|
/mob/living/carbon/human/bst/proc/bsc() //because we all have our unrealistic snowflakes right?
|
|
if(set_species("Tajara"))
|
|
h_style = "Tajaran Ears"
|
|
name = "Bluespace Cat"
|
|
voice_name = "Bluespace Cat"
|
|
real_name = "Bluespace Cat"
|
|
mind.name = "Bluespace Cat"
|
|
if(wear_id)
|
|
var/obj/item/weapon/card/id/id = wear_id
|
|
if(istype(wear_id, /obj/item/device/pda))
|
|
var/obj/item/device/pda/pda = wear_id
|
|
id = pda.id
|
|
id.registered_name = "Bluespace Cat"
|
|
gender = "female"
|
|
regenerate_icons()
|
|
else
|
|
ghostize(0)
|
|
key = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/proc/bsb()
|
|
if(set_species("Baseline Frame"))
|
|
h_style = "blue IPC screen"
|
|
name = "Bluespace Bot"
|
|
voice_name = "Bluespace Bot"
|
|
real_name = "Bluespace Bot"
|
|
mind.name = "Bluespace Bot"
|
|
if(wear_id)
|
|
var/obj/item/weapon/card/id/id = wear_id
|
|
if(istype(wear_id, /obj/item/device/pda))
|
|
var/obj/item/device/pda/pda = wear_id
|
|
id = pda.id
|
|
id.registered_name = "Bluespace Bot"
|
|
regenerate_icons()
|
|
else
|
|
ghostize(0)
|
|
key = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/proc/bsd()
|
|
if(set_species("Diona"))
|
|
name = "Bluespace Tree"
|
|
voice_name = "Bluespace Tree"
|
|
real_name = "Bluespace Tree"
|
|
mind.name = "Bluespace Tree"
|
|
if(wear_id)
|
|
var/obj/item/weapon/card/id/id = wear_id
|
|
if(istype(wear_id, /obj/item/device/pda))
|
|
var/obj/item/device/pda/pda = wear_id
|
|
id = pda.id
|
|
id.registered_name = "Bluespace Tree"
|
|
regenerate_icons()
|
|
else
|
|
ghostize(0)
|
|
key = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/proc/bsu()
|
|
if(set_species("Unathi"))
|
|
h_style = "Unathi Horns"
|
|
name = "Bluespace Lizard"
|
|
voice_name = "Bluespace Lizard"
|
|
real_name = "Bluespace Lizard"
|
|
mind.name = "Bluespace Lizard"
|
|
if(wear_id)
|
|
var/obj/item/weapon/card/id/id = wear_id
|
|
if(istype(wear_id, /obj/item/device/pda))
|
|
var/obj/item/device/pda/pda = wear_id
|
|
id = pda.id
|
|
id.registered_name = "Bluespace Lizard"
|
|
regenerate_icons()
|
|
else
|
|
ghostize(0)
|
|
key = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/proc/bss()
|
|
if(set_species("Skrell"))
|
|
h_style = "Skrell Male Tentacles"
|
|
name = "Bluespace Squid"
|
|
voice_name = "Bluespace Squid"
|
|
real_name = "Bluespace Squid"
|
|
mind.name = "Bluespace Squid"
|
|
if(wear_id)
|
|
var/obj/item/weapon/card/id/id = wear_id
|
|
if(istype(wear_id, /obj/item/device/pda))
|
|
var/obj/item/device/pda/pda = wear_id
|
|
id = pda.id
|
|
id.registered_name = "Bluespace Squid"
|
|
gender = "female"
|
|
regenerate_icons()
|
|
else
|
|
ghostize(0)
|
|
key = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/proc/bsv()
|
|
if(set_species("Vaurca Worker"))
|
|
h_style = "Bald"
|
|
name = "Bluespace Bug"
|
|
voice_name = "Bluespace Bug"
|
|
real_name = "Bluespace Bug"
|
|
mind.name = "Bluespace Bug"
|
|
if(wear_id)
|
|
var/obj/item/weapon/card/id/id = wear_id
|
|
if(istype(wear_id, /obj/item/device/pda))
|
|
var/obj/item/device/pda/pda = wear_id
|
|
id = pda.id
|
|
id.registered_name = "Bluespace Bug"
|
|
regenerate_icons()
|
|
else
|
|
ghostize(0)
|
|
key = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/say(var/message)
|
|
var/verb = "says in a subdued tone"
|
|
..(message, verb)
|
|
|
|
/mob/living/carbon/human/bst/verb/bstwalk()
|
|
set name = "Ruin Everything"
|
|
set desc = "Uses bluespace technology to phase through solid matter and move quickly."
|
|
set category = "BST"
|
|
set popup_menu = 0
|
|
|
|
if(!src.incorporeal_move)
|
|
src.incorporeal_move = 2
|
|
src << span("notice", "You will now phase through solid matter.")
|
|
else
|
|
src.incorporeal_move = 0
|
|
src << span("notice", "You will no-longer phase through solid matter.")
|
|
return
|
|
|
|
/mob/living/carbon/human/bst/verb/bstrecover()
|
|
set name = "Rejuv"
|
|
set desc = "Use the bluespace within you to restore your health"
|
|
set category = "BST"
|
|
set popup_menu = 0
|
|
|
|
src.revive()
|
|
|
|
/mob/living/carbon/human/bst/verb/bstawake()
|
|
set name = "Wake up"
|
|
set desc = "This is a quick fix to the relogging sleep bug"
|
|
set category = "BST"
|
|
set popup_menu = 0
|
|
|
|
src.sleeping = 0
|
|
|
|
/mob/living/carbon/human/bst/verb/bstquit()
|
|
set name = "Teleport out"
|
|
set desc = "Activate bluespace to leave and return to your original mob (if you have one)."
|
|
set category = "BST"
|
|
|
|
var/client/C = src.client
|
|
if(C.holder && C.holder.original_mob)
|
|
if(C.holder.original_mob.key)//Thanks for kicking Tish off the Server Meow, wouldn't have spotted this otherwise.
|
|
//suicide()
|
|
return
|
|
|
|
C.holder.original_mob.key = key
|
|
C.holder.original_mob = null
|
|
suicide()
|
|
|
|
/mob/living/carbon/human/bst/verb/tgm()
|
|
set name = "Toggle Godmode"
|
|
set desc = "Enable or disable god mode. For testing things that require you to be vulnerable."
|
|
set category = "BST"
|
|
|
|
status_flags ^= GODMODE
|
|
src << span("notice", "God mode is now [status_flags & GODMODE ? "enabled" : "disabled"]")
|
|
|
|
//Equipment. All should have canremove set to 0
|
|
//All items with a /bst need the attack_hand() proc overrided to stop people getting overpowered items.
|
|
|
|
//Bag o Holding
|
|
/obj/item/weapon/storage/backpack/holding/bst
|
|
canremove = 0
|
|
storage_slots = 56
|
|
max_w_class = 400
|
|
|
|
/obj/item/device/radio/headset/ert/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
//Headset
|
|
/obj/item/device/radio/headset/ert/bst
|
|
name = "bluespace technician's headset"
|
|
desc = "A Bluespace Technician's headset. The letters 'BST' are stamped on the side."
|
|
translate_binary = 1
|
|
translate_hive = 1
|
|
canremove = 0
|
|
keyslot1 = new /obj/item/device/encryptionkey/binary
|
|
keyslot2 = new /obj/item/device/encryptionkey/ert
|
|
|
|
/obj/item/device/radio/headset/ert/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
// overload this so we can force translate flags without the required keys
|
|
/obj/item/device/radio/headset/ert/bst/recalculateChannels(var/setDescription = 0)
|
|
..(setDescription)
|
|
translate_binary = 1
|
|
translate_hive = 1
|
|
translate_hivenet = 1
|
|
|
|
//Clothes
|
|
/obj/item/clothing/under/rank/centcom_officer/bst
|
|
name = "bluespace technician's uniform"
|
|
desc = "A Bluespace Technician's Uniform. There is a logo on the sleeve that reads 'BST'."
|
|
has_sensor = 0
|
|
sensor_mode = 0
|
|
canremove = 0
|
|
siemens_coefficient = 0
|
|
cold_protection = FULL_BODY
|
|
heat_protection = FULL_BODY
|
|
|
|
/obj/item/clothing/under/rank/centcom_officer/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
//Gloves
|
|
/obj/item/clothing/gloves/swat/bst
|
|
name = "bluespace technician's gloves"
|
|
desc = "A pair of modified gloves. The letters 'BST' are stamped on the side."
|
|
siemens_coefficient = 0
|
|
permeability_coefficient = 0
|
|
canremove = 0
|
|
|
|
/obj/item/clothing/gloves/swat/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
//Sunglasses
|
|
/obj/item/clothing/glasses/sunglasses/bst
|
|
name = "bluespace technician's glasses"
|
|
desc = "A pair of modified sunglasses. The word 'BST' is stamped on the side."
|
|
// var/list/obj/item/clothing/glasses/hud/health/hud = null
|
|
vision_flags = (SEE_TURFS|SEE_OBJS|SEE_MOBS)
|
|
see_invisible = SEE_INVISIBLE_NOLIGHTING
|
|
canremove = 0
|
|
/* New()
|
|
..()
|
|
src.hud += new/obj/item/clothing/glasses/hud/security(src)
|
|
src.hud += new/obj/item/clothing/glasses/hud/health(src)
|
|
return
|
|
*/
|
|
/obj/item/clothing/glasses/sunglasses/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
//Shoes
|
|
/obj/item/clothing/shoes/black/bst
|
|
name = "bluespace technician's shoes"
|
|
desc = "A pair of black shoes with extra grip. The letters 'BST' are stamped on the side."
|
|
icon_state = "black"
|
|
flags = NOSLIP
|
|
canremove = 0
|
|
|
|
/obj/item/clothing/shoes/black/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
return 1 //Because Bluespace
|
|
|
|
//ID
|
|
/obj/item/weapon/card/id/bst
|
|
icon_state = "centcom"
|
|
desc = "An ID straight from Central Command. This one looks highly classified."
|
|
// canremove = 0
|
|
New()
|
|
access = get_all_accesses()+get_all_centcom_access()+get_all_syndicate_access()
|
|
|
|
/obj/item/weapon/card/id/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
/obj/item/device/pda/captain/bst
|
|
hidden = 1
|
|
message_silent = 1
|
|
// ttone = "DO SOMETHING HERE"
|
|
|
|
/obj/item/device/pda/captain/bst/attack_hand()
|
|
if(!usr)
|
|
return
|
|
if(!istype(usr, /mob/living/carbon/human/bst))
|
|
usr << span("alert", "Your hand seems to go right through the [src]. It's like it doesn't exist.")
|
|
return
|
|
else
|
|
..()
|
|
|
|
/mob/living/carbon/human/bst/restrained()
|
|
return 0
|