mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
* The Forbidden Tuna Can (#76064) ## About The Pull Request This PR was made to replace the well known uglymine sprite with something that doesn't look like a coder-sprite filler and instead looks like an actual landmine. Simple as that, there's not really anymore meat to this PR.  ## Why It's Good For The Game Replaces an older, depreciated sprite with something that has needed an upgrade for quite a long time now. ## Changelog 🆑 image: Added a new Land Mine sprite /🆑 * The Forbidden Tuna Can * update modular --------- Co-authored-by: Youtubeboy139 <jared.klaas@gmail.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
26 lines
876 B
Plaintext
26 lines
876 B
Plaintext
/obj/item/minespawner/explosive
|
|
name = "deactivated explosive landmine"
|
|
desc = "When activated, will deploy into a highly explosive mine after 3 seconds passes, perfect for lazy militarymen looking to cover their fortifications with no effort."
|
|
|
|
mine_type = /obj/effect/mine/explosive
|
|
|
|
/obj/item/minespawner/explosive/nri
|
|
|
|
mine_type = /obj/effect/mine/explosive/nri
|
|
|
|
/// A nerfed down version of a landmine I really should've done a long time ago but only did it now.
|
|
/obj/effect/mine/explosive/nri
|
|
name = "explosive mine"
|
|
range_devastation = 0
|
|
range_heavy = 0
|
|
range_light = 2
|
|
range_flame = 1
|
|
range_flash = 3
|
|
/// Stun time after an activation.
|
|
var/stun_time = 100
|
|
|
|
/obj/effect/mine/explosive/nri/mineEffect(mob/living/victim)
|
|
explosion(src, range_devastation, range_heavy, range_light, range_flame, range_flash)
|
|
if(isliving(victim))
|
|
victim.Paralyze(stun_time)
|