mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
stuff
This commit is contained in:
@@ -200,13 +200,13 @@
|
||||
target.client.create_fake_ad_popup_multiple(/obj/screen/popup/default, 15)
|
||||
|
||||
if("peppernade")
|
||||
var/obj/item/weapon/grenade/chem_grenade/teargas/grenade = new /obj/item/weapon/grenade/chem_grenade/teargas
|
||||
var/obj/item/grenade/chem_grenade/teargas/grenade = new /obj/item/grenade/chem_grenade/teargas
|
||||
grenade.loc = target.loc
|
||||
to_chat(target,"<span class='warning'>GRENADE?!</span>")
|
||||
grenade.detonate()
|
||||
|
||||
if("spicerequest")
|
||||
var/obj/item/weapon/reagent_containers/food/condiment/spacespice/spice = new /obj/item/weapon/reagent_containers/food/condiment/spacespice
|
||||
var/obj/item/reagent_containers/food/condiment/spacespice/spice = new /obj/item/reagent_containers/food/condiment/spacespice
|
||||
spice.loc = target.loc
|
||||
to_chat(target,"A bottle of spices appears at your feet... be careful what you wish for!")
|
||||
|
||||
@@ -468,7 +468,7 @@
|
||||
return
|
||||
|
||||
for(var/obj/item/W in Tar)
|
||||
if(istype(W, /obj/item/weapon/implant/backup) || istype(W, /obj/item/device/nif)) //VOREStation Edit - There's basically no reason to remove either of these
|
||||
if(istype(W, /obj/item/implant/backup) || istype(W, /obj/item/nif)) //VOREStation Edit - There's basically no reason to remove either of these
|
||||
continue //VOREStation Edit
|
||||
Tar.drop_from_inventory(W)
|
||||
|
||||
@@ -534,15 +534,15 @@
|
||||
to_chat(user,"<span class='warning'>Target already has a NIF.</span>")
|
||||
return
|
||||
if(Tar.species.flags & NO_SCAN)
|
||||
var/obj/item/device/nif/S = /obj/item/device/nif/bioadap
|
||||
var/obj/item/nif/S = /obj/item/nif/bioadap
|
||||
input_NIF = initial(S.name)
|
||||
new /obj/item/device/nif/bioadap(Tar)
|
||||
new /obj/item/nif/bioadap(Tar)
|
||||
else
|
||||
var/list/NIF_types = typesof(/obj/item/device/nif)
|
||||
var/list/NIF_types = typesof(/obj/item/nif)
|
||||
var/list/NIFs = list()
|
||||
|
||||
for(var/NIF_type in NIF_types)
|
||||
var/obj/item/device/nif/S = NIF_type
|
||||
var/obj/item/nif/S = NIF_type
|
||||
NIFs[capitalize(initial(S.name))] = NIF_type
|
||||
|
||||
var/list/show_NIFs = sortList(NIFs) // the list that will be shown to the user to pick from
|
||||
@@ -553,7 +553,7 @@
|
||||
if(chosen_NIF)
|
||||
new chosen_NIF(Tar)
|
||||
else
|
||||
new /obj/item/device/nif(Tar)
|
||||
new /obj/item/nif(Tar)
|
||||
log_and_message_admins("[key_name(user)] Quick NIF'd [Tar.real_name] with a [input_NIF].")
|
||||
|
||||
if("resize")
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
continue
|
||||
H.Paralyse(5)
|
||||
if(H.wear_id)
|
||||
var/obj/item/weapon/card/id/id = H.get_idcard()
|
||||
var/obj/item/card/id/id = H.get_idcard()
|
||||
for(var/A in id.GetAccess())
|
||||
if(A == access_security)
|
||||
security++
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
target.module_reset(FALSE)
|
||||
if(MODIFIY_ROBOT_TOGGLE_STATION_ACCESS)
|
||||
if(target?.idcard?.GetAccess())
|
||||
var/obj/item/weapon/card/id/synthetic/card = target.idcard
|
||||
var/obj/item/card/id/synthetic/card = target.idcard
|
||||
if(access_synth in card.GetAccess())
|
||||
card.access -= get_all_station_access()
|
||||
card.access -= access_synth
|
||||
@@ -357,7 +357,7 @@
|
||||
to_chat(usr, "<span class='danger'>You grant station access to [target].</span>")
|
||||
if(MODIFIY_ROBOT_TOGGLE_CENT_ACCESS)
|
||||
if(target?.idcard?.GetAccess())
|
||||
var/obj/item/weapon/card/id/synthetic/card = target.idcard
|
||||
var/obj/item/card/id/synthetic/card = target.idcard
|
||||
if(access_cent_specops in card.GetAccess())
|
||||
card.access -= get_all_centcom_access()
|
||||
to_chat(usr, "<span class='danger'>You revoke central access from [target].</span>")
|
||||
|
||||
Reference in New Issue
Block a user