mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Replaces all var/const with #define
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
to_chat(owner, "<span class='caution'>You grit your teeth and burst the implanted [target]!</span>")
|
||||
add_attack_logs(owner, owner, "Swallowed implanted [target]")
|
||||
if(target.reagents.total_volume)
|
||||
target.reagents.reaction(owner, INGEST)
|
||||
target.reagents.reaction(owner, REAGENT_INGEST)
|
||||
target.reagents.trans_to(owner, target.reagents.total_volume)
|
||||
Remove(owner)
|
||||
qdel(target)
|
||||
|
||||
@@ -340,7 +340,7 @@
|
||||
user.visible_message("<span class='notice'> [user] has poured some of [tool] over [target]'s [I.name].</span>",
|
||||
"<span class='notice'> You have poured some of [tool] over [target]'s [I.name].</span>")
|
||||
R.trans_to(target, GHETTO_DISINFECT_AMOUNT)
|
||||
R.reaction(target, INGEST)
|
||||
R.reaction(target, REAGENT_INGEST)
|
||||
|
||||
else if(current_type == "finish")
|
||||
if(affected && affected.encased)
|
||||
@@ -410,7 +410,7 @@
|
||||
I.receive_damage(rand(4,8),0)
|
||||
|
||||
R.trans_to(target, GHETTO_DISINFECT_AMOUNT * 10)
|
||||
R.reaction(target, INGEST)
|
||||
R.reaction(target, REAGENT_INGEST)
|
||||
|
||||
user.visible_message("<span class='warning'> [user]'s hand slips, splashing the contents of [tool] all over [target]'s [affected.name] incision!</span>", \
|
||||
"<span class='warning'> Your hand slips, splashing the contents of [tool] all over [target]'s [affected.name] incision!</span>")
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
|
||||
var/trans = container.reagents.trans_to(target, container.amount_per_transfer_from_this)
|
||||
if(trans > 0)
|
||||
container.reagents.reaction(target, INGEST) //technically it's contact, but the reagents are being applied to internal tissue
|
||||
container.reagents.reaction(target, REAGENT_INGEST) //technically it's contact, but the reagents are being applied to internal tissue
|
||||
|
||||
if(mitocholide)
|
||||
affected.status &= ~ORGAN_DEAD
|
||||
@@ -228,7 +228,7 @@
|
||||
var/obj/item/reagent_containers/container = tool
|
||||
|
||||
var/trans = container.reagents.trans_to(target, container.amount_per_transfer_from_this)
|
||||
container.reagents.reaction(target, INGEST) //technically it's contact, but the reagents are being applied to internal tissue
|
||||
container.reagents.reaction(target, REAGENT_INGEST) //technically it's contact, but the reagents are being applied to internal tissue
|
||||
|
||||
user.visible_message("<span class='warning'> [user]'s hand slips, applying [trans] units of the solution to the wrong place in [target]'s [affected.name] with the [tool]!</span>" , \
|
||||
"<span class='warning'> Your hand slips, applying [trans] units of the solution to the wrong place in [target]'s [affected.name] with the [tool]!</span>")
|
||||
|
||||
Reference in New Issue
Block a user