mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 07:54:14 +00:00
Fixes some issues w/ nanites (#1426)
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
host_mob.adjustBruteLoss(-0.5, TRUE)
|
||||
host_mob.adjustFireLoss(-0.5, TRUE)
|
||||
return
|
||||
var/lavaland_bonus = (lavaland_equipment_pressure_check(get_turf(host_mob)) ? 1 : 0.6) // 0.5 on lavaland, 0.3 on station
|
||||
host_mob.heal_overall_damage(brute = (0.5 * lavaland_bonus), brute = (0.5 * lavaland_bonus), required_bodytype = BODYTYPE_ORGANIC)
|
||||
var/healing_given = (lavaland_equipment_pressure_check(get_turf(host_mob)) ? 0.5 : 0.3)
|
||||
host_mob.heal_overall_damage(brute = healing_given, brute = healing_given, required_bodytype = BODYTYPE_ORGANIC)
|
||||
|
||||
/datum/nanite_program/regenerative_advanced
|
||||
name = "Bio-Reconstruction"
|
||||
@@ -37,8 +37,8 @@
|
||||
host_mob.adjustBruteLoss(-3, TRUE)
|
||||
host_mob.adjustFireLoss(-3, TRUE)
|
||||
return
|
||||
var/lavaland_bonus = (lavaland_equipment_pressure_check(get_turf(host_mob)) ? 1 : 0.8) // 1.5 on Lavaland, 1.2 on station
|
||||
host_mob.heal_overall_damage(brute = (1.5 * lavaland_bonus), brute = (1.5 * lavaland_bonus), required_bodytype = BODYTYPE_ORGANIC)
|
||||
var/healing_given = (lavaland_equipment_pressure_check(get_turf(host_mob)) ? 1.5 : 1.2)
|
||||
host_mob.heal_overall_damage(brute = healing_given, brute = healing_given, required_bodytype = BODYTYPE_ORGANIC)
|
||||
|
||||
/datum/nanite_program/temperature
|
||||
name = "Temperature Adjustment"
|
||||
|
||||
@@ -241,7 +241,7 @@
|
||||
RegisterSignal(host_mob, COMSIG_MOVABLE_HEAR, PROC_REF(on_hear))
|
||||
|
||||
/datum/nanite_program/sensor/voice/on_mob_remove()
|
||||
UnregisterSignal(host_mob, COMSIG_MOVABLE_HEAR, PROC_REF(on_hear))
|
||||
UnregisterSignal(host_mob, COMSIG_MOVABLE_HEAR)
|
||||
return ..()
|
||||
|
||||
/datum/nanite_program/sensor/voice/proc/on_hear(datum/source, list/hearing_args)
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
return
|
||||
if(signal_comm_code == comm_code)
|
||||
log_game("[host_mob]'s [name] nanite program was messaged by [comm_source] with comm code [signal_comm_code] and message '[comm_message]'.")
|
||||
trigger(comm_message)
|
||||
trigger(FALSE, comm_message)
|
||||
|
||||
/datum/nanite_program/comm/speech
|
||||
name = "Forced Speech"
|
||||
|
||||
Reference in New Issue
Block a user