mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +01:00
Merge remote-tracking branch 'Aurorastation/master' into modular_computer_enhancement
This commit is contained in:
@@ -301,6 +301,8 @@ var/list/gamemode_cache = list()
|
||||
var/fail2topic_rule_name = "_DD_Fail2topic"
|
||||
var/fail2topic_enabled = FALSE
|
||||
|
||||
var/time_to_call_emergency_shuttle = 36000 //how many time until the crew can call the transfer shuttle. One hour by default.
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
for (var/T in L)
|
||||
@@ -863,6 +865,9 @@ var/list/gamemode_cache = list()
|
||||
if("merchant_chance")
|
||||
config.merchant_chance = text2num(value)
|
||||
|
||||
if("time_to_call_emergency_shuttle")
|
||||
config.time_to_call_emergency_shuttle = text2num(value)
|
||||
|
||||
if("force_map")
|
||||
override_map = value
|
||||
|
||||
|
||||
@@ -225,11 +225,13 @@ var/datum/controller/subsystem/emergency_shuttle/emergency_shuttle
|
||||
|
||||
//returns 1 if the shuttle is not idle at centcom
|
||||
/datum/controller/subsystem/emergency_shuttle/proc/online()
|
||||
if (isnull(shuttle))
|
||||
return FALSE
|
||||
if (!shuttle.location) //not at centcom
|
||||
return 1
|
||||
return TRUE
|
||||
if (wait_for_launch || shuttle.moving_status != SHUTTLE_IDLE)
|
||||
return 1
|
||||
return 0
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
//returns 1 if the shuttle is currently in transit (or just leaving) to the station
|
||||
/datum/controller/subsystem/emergency_shuttle/proc/going_to_station()
|
||||
|
||||
@@ -126,10 +126,11 @@
|
||||
/obj/item/cell/slime
|
||||
name = "charged slime core"
|
||||
desc = "A yellow slime core infused with phoron, it crackles with power."
|
||||
description_info = "This slime core is energized with powerful bluespace energies, allowing it to regenerate ten percent of its charge every minute."
|
||||
origin_tech = list(TECH_POWER = 2, TECH_BIO = 4)
|
||||
icon = 'icons/mob/npc/slimes.dmi'
|
||||
icon_state = "yellow slime extract"
|
||||
maxcharge = 10000
|
||||
maxcharge = 15000
|
||||
matter = null
|
||||
var/next_recharge
|
||||
|
||||
@@ -143,7 +144,7 @@
|
||||
|
||||
/obj/item/cell/slime/process()
|
||||
if(next_recharge < world.time)
|
||||
charge += maxcharge / 10
|
||||
charge = min(charge + (maxcharge / 10), maxcharge)
|
||||
next_recharge = world.time + 1 MINUTE
|
||||
|
||||
/obj/item/cell/device/emergency_light
|
||||
|
||||
@@ -106,5 +106,5 @@
|
||||
set desc = "Launches the CCIA Shuttle."
|
||||
set category = "Special Verbs"
|
||||
|
||||
var/datum/shuttle/autodock/ferry/S = SSshuttle.shuttles["Centcom"]
|
||||
var/datum/shuttle/autodock/ferry/S = SSshuttle.shuttles["Agent Shuttle"]
|
||||
S.launch(usr)
|
||||
|
||||
@@ -389,8 +389,8 @@ Command action procs
|
||||
to_chat(user, SPAN_WARNING("The emergency shuttle cannot be sent at this time. Please try again later."))
|
||||
return FALSE
|
||||
|
||||
if(world.time < 6000) // Ten minute grace period to let the game get going without lolmetagaming. -- TLE
|
||||
to_chat(user, SPAN_WARNING("The emergency shuttle is refueling. Please wait another [round((6000-world.time)/600)] minute\s before trying again."))
|
||||
if(world.time < config.time_to_call_emergency_shuttle)
|
||||
to_chat(user, "The emergency shuttle is refueling. Please wait another [round((config.time_to_call_emergency_shuttle-world.time)/600)] minute\s before trying again.")
|
||||
return 0
|
||||
|
||||
if(emergency_shuttle.going_to_centcom())
|
||||
|
||||
@@ -569,6 +569,7 @@
|
||||
description = "A theta-lactam antibiotic, effective against wound and organ bacterial infections."
|
||||
reagent_state = LIQUID
|
||||
color = "#41C141"
|
||||
metabolism = REM * 0.05
|
||||
breathe_met = REM * 2 // .4 units per tick
|
||||
// touch is slow
|
||||
overdose = REAGENTS_OVERDOSE
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/obj/structure/crystal/New()
|
||||
..()
|
||||
|
||||
icon_state = pick("ano70","ano80")
|
||||
icon_state = pick("crystal","crystal2")
|
||||
|
||||
desc = pick(\
|
||||
"It shines faintly as it catches the light.",\
|
||||
|
||||
@@ -400,6 +400,9 @@ STARLIGHT 0
|
||||
## Chance, in percentage, of the merchant job slot being open at round start
|
||||
MERCHANT_CHANCE 20
|
||||
|
||||
## How long before the crew can call the emergency shuttle. One hour by default.
|
||||
TIME_TO_CALL_EMERGENCY_SHUTTLE 36000
|
||||
|
||||
## Defines which races are allowed to join as ERT, in singular form. If unset, defaults to only human. Casing matters, separate using ;
|
||||
## Example races include: Human, Tajara, Skrell, Unathi
|
||||
# ERT_SPECIES Human;Skrell;Unathi
|
||||
|
||||
@@ -35,6 +35,32 @@
|
||||
-->
|
||||
<div class="commit sansserif">
|
||||
|
||||
<h2 class="date">14 April 2020</h2>
|
||||
<h3 class="author">Alberyk updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="tweak">The emergency shuttle can only be called after one hour into the round. This can be changed on the config file.</li>
|
||||
</ul>
|
||||
<h3 class="author">Geeves updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">Fixed slime core batteries from charging over their maxcharge cap.</li>
|
||||
<li class="tweak">Increased the slime core battery maxcharge cap from 10K to 15K. Added an informational description to the core.</li>
|
||||
</ul>
|
||||
<h3 class="author">Goret updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">Crystal artifacts don't show a missing sprite anymore.</li>
|
||||
<li class="bugfix">Thetamycin now metabolise at 0.01u per tick, as it used to be.</li>
|
||||
</ul>
|
||||
<h3 class="author">MattAtlas updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">The launch CCIA shuttle verb actually works now.</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="date">12 April 2020</h2>
|
||||
<h3 class="author">Geeves updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="bugfix">Fixed null emergency shuttles causing runtime errors when the game checks for status displays.</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="date">11 April 2020</h2>
|
||||
<h3 class="author">Ferner updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
|
||||
@@ -12684,3 +12684,20 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
|
||||
spices are shaken.
|
||||
Wowzewow (Wezzy):
|
||||
- imageadd: Adds inhands for some welders, drills, and combitools.
|
||||
2020-04-12:
|
||||
Geeves:
|
||||
- bugfix: Fixed null emergency shuttles causing runtime errors when the game checks
|
||||
for status displays.
|
||||
2020-04-14:
|
||||
Alberyk:
|
||||
- tweak: The emergency shuttle can only be called after one hour into the round.
|
||||
This can be changed on the config file.
|
||||
Geeves:
|
||||
- bugfix: Fixed slime core batteries from charging over their maxcharge cap.
|
||||
- tweak: Increased the slime core battery maxcharge cap from 10K to 15K. Added an
|
||||
informational description to the core.
|
||||
Goret:
|
||||
- bugfix: Crystal artifacts don't show a missing sprite anymore.
|
||||
- bugfix: Thetamycin now metabolise at 0.01u per tick, as it used to be.
|
||||
MattAtlas:
|
||||
- bugfix: The launch CCIA shuttle verb actually works now.
|
||||
|
||||
Reference in New Issue
Block a user