Merge remote-tracking branch 'upstream/master'

This commit is contained in:
keronshb
2021-11-11 19:33:14 -05:00
6 changed files with 51 additions and 58 deletions

View File

@@ -27,7 +27,7 @@
/datum/sprite_accessory/mam_body_markings/redpanda
name = "Redpanda"
icon_state = "redpanda"
covered_limbs = list("Head" = MATRIX_RED_BLUE, "Chest" = MATRIX_RED_GREEN, "Left Leg" = MATRIX_RED_GREEN, "Right Leg" = MATRIX_RED_GREEN, "Left Arm" = MATRIX_RED_GREEN, "Right Arm" = MATRIX_RED_GREEN)
covered_limbs = list("Head" = MATRIX_ALL, "Chest" = MATRIX_RED_GREEN, "Left Leg" = MATRIX_RED_GREEN, "Right Leg" = MATRIX_RED_GREEN, "Left Arm" = MATRIX_RED_GREEN, "Right Arm" = MATRIX_RED_GREEN)
/datum/sprite_accessory/mam_body_markings/bat
name = "Bat"

View File

@@ -90,6 +90,11 @@
max = safe_breath_dam_max,
damage_type = safe_damage_type
)
if(ispath(breathing_class))
var/datum/breathing_class/class = GLOB.gas_data.breathing_classes[breathing_class]
for(var/g in class.gases)
if(class.gases[g] > 0)
gas_min -= g
//TODO: lung health affects lung function
/obj/item/organ/lungs/onDamage(damage_mod) //damage might be too low atm.
@@ -196,9 +201,9 @@
mole_adjustments[entry] = -required_moles
mole_adjustments[breath_results[entry]] = required_moles
if(required_pp < safe_min)
var/multiplier = 0
var/multiplier = handle_too_little_breath(H, required_pp, safe_min, required_moles)
if(required_moles > 0)
multiplier = handle_too_little_breath(H, required_pp, safe_min, required_moles) / required_moles
multiplier /= required_moles
for(var/adjustment in mole_adjustments)
mole_adjustments[adjustment] *= multiplier
if(alert_category)
@@ -517,17 +522,20 @@
var/total_moles = breath.total_moles()
for(var/id in breath.get_gases())
var/this_pressure = PP(breath, id)
var/req_pressure = (this_pressure * SAFE_THRESHOLD_RATIO) - 1
if(req_pressure > 0)
gas_min[id] = req_pressure
if(id in gas_min)
var/req_pressure = (this_pressure * SAFE_THRESHOLD_RATIO) - 1
if(req_pressure > 0)
gas_min[id] = req_pressure
else
gas_min -= id // if there's not even enough of the gas to register, we shouldn't need it
if(id in gas_max)
gas_max[id] += this_pressure
var/bz = breath.get_moles(GAS_BZ)
var/bz = breath.get_moles(GAS_BZ) // snowflaked cause it's got special behavior, of course
if(bz)
BZ_trip_balls_min += bz
BZ_brain_damage_min += bz
gas_max[GAS_N2] = PP(breath, GAS_N2) + 5
gas_max[GAS_N2] = max(15, PP(breath, GAS_N2) + 3) // don't want ash lizards breathing on station; sometimes they might be able to, though
var/datum/breathing_class/class = GLOB.gas_data.breathing_classes[breathing_class]
var/o2_pp = class.get_effective_pp(breath)
safe_breath_min = min(3, 0.3 * o2_pp)

View File

@@ -50,6 +50,27 @@
-->
<div class="commit sansserif">
<h2 class="date">08 November 2021</h2>
<h3 class="author">timothyteakettle updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">fixes party pod sprite</li>
<li class="bugfix">fixes red panda head marking</li>
</ul>
<h2 class="date">06 November 2021</h2>
<h3 class="author">Putnam3145 updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Ashwalkers should no longer suffocate on lavaland (and hypothetical other future problems)</li>
<li class="bugfix">A gas mix with 0 oxygen should now properly suffocate you (or 0 plasma, for ashwalkers)</li>
</ul>
<h2 class="date">05 November 2021</h2>
<h3 class="author">keronshb updated:</h3>
<ul class="changes bgimages16">
<li class="balance">removes required enemies</li>
<li class="balance">Lowers assassination threat threshold</li>
</ul>
<h2 class="date">31 October 2021</h2>
<h3 class="author">DeltaFire15 updated:</h3>
<ul class="changes bgimages16">
@@ -443,51 +464,6 @@
<li class="imageadd">Adds a toggle option for the parade outfits</li>
<li class="bugfix">Observers can no longer highlight your items</li>
</ul>
<h2 class="date">07 September 2021</h2>
<h3 class="author">bunny232 updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">fixed some jank in pubby's xenobiological secure pen</li>
</ul>
<h3 class="author">keronshb updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Gremlins no longer have AA when dead</li>
</ul>
<h3 class="author">zeroisthebiggay updated:</h3>
<ul class="changes bgimages16">
<li class="spellcheck">you can just about</li>
</ul>
<h2 class="date">05 September 2021</h2>
<h3 class="author">DeltaFire15 updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Unreadied player gamemode votes now actually get ignored (if the config for this is enabled).</li>
</ul>
<h2 class="date">04 September 2021</h2>
<h3 class="author">Putnam3145 updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Might've fixed some ghost sprite oddities nobody even knew about</li>
</ul>
<h3 class="author">WanderingFox95 updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Lavaland architects don't screw up so badly anymore and do in fact not somehow leave holes through the planet surface all the way into space under their bookshelves.</li>
<li class="bugfix">Snow was removed from Lavaland Ruins.</li>
</ul>
<h3 class="author">keronshb updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Fixes entering an occupied VR sleeper bug</li>
</ul>
<h3 class="author">timothyteakettle updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">makes the arm/leg markings for synthetic lizards appear as an option again</li>
</ul>
<h2 class="date">03 September 2021</h2>
<h3 class="author">timothyteakettle updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">fixes losing your additional language upon changing species</li>
</ul>
</div>
<b>GoonStation 13 Development Team</b>

View File

@@ -30196,3 +30196,17 @@ DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.
- bugfix: Walking no longer makes you fat.
keronshb:
- balance: Christmas trees are now indestructible
2021-11-05:
keronshb:
- balance: removes required enemies
- balance: Lowers assassination threat threshold
2021-11-06:
Putnam3145:
- bugfix: Ashwalkers should no longer suffocate on lavaland (and hypothetical other
future problems)
- bugfix: A gas mix with 0 oxygen should now properly suffocate you (or 0 plasma,
for ashwalkers)
2021-11-08:
timothyteakettle:
- bugfix: fixes party pod sprite
- bugfix: fixes red panda head marking

View File

@@ -1,5 +0,0 @@
author: "keronshb"
delete-after: True
changes:
- balance: "removes required enemies"
- balance: "Lowers assassination threat threshold"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 60 KiB