Explorer Expansion: New Horizons (#6960)

* Large amount of work; Animal taming, shearing. Random animal spawns on sif grass/forest turfs. New PoIs, thermal poncho.

* Combat drone DMI moved to drones folder. Mining Drone subtype added. "Tameable" with ores, will collect and store ores when not in active combat.
This commit is contained in:
Mechoid
2020-05-01 11:19:21 -07:00
committed by GitHub
parent 0813d1db6b
commit aafd4b4fa6
95 changed files with 2145 additions and 594 deletions
+17 -11
View File
@@ -160,8 +160,8 @@
#define WEED_NODE_BASE "nodebase"
/obj/effect/alien/weeds
name = "weeds"
desc = "Weird purple weeds."
name = "growth"
desc = "Weird organic growth."
icon_state = "weeds"
anchored = 1
@@ -185,25 +185,28 @@
/obj/effect/alien/weeds/node
icon_state = "weednode"
name = "purple sac"
desc = "Weird purple octopus-like thing."
name = "glowing growth"
desc = "Weird glowing organic growth."
layer = ABOVE_TURF_LAYER+0.01
light_range = NODERANGE
var/node_range = NODERANGE
var/set_color = null
/obj/effect/alien/weeds/node/New()
..(src.loc, src)
/obj/effect/alien/weeds/node/New(var/newloc, var/newcolor = "#321D37")
var/obj/effect/alien/weeds/existing = locate() in get_turf(newloc)
if(existing)
qdel(existing)
if(newcolor)
set_color = newcolor
..(newloc, src)
/obj/effect/alien/weeds/node/Initialize()
..()
START_PROCESSING(SSobj, src)
spawn(1 SECOND)
if(color)
set_color = color
/obj/effect/alien/weeds/node/Destroy()
STOP_PROCESSING(SSobj, src)
..()
@@ -272,12 +275,15 @@ Alien plants should do something if theres a lot of poison
qdel(src)
return
if(!linked_node || (get_dist(linked_node, src) > linked_node.node_range) )
if(!linked_node)
return
if(linked_node != src)
color = linked_node.set_color
if(get_dist(linked_node, src) > linked_node.node_range)
return
direction_loop:
for(var/dirn in cardinal)
var/turf/T = get_step(src, dirn)
@@ -74,7 +74,7 @@
light_power = 0.5
light_color = "#8837A3"
/obj/effect/projectile/tungsten/impact
/obj/effect/projectile/impact/tungsten
icon_state = "impact_mhd_laser"
light_range = 4
light_power = 3
@@ -86,7 +86,7 @@
light_power = 0.5
light_color = "#FF0D00"
/obj/effect/projectile/tungsten/muzzle
/obj/effect/projectile/muzzle/tungsten
icon_state = "muzzle_mhd_laser"
light_range = 4
light_power = 3
@@ -109,8 +109,14 @@
light_power = 0.5
light_color = "#0066FF"
/obj/effect/projectile/tungsten/tracer
/obj/effect/projectile/tracer/tungsten
icon_state = "mhd_laser"
light_range = 4
light_power = 3
light_color = "#3300ff"
/obj/effect/projectile/tracer/cannon
icon_state = "cannon"
light_range = 1
light_power = 0.5
light_color = "#f6f2b6"