mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
Fix lleill drain message (#17708)
Fixes the glamour drain ability showing the "contact has been broken" message when it is successful.
This commit is contained in:
@@ -313,9 +313,8 @@
|
||||
if(contact_type == "Custom")
|
||||
src.visible_message(span_infoplain("[custom_text]"))
|
||||
if(!do_after(src, 10 SECONDS, chosen_target, exclusive = TASK_USER_EXCLUSIVE))
|
||||
return
|
||||
else
|
||||
src.visible_message(span_infoplain(span_bold("\The [src]") + " and \the [chosen_target] break contact before energy has been transferred."))
|
||||
return
|
||||
src.visible_message(span_infoplain(span_bold("\The [src]") + " and \the [chosen_target] complete their contact."))
|
||||
species.lleill_energy = species.lleill_energy_max
|
||||
nutrition += (chosen_target.nutrition / 2)
|
||||
|
||||
Reference in New Issue
Block a user