mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-28 10:31:59 +00:00
* Batch 1 /obj/item/storage/firstaid/fire /obj/structure/bookcase /obj/item/book/random QDEL, not actually in the logs but returned wrong hint /obj/effect/landmark/start/wizard QDEL /obj/effect/landmark/start/wizard /obj/effect/landmark/start/new_player /obj/effect/landmark/latejoin /obj/effect/landmark/xeno_spawn /obj/effect/landmark/blobstart /obj/effect/landmark/secequipment /obj/effect/landmark/prisonwarp /obj/effect/landmark/ert_spawn /obj/effect/landmark/holding_facility /obj/effect/landmark/thunderdome/observe /obj/effect/landmark/thunderdome/one /obj/effect/landmark/thunderdome/two /obj/effect/landmark/thunderdome/admin * Batch 2 /obj/machinery/computer/operating /obj/machinery/computer/telecrystals/uplinker /obj/item/card/id/centcom /obj/item/card/id/syndicate /obj/item/card/id/captains_spare /obj/item/card/id/ert /obj/item/card/id/ert/Security /obj/item/card/id/ert/Engineer /obj/item/card/id/ert/Medical /obj/structure/trap /obj/machinery/magnetic_controller /obj/item/storage/toolbox /obj/structure/table * Batch 3 /obj/machinery/vending/snack/random /obj/machinery/vending/cola/random /obj/machinery/computer/pod /obj/machinery/computer/message_monitor /obj/machinery/computer/atmos_control /obj/item/implanter /obj/item/implantcase /obj/item/construction /turf/open/floor/grass /turf/open/floor/grass/snow/basalt /turf/open/floor/grass/fakebasalt /turf/open/floor/carpet /turf/open/floor/fakespace /turf/open/floor/light /turf/open/floor/mineral /turf/open/floor/mineral/abductor /turf/open/floor/circuit /turf/open/floor/clockwork /turf/open/floor/plating /turf/open/floor/engine/cult * Batch 4 /obj/item/storage/backpack/satchel/flat /obj/item/storage/backpack/satchel/flat/secret /turf/closed/indestructible/fakeglass /turf/closed/mineral/random /turf/closed/mineral/gibtonite /turf/closed/mineral /turf/open/floor /obj/effect/spawner/lootdrop * Batch 5 /obj/effect/spawner/lootdrop/maintenance /obj/effect/spawner/lootdrop/costume /obj/item/toy/eightball/broken /obj/item/toy/eightball /obj/item/toy/eightball/haunted /obj/item/device/electropack /obj/item/restraints/legcuffs/beartrap /obj/machinery/airlock_sensor /obj/item/storage/box/ingredients * Batch 6 /mob/living/simple_animal/hostile/carp/ranged /obj/structure/lattice/clockwork /obj/structure/lattice/clockwork/large /obj/structure/lattice/catwalk/clockwork /mob/living/simple_animal/hostile/mushroom /mob/living/carbon/alien /mob/living/carbon/alien/larva /mob/living/carbon/alien/humanoid /mob/living/carbon/alien/humanoid/drone /mob/living/carbon/alien/humanoid/royal/praetorian /mob/living/carbon/alien/humanoid/sentinel
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
/obj/item/implanter
|
|
name = "implanter"
|
|
desc = "A sterile automatic implant injector."
|
|
icon = 'icons/obj/items_and_weapons.dmi'
|
|
icon_state = "implanter0"
|
|
item_state = "syringe_0"
|
|
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
|
|
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
|
|
throw_speed = 3
|
|
throw_range = 5
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
origin_tech = "materials=2;biotech=3"
|
|
materials = list(MAT_METAL=600, MAT_GLASS=200)
|
|
var/obj/item/implant/imp = null
|
|
var/imp_type = null
|
|
|
|
|
|
/obj/item/implanter/update_icon()
|
|
if(imp)
|
|
icon_state = "implanter1"
|
|
origin_tech = imp.origin_tech
|
|
else
|
|
icon_state = "implanter0"
|
|
origin_tech = initial(origin_tech)
|
|
|
|
|
|
/obj/item/implanter/attack(mob/living/M, mob/user)
|
|
if(!istype(M))
|
|
return
|
|
if(user && imp)
|
|
if(M != user)
|
|
M.visible_message("<span class='warning'>[user] is attempting to implant [M].</span>")
|
|
|
|
var/turf/T = get_turf(M)
|
|
if(T && (M == user || do_mob(user, M, 50)))
|
|
if(src && imp)
|
|
if(imp.implant(M, user))
|
|
if (M == user)
|
|
to_chat(user, "<span class='notice'>You implant yourself.</span>")
|
|
else
|
|
M.visible_message("[user] has implanted [M].", "<span class='notice'>[user] implants you.</span>")
|
|
imp = null
|
|
update_icon()
|
|
else
|
|
to_chat(user, "<span class='warning'>[src] fails to implant [M].</span>")
|
|
|
|
/obj/item/implanter/attackby(obj/item/W, mob/user, params)
|
|
if(istype(W, /obj/item/pen))
|
|
var/t = stripped_input(user, "What would you like the label to be?", name, null)
|
|
if(user.get_active_held_item() != W)
|
|
return
|
|
if(!in_range(src, user) && loc != user)
|
|
return
|
|
if(t)
|
|
name = "implanter ([t])"
|
|
else
|
|
name = "implanter"
|
|
else
|
|
return ..()
|
|
|
|
/obj/item/implanter/Initialize(mapload)
|
|
. = ..()
|
|
if(imp_type)
|
|
imp = new imp_type(src)
|
|
update_icon()
|
|
|
|
/obj/item/implanter/adrenalin
|
|
name = "implanter (adrenalin)"
|
|
imp_type = /obj/item/implant/adrenalin
|
|
|
|
/obj/item/implanter/emp
|
|
name = "implanter (EMP)"
|
|
imp_type = /obj/item/implant/emp
|