mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Merge branch 'master' into development
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#define BUCKET_LEN (world.fps*1*60) //how many ticks should we keep in the bucket. (1 minutes worth)
|
||||
#define BUCKET_LEN (round(10*(60/world.tick_lag), 1)) //how many ticks should we keep in the bucket. (1 minutes worth)
|
||||
#define BUCKET_POS(timer) (round((timer.timeToRun - SStimer.head_offset) / world.tick_lag) + 1)
|
||||
#define TIMER_ID_MAX (2**24) //max float with integer precision
|
||||
|
||||
@@ -30,12 +30,13 @@ var/datum/controller/subsystem/timer/SStimer
|
||||
var/static/bucket_auto_reset = TRUE
|
||||
|
||||
var/static/times_flushed = 0
|
||||
var/static/times_crashed = 0
|
||||
|
||||
/datum/controller/subsystem/timer/New()
|
||||
NEW_SS_GLOBAL(SStimer)
|
||||
|
||||
/datum/controller/subsystem/timer/stat_entry(msg)
|
||||
..("B:[bucket_count] P:[length(processing)] H:[length(hashes)] C:[length(clienttime_timers)]")
|
||||
..("B:[bucket_count] P:[length(processing)] H:[length(hashes)] C:[length(clienttime_timers)][times_crashed ? " F:[times_crashed]" : ""]")
|
||||
|
||||
/datum/controller/subsystem/timer/fire(resumed = FALSE)
|
||||
var/lit = last_invoke_tick
|
||||
@@ -49,6 +50,7 @@ var/datum/controller/subsystem/timer/SStimer
|
||||
if(lit && lit < last_check && last_invoke_warning < last_check)
|
||||
last_invoke_warning = world.time
|
||||
var/msg = "No regular timers processed in the last [TIMER_NO_INVOKE_WARNING] ticks[bucket_auto_reset ? ", resetting buckets" : ""]!"
|
||||
times_crashed++
|
||||
message_admins(msg)
|
||||
WARNING(msg)
|
||||
if(bucket_auto_reset)
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
if(density)
|
||||
open(1, user)
|
||||
else
|
||||
open(0, user)
|
||||
close()
|
||||
return
|
||||
|
||||
return ..()
|
||||
|
||||
@@ -541,14 +541,9 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
log.parameters["realname"] = signal.data["realname"]
|
||||
log.parameters["language"] = signal.data["language"]
|
||||
|
||||
var/race = "unknown"
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
race = "[H.species.name]"
|
||||
log.parameters["intelligible"] = 1
|
||||
else if(isbrain(M))
|
||||
var/mob/living/carbon/brain/B = M
|
||||
race = "[B.species.name]"
|
||||
var/race = "Unknown"
|
||||
if(ishuman(M) || isbrain(M))
|
||||
race = "Sapient Species"
|
||||
log.parameters["intelligible"] = 1
|
||||
else if(M.isMonkey())
|
||||
race = "Monkey"
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
name = "fire alarm frame"
|
||||
desc = "Used for building fire alarms."
|
||||
build_machine_type = /obj/machinery/firealarm
|
||||
reverse = 1
|
||||
|
||||
/obj/item/frame/air_alarm
|
||||
name = "air alarm frame"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/mecha/working/ripley/firefighter
|
||||
desc = "Standart APLU chassis was refitted with additional thermal protection and cistern."
|
||||
desc = "Standard APLU chassis was refitted with additional thermal protection and cistern."
|
||||
name = "APLU \"Firefighter\""
|
||||
icon_state = "firefighter"
|
||||
initial_icon = "firefighter"
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
icon_state = "echair0"
|
||||
else
|
||||
on = 1
|
||||
shock()
|
||||
icon_state = "echair1"
|
||||
usr << "<span class='notice'>You switch [on ? "on" : "off"] [src].</span>"
|
||||
return
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
/datum/category_item/player_setup_item/other/incidents/load_special(var/savefile/S)
|
||||
pref.incidents = list()
|
||||
pref.ccia_actions = list()
|
||||
|
||||
//Special Aurora Snowflake to load in the ccia actions and persistant incidents
|
||||
if (config.sql_saves) // Doesnt work without db
|
||||
|
||||
@@ -329,7 +329,10 @@
|
||||
if (co_updated)
|
||||
// We might be facing a wall now.
|
||||
var/turf/front = get_step(source_turf, old_direction)
|
||||
facing_opaque = (front && front.has_opaque_atom)
|
||||
var/new_fo = (front && front.has_opaque_atom)
|
||||
if (new_fo != facing_opaque)
|
||||
facing_opaque = new_fo
|
||||
regenerate_angle(ndir)
|
||||
|
||||
update = TRUE
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
if (I_GRAB)
|
||||
if (M == src)
|
||||
return
|
||||
var/obj/item/weapon/grab/G = new /obj/item/weapon/grab( M, M, src )
|
||||
var/obj/item/weapon/grab/G = new /obj/item/weapon/grab( M, src )
|
||||
|
||||
M.put_in_active_hand(G)
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
see_in_dark = 8
|
||||
see_invisible = SEE_INVISIBLE_LEVEL_TWO
|
||||
else if (stat != 2 && is_ventcrawling == 0)
|
||||
if (species.vision_flags)
|
||||
if (species && species.vision_flags)
|
||||
sight = species.vision_flags
|
||||
else
|
||||
sight &= ~(SEE_TURFS|SEE_MOBS|SEE_OBJS)
|
||||
|
||||
@@ -128,8 +128,9 @@
|
||||
var/obj/effect/plant/plant = locate() in T
|
||||
if((environment.gas["phoron"] > 0 || (plant && plant.seed && plant.seed.name == "xenomorph")) && !regenerate(H))
|
||||
var/obj/item/organ/xenos/plasmavessel/P = H.internal_organs_by_name["plasma vessel"]
|
||||
P.stored_plasma += weeds_plasma_rate
|
||||
P.stored_plasma = min(max(P.stored_plasma,0),P.max_plasma)
|
||||
if(istype(P))
|
||||
P.stored_plasma += weeds_plasma_rate
|
||||
P.stored_plasma = min(max(P.stored_plasma,0),P.max_plasma)
|
||||
..()
|
||||
|
||||
/datum/species/xenos/proc/regenerate(var/mob/living/carbon/human/H)
|
||||
|
||||
@@ -145,17 +145,18 @@ var/list/ai_verbs_default = list(
|
||||
add_ai_verbs(src)
|
||||
|
||||
//Languages
|
||||
add_language("Robot Talk", 1)
|
||||
add_language("Ceti Basic", 1)
|
||||
add_language("Sol Common", 0)
|
||||
add_language(LANGUAGE_ROBOT, 1)
|
||||
add_language(LANGUAGE_TCB, 1)
|
||||
add_language(LANGUAGE_SOL_COMMON, 0)
|
||||
add_language(LANGUAGE_UNATHI, 0)
|
||||
add_language(LANGUAGE_SIIK_MAAS, 0)
|
||||
add_language(LANGUAGE_SKRELLIAN, 0)
|
||||
add_language("Tradeband", 1)
|
||||
add_language(LANGUAGE_TRADEBAND, 1)
|
||||
add_language(LANGUAGE_GUTTER, 0)
|
||||
add_language(LANGUAGE_VAURCA, 0)
|
||||
add_language("Rootsong", 0)
|
||||
add_language(LANGUAGE_ROOTSONG, 0)
|
||||
add_language(LANGUAGE_EAL, 1)
|
||||
add_language(LANGUAGE_YA_SSA, 0)
|
||||
|
||||
if(!safety)//Only used by AIize() to successfully spawn an AI.
|
||||
if (!B)//If there is no player/brain inside.
|
||||
|
||||
@@ -71,10 +71,11 @@
|
||||
var/datum/data/record/R = null
|
||||
if (ID in virusDB)
|
||||
R = virusDB[ID]
|
||||
|
||||
var/mob/living/carbon/human/D = B.data["donor"]
|
||||
|
||||
var/datum/weakref/A = B.data["donor"]
|
||||
var/mob/living/carbon/human/D = A.resolve()
|
||||
pathogen_pool.Add(list(list(\
|
||||
"name" = "[D.get_species()] [B.name]", \
|
||||
"name" = "[D ? D.get_species() : "unknown"] [B.name]", \
|
||||
"dna" = B.data["blood_DNA"], \
|
||||
"unique_id" = V.uniqueID, \
|
||||
"reference" = "\ref[V]", \
|
||||
@@ -188,8 +189,9 @@
|
||||
info += "<hr>"
|
||||
|
||||
for(var/datum/reagent/blood/B in sample.reagents.reagent_list)
|
||||
var/mob/living/carbon/human/D = B.data["donor"]
|
||||
info += "<large><u>[D.get_species()] [B.name]:</u></large><br>[B.data["blood_DNA"]]<br>"
|
||||
var/datum/weakref/A = B.data["donor"]
|
||||
var/mob/living/carbon/human/D = A.resolve()
|
||||
info += "<large><u>[D ? D.get_species() : "unknown"] [B.name]:</u></large><br>[B.data["blood_DNA"]]<br>"
|
||||
|
||||
var/list/virus = B.data["virus2"]
|
||||
info += "<u>Pathogens:</u> <br>"
|
||||
|
||||
@@ -56,6 +56,16 @@
|
||||
-->
|
||||
<div class="commit sansserif">
|
||||
|
||||
<h2 class="date">20 November 2017</h2>
|
||||
<h3 class="author">Alberyk updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="rscdel">Removed telecomms being able to identify the speaker's species with precision.</li>
|
||||
</ul>
|
||||
<h3 class="author">Lohikar updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">Fixed an issue where walking through doors with lights could screw up directional lighting.</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="date">11 November 2017</h2>
|
||||
<h3 class="author">TheGreatJorge updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
|
||||
@@ -4818,3 +4818,9 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
|
||||
2017-11-11:
|
||||
TheGreatJorge:
|
||||
- bugfix: Turret controls should now work with turrets correctly once again.
|
||||
2017-11-20:
|
||||
Alberyk:
|
||||
- rscdel: Removed telecomms being able to identify the speaker's species with precision.
|
||||
Lohikar:
|
||||
- bugfix: Fixed an issue where walking through doors with lights could screw up
|
||||
directional lighting.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: MoondancerPony
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Removed diona nymph mind control. (Players will no longer aggressively grab themselves when trying to grab a diona nymph.)"
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@@ -2345,10 +2345,6 @@
|
||||
icon_state = "rwindow";
|
||||
dir = 1
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/manifold/visible/red{
|
||||
icon_state = "map";
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/simple/visible/red{
|
||||
icon_state = "intact";
|
||||
dir = 5
|
||||
@@ -11523,7 +11519,7 @@
|
||||
"uT" = (
|
||||
/obj/machinery/door/airlock/engineering{
|
||||
name = "Medbay Substation";
|
||||
req_one_access = list(11,24,5)
|
||||
req_one_access = list(11,24)
|
||||
},
|
||||
/obj/machinery/door/firedoor,
|
||||
/turf/simulated/floor/plating,
|
||||
@@ -12224,7 +12220,7 @@
|
||||
/obj/machinery/door/firedoor,
|
||||
/obj/machinery/door/airlock/engineering{
|
||||
name = "Medbay Substation";
|
||||
req_one_access = list(11,24,5)
|
||||
req_one_access = list(11,24)
|
||||
},
|
||||
/obj/structure/cable/green{
|
||||
d1 = 1;
|
||||
@@ -14843,7 +14839,7 @@
|
||||
"AF" = (
|
||||
/obj/machinery/door/airlock/engineering{
|
||||
name = "Science Substation";
|
||||
req_one_access = list(11,24,7)
|
||||
req_one_access = list(11,24)
|
||||
},
|
||||
/obj/structure/cable/green{
|
||||
d1 = 1;
|
||||
@@ -14861,7 +14857,7 @@
|
||||
},
|
||||
/obj/machinery/door/airlock/engineering{
|
||||
name = "Science Substation";
|
||||
req_one_access = list(11,24,7)
|
||||
req_one_access = list(11,24)
|
||||
},
|
||||
/obj/machinery/door/firedoor,
|
||||
/turf/simulated/floor/plating,
|
||||
|
||||
@@ -4444,7 +4444,7 @@
|
||||
d2 = 8;
|
||||
icon_state = "2-8"
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/manifold/visible/red,
|
||||
/obj/machinery/atmospherics/pipe/manifold4w/visible/red,
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/engineering/atmos)
|
||||
"aiV" = (
|
||||
@@ -53314,7 +53314,7 @@
|
||||
},
|
||||
/obj/machinery/door/airlock/maintenance{
|
||||
name = "Maintenance Access";
|
||||
req_access = list(9)
|
||||
req_access = list(47)
|
||||
},
|
||||
/turf/simulated/floor/tiled/white,
|
||||
/area/maintenance/research_port)
|
||||
@@ -85193,7 +85193,7 @@ bKf
|
||||
bHJ
|
||||
bHJ
|
||||
bHJ
|
||||
bMr
|
||||
bKg
|
||||
bMP
|
||||
bal
|
||||
aKm
|
||||
|
||||
Reference in New Issue
Block a user