mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 07:57:50 +00:00
dude_bombs_lmao (#38611)
* dudebombs_ihategitwithavengeance * yeah, gal o sengen * yeah, gal-o sengen Co-authored-by: Eneocho <67024428+Eneocho@users.noreply.github.com> * YEAH, GAL-O SENGEN Co-authored-by: Eneocho <67024428+Eneocho@users.noreply.github.com> * line comments friend from the west part 2 * fix sound vary & illegal proc override --------- Co-authored-by: Eneocho <67024428+Eneocho@users.noreply.github.com>
This commit is contained in:
37
code/game/objects/items/weapons/grenades/dudebomb.dm
Normal file
37
code/game/objects/items/weapons/grenades/dudebomb.dm
Normal file
@@ -0,0 +1,37 @@
|
||||
/obj/item/weapon/grenade/dudebomb
|
||||
name = "dudebomb"
|
||||
icon_state = "dudebomb"
|
||||
item_state = "dudebomb"
|
||||
origin_tech = Tc_MATERIALS + "=1;" + Tc_COMBAT + "=2"
|
||||
det_time = 12 SECONDS
|
||||
armsound = 'sound/weapons/dudebomb.ogg'
|
||||
|
||||
/obj/item/weapon/grenade/dudebomb/prime()
|
||||
var/turf/you_vile_cur = get_turf(src)
|
||||
if(!you_vile_cur)
|
||||
return
|
||||
var/list/dudes_to_bomb = get_all_mobs_in_dview(you_vile_cur, ignore_types = list(/mob/living/carbon/brain, /mob/living/silicon))
|
||||
for(var/mob/living/M in dudes_to_bomb)
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/GOGOGOGOGOGO = M
|
||||
if(!GOGOGOGOGOGO.stat)
|
||||
GOGOGOGOGOGO.say("Yeah, Gal-O Sengen.")
|
||||
spawn(2 SECONDS)
|
||||
var/turf/T = get_turf(GOGOGOGOGOGO)
|
||||
T.turf_animation('icons/effects/96x96.dmi',"beamin",-32,0,MOB_LAYER+1,null,anim_plane = MOB_PLANE)
|
||||
GOGOGOGOGOGO.GALize()
|
||||
qdel(src)
|
||||
|
||||
/obj/item/weapon/grenade/dudebomb/attack_self(mob/user as mob)
|
||||
if(!active)
|
||||
if(clown_check(user))
|
||||
to_chat(user, "<span class='attack'>You prime \the [name]! [det_time/10] seconds!</span>")
|
||||
|
||||
activate(user, FALSE)
|
||||
add_fingerprint(user)
|
||||
if(iscarbon(user))
|
||||
var/mob/living/carbon/C = user
|
||||
C.throw_mode_on()
|
||||
|
||||
/obj/item/weapon/grenade/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
to_chat(user, "<span class = 'warning'>YEAH, GAL-O SENGEN.</span>")
|
||||
@@ -68,7 +68,7 @@
|
||||
return
|
||||
|
||||
|
||||
/obj/item/weapon/grenade/proc/activate(mob/user as mob)
|
||||
/obj/item/weapon/grenade/proc/activate(mob/user as mob, var/modulatesound = TRUE)
|
||||
if(active)
|
||||
return
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
icon_state = initial(icon_state) + "_active"
|
||||
active = 1
|
||||
playsound(loc, armsound, 75, 1, -3)
|
||||
playsound(loc, armsound, 75, modulatesound, -3)
|
||||
|
||||
spawn(det_time)
|
||||
if(gcDestroyed)
|
||||
|
||||
@@ -390,6 +390,7 @@
|
||||
/obj/item/clothing/under/grey/grey_soldier,
|
||||
/obj/item/clothing/under/grey/grey_researcher,
|
||||
/obj/machinery/power/supermatter/shard,
|
||||
/obj/item/weapon/grenade/dudebomb,
|
||||
),
|
||||
VERY_RARE_LOOT = list(
|
||||
/obj/item/weapon/nullrod/sword/chaos/mimicry,
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 220 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 218 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 16 KiB |
BIN
sound/weapons/dudebomb.ogg
Normal file
BIN
sound/weapons/dudebomb.ogg
Normal file
Binary file not shown.
@@ -1141,6 +1141,7 @@
|
||||
#include "code\game\objects\items\weapons\grenades\chem_grenade.dm"
|
||||
#include "code\game\objects\items\weapons\grenades\chronogrenade.dm"
|
||||
#include "code\game\objects\items\weapons\grenades\clowngrenade.dm"
|
||||
#include "code\game\objects\items\weapons\grenades\dudebomb.dm"
|
||||
#include "code\game\objects\items\weapons\grenades\emgrenade.dm"
|
||||
#include "code\game\objects\items\weapons\grenades\flashbang.dm"
|
||||
#include "code\game\objects\items\weapons\grenades\ghettobomb.dm"
|
||||
|
||||
Reference in New Issue
Block a user