mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Adds drunkenness meter to the body scanner, removes paralysis meter (#18926)
* Adds drunkenness meter to the body scanner, removes paralysis meter * Recompiled tgui bundle * Removes accidental second conversion * Deconflicts tgui maybe * Added deciseconds to seconds conversion * Changes drunkenness to inebriation * Updates tgui
This commit is contained in:
@@ -245,8 +245,7 @@
|
||||
occupantData["radLoss"] = occupant.radiation
|
||||
occupantData["cloneLoss"] = occupant.getCloneLoss()
|
||||
occupantData["brainLoss"] = occupant.getBrainLoss()
|
||||
occupantData["paralysis"] = occupant.AmountParalyzed()
|
||||
occupantData["paralysisSeconds"] = round(occupant.AmountParalyzed() * 0.25)
|
||||
occupantData["drunkenness"] = (occupant.get_drunkenness() / 10)
|
||||
occupantData["bodyTempC"] = occupant.bodytemperature-T0C
|
||||
occupantData["bodyTempF"] = (((occupant.bodytemperature-T0C) * 1.8) + 32)
|
||||
|
||||
@@ -409,7 +408,7 @@
|
||||
extra_font = (occupant.getBrainLoss() < 1 ?"<font color='blue'>" : "<font color='red'>")
|
||||
dat += "[extra_font]\tApprox. Brain Damage %: [occupant.getBrainLoss()]<br>"
|
||||
|
||||
dat += "Paralysis Summary: [round(occupant.AmountParalyzed() / 10)] seconds left.<br>"
|
||||
dat += "Inebriation Severity: [round(occupant.get_drunkenness() / 10)] seconds<br>"
|
||||
dat += "Body Temperature: [occupant.bodytemperature-T0C]°C ([occupant.bodytemperature*1.8-459.67]°F)<br>"
|
||||
|
||||
dat += "<hr>"
|
||||
|
||||
@@ -36,7 +36,7 @@ const damages = [
|
||||
['Brute', 'bruteLoss'],
|
||||
['Genetic', 'cloneLoss'],
|
||||
['Burn', 'fireLoss'],
|
||||
['Paralysis', 'paralysis'],
|
||||
['Inebriation', 'drunkenness'],
|
||||
];
|
||||
|
||||
const damageRange = {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user