mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[MIRROR] Adds Ants, Decomposition, and some extras. (#6944)
* Adds Ants, Decomposition, and some extras. (#59634) Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com> * Adds Ants, Decomposition, and some extras. Co-authored-by: Wallemations <66052067+Wallemations@users.noreply.github.com> Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>
This commit is contained in:
co-authored by
Kylerace
Wallemations
parent
88b3b30c2d
commit
114347972a
@@ -257,3 +257,20 @@
|
||||
/obj/effect/decal/cleanable/garbage/Initialize()
|
||||
. = ..()
|
||||
AddElement(/datum/element/swabable, CELL_LINE_TABLE_SLUDGE, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 15)
|
||||
|
||||
/obj/effect/decal/cleanable/ants
|
||||
name = "space ants"
|
||||
desc = "A small colony of space ants. They're normally used to the vacuum of space, so they can't climb too well."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "spaceants"
|
||||
beauty = -150
|
||||
|
||||
/obj/effect/decal/cleanable/ants/Initialize(mapload)
|
||||
. = ..()
|
||||
var/scale = (rand(6, 8) / 10) + (rand(2, 5) / 50)
|
||||
transform = matrix(transform, scale, scale, MATRIX_SCALE)
|
||||
setDir(pick(GLOB.cardinals))
|
||||
reagents.add_reagent(/datum/reagent/ants, rand(2, 5))
|
||||
pixel_x = rand(-5, 5)
|
||||
pixel_y = rand(-5, 5)
|
||||
AddElement(/datum/element/caltrop, min_damage = 0.2, max_damage = 1, flags = (CALTROP_NOCRAWL | CALTROP_NOSTUN | CALTROP_BYPASS_SHOES), soundfile = 'sound/weapons/bite.ogg')
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
/obj/effect/decal/cleanable/wrapping = 5,
|
||||
/obj/effect/decal/cleanable/plastic = 5,
|
||||
/obj/effect/decal/cleanable/glass = 5,
|
||||
/obj/effect/decal/cleanable/dirt = 30
|
||||
/obj/effect/decal/cleanable/dirt = 30,
|
||||
/obj/effect/decal/cleanable/ants = 5,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user