mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
## About The Pull Request Adds a new ruin: Anomaly Research Center! Researcher Anna Molly disappeared along with 20 anomaly cores, where could she have gone?  <details> <summary>Pictures</summary> (a bit outdated but not that much)           </details> <details> <summary>Loot and hazards</summary> **Loot** - (1) Raw anomaly core - NO ANOMALY CORES - Empty anomaly armor, empty bag of holding - Bunch of anomaly neutralizers - 5u of wittel (guarded by anomaly) - (5) New anomaly releaser, use on an anomaly core to release and stabilize the anomaly, removing the decay timer **Hazards** Area is guarded with "hollow" anomalies, stable and coreless (flux, bluespace, hallucination, delimber) They cannot be signalled, but the anomaly neutralizes will make them go away BEEEG ANOMALIE: Spawns with a contained supermassive anomaly. There's four possible big anomalies that can spawn: - Mega Bluespace: Has a longer reach and can teleport further. On touch, teleports you all over space for 10 seconds - Mega gravity: Distorts the area around it, as strong as the rare gravity anomaly, but with extreme moveforce - Mega Pyro: Creates more plasma, turns the tile it's on into lava, dusts on touch - Mega Flux: Extra damage, dusts on touch, shoots lightning </details> ### Mapping March Ckey to receive rewards: timegreen ## Why It's Good For The Game I think we're overdue for an anomaly ruin. The ruin has some unique loot that could be really fun, but not devastating, to play around with on the station. The mega-anomaly is also pretty cool. ## Changelog 🆑 add: Researcher Anna Nomally has disappeared into space, carrying 20 anomaly cores. What could she be up to? /🆑 --------- Co-authored-by: Sealed101 <75863639+Sealed101@users.noreply.github.com>
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
///Use on an anomaly core to "awake" the anomaly and stabilize it
|
|
/obj/item/anomaly_releaser
|
|
name = "anomaly releaser"
|
|
desc = "Single-use injector that releases and stabilizes anomalies by injecting an unknown substance."
|
|
icon = 'icons/obj/device.dmi'
|
|
icon_state = "anomaly_releaser"
|
|
inhand_icon_state = "stimpen"
|
|
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
|
|
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
|
|
throwforce = 0
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
throw_speed = 3
|
|
throw_range = 5
|
|
|
|
///icon state after being used up
|
|
var/used_icon_state = "anomaly_releaser_used"
|
|
///are we used? if used we can't be used again
|
|
var/used = FALSE
|
|
///Can we be used infinitely?
|
|
var/infinite = FALSE
|
|
|
|
/obj/item/anomaly_releaser/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
|
|
. = ..()
|
|
|
|
if(used || !proximity_flag || !istype(target, /obj/item/assembly/signaler/anomaly))
|
|
return
|
|
|
|
if(!do_after(user, 3 SECONDS, target))
|
|
return
|
|
|
|
var/obj/item/assembly/signaler/anomaly/core = target
|
|
|
|
if(!core.anomaly_type)
|
|
return
|
|
|
|
var/obj/effect/anomaly/anomaly = new core.anomaly_type(get_turf(core))
|
|
anomaly.stabilize()
|
|
|
|
if(infinite)
|
|
return
|
|
|
|
icon_state = used_icon_state
|
|
used = TRUE
|
|
name = "used " + name
|
|
|
|
qdel(core)
|