mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Gamer(025) moment
This commit is contained in:
@@ -229,12 +229,24 @@
|
||||
cost = 3
|
||||
no_coexistance_typecache = /obj/effect/proc_holder/spell/targeted/infinite_guns/arcane_barrage
|
||||
|
||||
/datum/spellbook_entry/infinite_guns/Refund(mob/living/carbon/human/user, obj/item/spellbook/book)
|
||||
for (var/obj/item/currentItem in user.get_all_gear())
|
||||
if (currentItem.type == /obj/item/gun/ballistic/rifle/boltaction/enchanted)
|
||||
qdel(currentItem)
|
||||
return ..()
|
||||
|
||||
/datum/spellbook_entry/arcane_barrage
|
||||
name = "Arcane Barrage"
|
||||
spell_type = /obj/effect/proc_holder/spell/targeted/infinite_guns/arcane_barrage
|
||||
cost = 3
|
||||
no_coexistance_typecache = /obj/effect/proc_holder/spell/targeted/infinite_guns/gun
|
||||
|
||||
/datum/spellbook_entry/arcane_barrage/Refund(mob/living/carbon/human/user, obj/item/spellbook/book)
|
||||
for (var/obj/item/currentItem in user.get_all_gear())
|
||||
if (currentItem.type == /obj/item/gun/ballistic/rifle/boltaction/enchanted/arcane_barrage)
|
||||
qdel(currentItem)
|
||||
return ..()
|
||||
|
||||
/datum/spellbook_entry/barnyard
|
||||
name = "Barnyard Curse"
|
||||
spell_type = /obj/effect/proc_holder/spell/pointed/barnyardcurse
|
||||
|
||||
@@ -102,6 +102,8 @@
|
||||
/obj/item/gun/ballistic/rifle/boltaction/enchanted/dropped()
|
||||
. = ..()
|
||||
guns_left = 0
|
||||
magazine = null
|
||||
chambered = null
|
||||
|
||||
/obj/item/gun/ballistic/rifle/boltaction/enchanted/proc/discard_gun(mob/living/user)
|
||||
user.throw_item(pick(oview(7,get_turf(user))))
|
||||
|
||||
Reference in New Issue
Block a user