mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-15 00:52:36 +01:00
Finishes UFO PoI
This commit is contained in:
@@ -100,6 +100,8 @@ var/list/GPS_list = list()
|
||||
|
||||
var/area/their_area = get_area(G)
|
||||
var/area_name = their_area.name
|
||||
if(istype(their_area, /area/submap))
|
||||
area_name = "Unknown Area" // Avoid spoilers.
|
||||
var/coord = "[T.x], [T.y], [T.z]"
|
||||
var/degrees = round(Get_Angle(curr, T))
|
||||
var/direction = uppertext(dir2text(get_dir(curr, T)))
|
||||
@@ -202,4 +204,8 @@ var/list/GPS_list = list()
|
||||
|
||||
/obj/item/device/gps/internal/base
|
||||
gps_tag = "NT_BASE"
|
||||
desc = "A homing signal from NanoTrasen's outpost."
|
||||
desc = "A homing signal from NanoTrasen's outpost."
|
||||
|
||||
/obj/item/device/gps/internal/alien_vessel
|
||||
gps_tag = "Mysterious Signal"
|
||||
desc = "A signal that seems forboding."
|
||||
@@ -133,7 +133,7 @@ Frequency:
|
||||
|
||||
/obj/item/weapon/hand_tele/attack_self(mob/user as mob)
|
||||
var/turf/current_location = get_turf(user)//What turf is the user on?
|
||||
if(!current_location||current_location.z==2||current_location.z>=7)//If turf was not found or they're on z level 2 or >7 which does not currently exist.
|
||||
if(!current_location||current_location.z==2||current_location.z>=7 || current_location.block_tele)//If turf was not found or they're on z level 2 or >7 which does not currently exist.
|
||||
user << "<span class='notice'>\The [src] is malfunctioning.</span>"
|
||||
return
|
||||
var/list/L = list( )
|
||||
@@ -148,6 +148,7 @@ Frequency:
|
||||
for(var/turf/T in orange(10))
|
||||
if(T.x>world.maxx-8 || T.x<8) continue //putting them at the edge is dumb
|
||||
if(T.y>world.maxy-8 || T.y<8) continue
|
||||
if(T.block_tele) continue
|
||||
turfs += T
|
||||
if(turfs.len)
|
||||
L["None (Dangerous)"] = pick(turfs)
|
||||
|
||||
@@ -480,11 +480,20 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
|
||||
// May contain powercells or alien weaponry.
|
||||
/obj/structure/loot_pile/surface/alien/security
|
||||
uncommon_loot = list(
|
||||
/obj/item/weapon/cell/device/weapon/recharge/alien
|
||||
/obj/item/weapon/cell/device/weapon/recharge/alien,
|
||||
/obj/item/clothing/suit/armor/alien,
|
||||
/obj/item/clothing/head/helmet/alien
|
||||
)
|
||||
rare_loot = list(
|
||||
/obj/item/clothing/suit/armor/alien/tank,
|
||||
/obj/item/weapon/gun/energy/alien
|
||||
)
|
||||
|
||||
// The pile found at the very end, and as such has the best loot.
|
||||
/obj/structure/loot_pile/surface/alien/end
|
||||
chance_uncommon = 30
|
||||
chance_rare = 10
|
||||
|
||||
common_loot = list(
|
||||
/obj/item/device/multitool/alien,
|
||||
/obj/item/stack/cable_coil/alien,
|
||||
@@ -504,8 +513,13 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
|
||||
/obj/item/weapon/surgical/surgicaldrill/alien,
|
||||
|
||||
/obj/item/weapon/cell/device/weapon/recharge/alien,
|
||||
/obj/item/clothing/suit/armor/alien,
|
||||
/obj/item/clothing/head/helmet/alien,
|
||||
/obj/item/weapon/gun/energy/alien
|
||||
)
|
||||
uncommon_loot = list(
|
||||
/obj/item/weapon/storage/belt/medical/alien,
|
||||
/obj/item/weapon/storage/belt/utility/alien/full
|
||||
/obj/item/weapon/storage/belt/utility/alien/full,
|
||||
/obj/item/clothing/suit/armor/alien/tank,
|
||||
/obj/item/clothing/head/helmet/alien/tank,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user