Add orbital minecart droppers (#13784)

This commit is contained in:
Wildkins
2022-05-08 18:15:11 +02:00
committed by GitHub
parent 80f33ee553
commit 846662dea1
7 changed files with 70 additions and 11 deletions
@@ -2,11 +2,21 @@
name = "drill dropper"
desc = "A device used to paint a target, which will then promptly orbitally drop the requested items. This drill literally pierces the heavens."
drop_message = "Stand by for drillfall, ETA ten seconds, clear the targetted area."
drop_message = "Stand by for drillfall, ETA ten seconds, clear the targeted area."
drop_message_emagged = "St%n^ b* for dr$llfa#l, ETA t@n s*c%&ds, RUN."
map = new /datum/map_template/drill
/obj/item/device/orbital_dropper/minecart
name = "minecart train dropper"
desc = "A device used to paint a target, which will then promptly orbitally drop the requested items. This one is configured to deliver an exoplanet-ready minecart train. Rails not included."
drop_message = "Stand by for trainfall, ETA ten seconds. Clear the targeted area."
drop_message_emagged = "St%n^ b* for tr$infa#l, ETA t@n s*c%&ds, CHOO CHOO!"
drop_amount = 1
map = new /datum/map_template/minecart
/obj/item/device/orbital_dropper/mecha
name = "mecha dropper"
desc = "A device used to paint a target, which will then promptly orbitally drop the requested items. This one feels vaguely familiar..."
@@ -65,4 +75,4 @@
/obj/item/device/orbital_dropper/icarus_drones/orbital_drop(var/turf/target, var/user)
log_and_message_admins("[key_name_admin(user)] has used a [src] at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[target.x];Y=[target.y];Z=[target.z]'>JMP</a>.")
for(var/i = 1, i <= num_of_drones, i++)
new /mob/living/simple_animal/hostile/icarus_drone(get_random_turf_in_range(target, 4, 2, TRUE))
new /mob/living/simple_animal/hostile/icarus_drone(get_random_turf_in_range(target, 4, 2, TRUE))