mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
New to init final (#17512)
* Initial * some more * next few * only light left * fix things up * some rmore fixes * guh * Update ai_vr.dm * comment * lets try something * . * hmm * . * . * hmm * push that here * fix layout * grrr
This commit is contained in:
@@ -50,11 +50,11 @@
|
||||
/obj/item/radio/headset/handle_message_mode(mob/living/M as mob, list/message_pieces, channel)
|
||||
if(channel == "special")
|
||||
if(translate_binary)
|
||||
var/datum/language/binary = GLOB.all_languages["Robot Talk"]
|
||||
var/datum/language/binary = GLOB.all_languages[LANGUAGE_ROBOT_TALK]
|
||||
binary.broadcast(M, M.strip_prefixes(multilingual_to_message(message_pieces)))
|
||||
return RADIO_CONNECTION_NON_SUBSPACE
|
||||
if(translate_hive)
|
||||
var/datum/language/hivemind = GLOB.all_languages["Hivemind"]
|
||||
var/datum/language/hivemind = GLOB.all_languages[LANGUAGE_HIVEMIND]
|
||||
hivemind.broadcast(M, M.strip_prefixes(multilingual_to_message(message_pieces)))
|
||||
return RADIO_CONNECTION_NON_SUBSPACE
|
||||
return RADIO_CONNECTION_FAIL
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
icon_state = "drop_marker"
|
||||
|
||||
/obj/effect/calldown_attack/Initialize(mapload)
|
||||
. = ..()
|
||||
var/delay = rand(25, 30)
|
||||
addtimer(CALLBACK(src, PROC_REF(spawn_object)), delay-7)
|
||||
|
||||
@@ -26,7 +27,7 @@
|
||||
icon = 'icons/effects/random_stuff_vr.dmi'
|
||||
|
||||
/obj/effect/illusionary_fall/Initialize(mapload)
|
||||
.=..()
|
||||
. = ..()
|
||||
icon_state = "[rand(1,33)]"
|
||||
|
||||
/obj/effect/illusionary_fall/end_fall(var/crushing = FALSE)
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
to_chat(user, span_warning("This [W] does not seem to fit."))
|
||||
return
|
||||
|
||||
var/mob/living/silicon/robot/O = new /mob/living/silicon/robot(get_turf(loc), unfinished = 1)
|
||||
var/mob/living/silicon/robot/O = new /mob/living/silicon/robot(get_turf(loc), FALSE, TRUE)
|
||||
if(!O) return
|
||||
|
||||
user.drop_item()
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
light_impact = 7
|
||||
flash_range = 7
|
||||
|
||||
/obj/item/syndie/c4explosive/New()
|
||||
/obj/item/syndie/c4explosive/Initialize(mapload)
|
||||
. = ..()
|
||||
var/K = rand(1,2000)
|
||||
K = md5(num2text(K)+name)
|
||||
K = copytext(K,1,7)
|
||||
@@ -51,8 +52,11 @@
|
||||
playsound(src, 'sound/weapons/armbomb.ogg', 75, 1)
|
||||
for(var/mob/O in hearers(src, null))
|
||||
O.show_message("[icon2html(src, O.client)] " + span_warning(" The [src.name] beeps!"))
|
||||
sleep(50)
|
||||
explosion(get_turf(src), devastate, heavy_impact, light_impact, flash_range)
|
||||
addtimer(CALLBACK(src, PROC_REF(do_detonate)), 5 SECONDS, TIMER_DELETE_ME)
|
||||
|
||||
/obj/item/syndie/c4explosive/proc/do_detonate()
|
||||
SHOULD_NOT_OVERRIDE(TRUE)
|
||||
PRIVATE_PROC(TRUE)
|
||||
for(var/dirn in cardinal) //This is to guarantee that C4 at least breaks down all immediately adjacent walls and doors.
|
||||
var/turf/simulated/wall/T = get_step(src,dirn)
|
||||
if(locate(/obj/machinery/door/airlock) in T)
|
||||
|
||||
Reference in New Issue
Block a user