mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #10754 from VOREStation/Arokha/shiplight
2 Overmap Fixes
This commit is contained in:
committed by
Chompstation Bot
parent
ee2a4bbc77
commit
9dcda80a06
@@ -118,9 +118,10 @@
|
||||
return
|
||||
if(sensors && sensors.use_power && sensors.powered())
|
||||
var/sensor_range = round(sensors.range*1.5) + 1
|
||||
linked.set_light(sensor_range + 0.5, 4)
|
||||
linked.set_light_range(sensor_range + 0.5)
|
||||
linked.set_light_on(TRUE)
|
||||
else
|
||||
linked.set_light(0)
|
||||
linked.set_light_on(FALSE)
|
||||
|
||||
/obj/machinery/shipsensors
|
||||
name = "sensors suite"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
dir = NORTH
|
||||
icon_state = "ship"
|
||||
appearance_flags = TILE_BOUND|KEEP_TOGETHER|LONG_GLIDE //VOREStation Edit
|
||||
light_power = 4
|
||||
var/moving_state = "ship_moving"
|
||||
|
||||
var/vessel_mass = 10000 //tonnes, arbitrary number, affects acceleration provided by engines
|
||||
|
||||
Reference in New Issue
Block a user