mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Cryokinesis and Geladikinesis mutations (#42453)
* Adds cryokinesis and renames the cold resistence file to space adaptation * adds cryokinesis * fixes icon conflict is there actually a proper way to fix them thats not copying master and reimplimenting your own sprites? * fixes a typo and lowers instability of cryokines by 5 * Apply suggestions from code review Co-Authored-By: Time-Green <timkoster1@hotmail.com> * maybe reverts line ending? * unfucks flags? * probably unfucks line endings i swear to fucking god why does it even do this. i never even touched the file and reverting it to master doesnt do anything. fuck you git
This commit is contained in:
@@ -16,3 +16,14 @@
|
||||
/obj/item/projectile/temp/hot
|
||||
name = "heat beam"
|
||||
temperature = 400
|
||||
|
||||
/obj/item/projectile/temp/cryo
|
||||
name = "cryo beam"
|
||||
range = 3
|
||||
|
||||
/obj/item/projectile/temp/cryo/on_range()
|
||||
var/turf/T = get_turf(src)
|
||||
if(isopenturf(T))
|
||||
var/turf/open/O = T
|
||||
O.freon_gas_act()
|
||||
return ..()
|
||||
|
||||
@@ -80,11 +80,11 @@
|
||||
school = "conjuration"
|
||||
charge_max = 150
|
||||
cooldown_min = 10
|
||||
var/delete_old = TRUE //TRUE to delete the last summoned object if it's still there, FALSE for infinite item stream weeeee
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/conjure_item/cast(list/targets, mob/user = usr)
|
||||
if (item && !QDELETED(item))
|
||||
qdel(item)
|
||||
item = null
|
||||
if (delete_old && item && !QDELETED(item))
|
||||
QDEL_NULL(item)
|
||||
else
|
||||
for(var/mob/living/carbon/C in targets)
|
||||
if(C.dropItemToGround(C.get_active_held_item()))
|
||||
|
||||
Reference in New Issue
Block a user