mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
Merge branch 'master' of https://github.com/VOREStation/VOREStation into Taur-clothes-fix
This commit is contained in:
@@ -74,3 +74,14 @@
|
||||
path = /obj/item/clothing/glasses/sunglasses/sechud/tajblind
|
||||
//whitelisted = SPECIES_TAJ
|
||||
sort_category = "Xenowear"
|
||||
|
||||
// Taur stuff
|
||||
/datum/gear/suit/taur/drake_cloak
|
||||
display_name = "drake cloak (Drake-taur)"
|
||||
path = /obj/item/clothing/suit/drake_cloak
|
||||
sort_category = "Xenowear"
|
||||
|
||||
/datum/gear/suit/taur/white_dress
|
||||
display_name = "white wedding dress (Wolf/Horse-taur)"
|
||||
path = /obj/item/clothing/suit/taur_dress/white
|
||||
sort_category = "Xenowear"
|
||||
@@ -0,0 +1,31 @@
|
||||
/datum/event/drone_pod_drop
|
||||
announceWhen = 1
|
||||
var/turf/land_target = null
|
||||
var/attempt_amount = 10
|
||||
|
||||
/datum/event/drone_pod_drop/setup()
|
||||
startWhen = rand(8,15)
|
||||
if(LAZYLEN(using_map.meteor_strike_areas))
|
||||
var/turf/potential_target = null
|
||||
for(var/i=1, i <= attempt_amount, i++)
|
||||
potential_target = pick(get_area_turfs(pick(using_map.meteor_strike_areas)))
|
||||
if(potential_target.x < 7 || potential_target.x > world.maxx-7 || potential_target.y < 7 || potential_target.y > world.maxy-7)
|
||||
continue
|
||||
else
|
||||
land_target = potential_target
|
||||
break
|
||||
|
||||
if(!land_target)
|
||||
kill()
|
||||
|
||||
/datum/event/meteor_strike/announce()
|
||||
command_announcement.Announce("An unidentified drone pod has been detected landing near the surface facilty. Open and examine at your own risk.", "NanoTrasen Orbital Monitoring")
|
||||
|
||||
/datum/event/drone_pod_drop/start()
|
||||
if(istype(land_target, /turf/simulated/open))
|
||||
while(istype(land_target, /turf/simulated/open))
|
||||
land_target = GetBelow(land_target)
|
||||
if(!land_target)
|
||||
kill()
|
||||
|
||||
new /datum/random_map/droppod/supply(null, land_target.x-2, land_target.y-2, land_target.z, supplied_drops = list(/obj/structure/ghost_pod/manual/lost_drone))
|
||||
@@ -81,6 +81,7 @@
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Spider Infestation", /datum/event/spider_infestation, 30, list(ASSIGNMENT_SECURITY = 30), 1),
|
||||
//Evil grubs that drain station power slightly
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Grub Infestation", /datum/event/grub_infestation, 0, list(ASSIGNMENT_SECURITY = 10, ASSIGNMENT_ENGINEER = 30), 1),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Drone Pod Drop", /datum/event/drone_pod_drop, 10, list(ASSIGNMENT_SCIENTIST = 40), 1)
|
||||
)
|
||||
add_disabled_events(list(
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Appendicitis", /datum/event/spontaneous_appendicitis, 0, list(ASSIGNMENT_MEDICAL = 30), 1),
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
SSnanoui.user_logout(src) // this is used to clean up (remove) this user's Nano UIs
|
||||
player_list -= src
|
||||
disconnect_time = world.realtime //VOREStation Addition: logging when we disappear.
|
||||
//update_client_z(null) //VOREStation TEST Removal: potential source of restart crashes
|
||||
update_client_z(null)
|
||||
log_access_out(src)
|
||||
if(admin_datums[src.ckey])
|
||||
if (ticker && ticker.current_state == GAME_STATE_PLAYING) //Only report this stuff if we are currently playing.
|
||||
|
||||
Reference in New Issue
Block a user