mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-30 23:46:43 +01:00
Merge pull request #3474 from VOREStation/vplk-fix-telesci
Close infinite bluespace crystal loophole in telesci computer construction
This commit is contained in:
@@ -22,17 +22,13 @@
|
||||
// Based on the distance used
|
||||
var/teleport_cooldown = 0
|
||||
var/teleporting = 0
|
||||
var/starting_crystals = 2
|
||||
var/starting_crystals = 0
|
||||
var/max_crystals = 4
|
||||
// Used to adjust OP-ness: (4 crystals * 6 efficiency * 12.5 coefficient) = 300 range.
|
||||
var/powerCoefficient = 12.5
|
||||
var/list/crystals = list()
|
||||
var/obj/item/device/gps/inserted_gps
|
||||
|
||||
/obj/machinery/computer/telescience/New()
|
||||
..()
|
||||
recalibrate()
|
||||
|
||||
/obj/machinery/computer/telescience/Destroy()
|
||||
eject()
|
||||
if(inserted_gps)
|
||||
@@ -46,6 +42,7 @@
|
||||
|
||||
/obj/machinery/computer/telescience/initialize()
|
||||
. = ..()
|
||||
recalibrate()
|
||||
for(var/i = 1; i <= starting_crystals; i++)
|
||||
crystals += new /obj/item/weapon/ore/bluespace_crystal/artificial(src) // starting crystals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user