mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
BRUTAL Part 1 - No proc var/ in procs
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
icon_state = "mixer0"
|
||||
|
||||
//Prints a nice virus release form. Props to Urbanliner for the layout
|
||||
/obj/machinery/computer/pandemic/proc/print_form(var/datum/disease/advance/D, mob/living/user)
|
||||
/obj/machinery/computer/pandemic/proc/print_form(datum/disease/advance/D, mob/living/user)
|
||||
D = GLOB.archive_diseases[D.GetDiseaseID()]
|
||||
if(!(printing) && D)
|
||||
var/reason = input(user,"Enter a reason for the release", "Write", null) as message
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
qdel(D)
|
||||
|
||||
|
||||
/obj/item/reagent_containers/spray/attack_self(var/mob/user)
|
||||
/obj/item/reagent_containers/spray/attack_self(mob/user)
|
||||
|
||||
amount_per_transfer_from_this = (amount_per_transfer_from_this == 10 ? 5 : 10)
|
||||
spray_currentrange = (spray_currentrange == 1 ? spray_maxrange : 1)
|
||||
@@ -180,7 +180,7 @@
|
||||
origin_tech = "combat=3;materials=3;engineering=3"
|
||||
|
||||
|
||||
/obj/item/reagent_containers/spray/chemsprayer/spray(var/atom/A)
|
||||
/obj/item/reagent_containers/spray/chemsprayer/spray(atom/A)
|
||||
var/Sprays[3]
|
||||
for(var/i=1, i<=3, i++) // intialize sprays
|
||||
if(reagents.total_volume < 1) break
|
||||
@@ -217,7 +217,7 @@
|
||||
|
||||
|
||||
|
||||
/obj/item/reagent_containers/spray/chemsprayer/attack_self(var/mob/user)
|
||||
/obj/item/reagent_containers/spray/chemsprayer/attack_self(mob/user)
|
||||
|
||||
amount_per_transfer_from_this = (amount_per_transfer_from_this == 10 ? 5 : 10)
|
||||
to_chat(user, "<span class='notice'>You adjust the output switch. You'll now use [amount_per_transfer_from_this] units per spray.</span>")
|
||||
|
||||
Reference in New Issue
Block a user