mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Replaces info class with notice and purges info (#26421)
This commit is contained in:
@@ -146,9 +146,9 @@
|
||||
stored_plants += P
|
||||
|
||||
if(length(stored_plants) < max_storable_plants)
|
||||
to_chat(user, "<span class='info'>You empty [PB] into [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You empty [PB] into [src].</span>")
|
||||
else
|
||||
to_chat(user, "<span class='info'>You fill [src] to its capacity.</span>")
|
||||
to_chat(user, "<span class='notice'>You fill [src] to its capacity.</span>")
|
||||
|
||||
SStgui.update_uis(src)
|
||||
return TRUE
|
||||
@@ -162,7 +162,7 @@
|
||||
|
||||
O.forceMove(src)
|
||||
stored_plants += O
|
||||
to_chat(user, "<span class='info'>You put [O] in [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You put [O] in [src].</span>")
|
||||
SStgui.update_uis(src)
|
||||
return TRUE
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
processing = FALSE
|
||||
update_ui_product_list(user)
|
||||
return TRUE
|
||||
|
||||
|
||||
to_chat(user, "<span class='warning'>You cannot put [src] in [name]!</span>")
|
||||
|
||||
/**
|
||||
|
||||
@@ -86,14 +86,14 @@
|
||||
break
|
||||
|
||||
if(biomass >= biomass_capacity)
|
||||
to_chat(user, "<span class='info'>You fill [src] to its capacity.</span>")
|
||||
to_chat(user, "<span class='notice'>You fill [src] to its capacity.</span>")
|
||||
else
|
||||
to_chat(user, "<span class='info'>You empty [PB] into [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You empty [PB] into [src].</span>")
|
||||
|
||||
if(potassium == potassium_capacity)
|
||||
to_chat(user, "<span class='info'>You have saturated the contents of [src] with potassium.</span>")
|
||||
to_chat(user, "<span class='notice'>You have saturated the contents of [src] with potassium.</span>")
|
||||
else if(potassium >= potassium_capacity * 0.95)
|
||||
to_chat(user, "<span class='info'>You have very nearly saturated the contents of [src] with potassium.</span>")
|
||||
to_chat(user, "<span class='notice'>You have very nearly saturated the contents of [src] with potassium.</span>")
|
||||
|
||||
SStgui.update_uis(src)
|
||||
update_icon_state()
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
O.forceMove(src)
|
||||
make_biomass(O)
|
||||
to_chat(user, "<span class='info'>You put [O] in [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You put [O] in [src].</span>")
|
||||
SStgui.update_uis(src)
|
||||
update_icon_state()
|
||||
return TRUE
|
||||
@@ -140,18 +140,18 @@
|
||||
B.reagents.remove_reagent(R.id, R.volume * proportion)
|
||||
|
||||
if(proportion == 1)
|
||||
to_chat(user, "<span class='info'>You empty [B] into [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You empty [B] into [src].</span>")
|
||||
else
|
||||
to_chat(user, "<span class='info'>You pour some of [B] into [src].</span>")
|
||||
to_chat(user, "<span class='notice'>You pour some of [B] into [src].</span>")
|
||||
if(potassium == potassium_capacity)
|
||||
to_chat(user, "<span class='info'>You have saturated the contents of [src] with potassium.</span>")
|
||||
to_chat(user, "<span class='notice'>You have saturated the contents of [src] with potassium.</span>")
|
||||
else if(potassium >= potassium_capacity * 0.95)
|
||||
to_chat(user, "<span class='info'>You have very nearly saturated the contents of [src] with potassium.</span>")
|
||||
to_chat(user, "<span class='notice'>You have very nearly saturated the contents of [src] with potassium.</span>")
|
||||
|
||||
if(potash == potash_capacity)
|
||||
to_chat(user, "<span class='info'>[src] has been filled with potash.</span>")
|
||||
to_chat(user, "<span class='notice'>[src] has been filled with potash.</span>")
|
||||
else if(potash >= potash_capacity * 0.95)
|
||||
to_chat(user, "<span class='info'>[src] has been nearly filled with potash.</span>")
|
||||
to_chat(user, "<span class='notice'>[src] has been nearly filled with potash.</span>")
|
||||
|
||||
SStgui.update_uis(src)
|
||||
update_icon_state()
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
set_light(0)
|
||||
|
||||
/obj/item/food/grown/proc/send_plant_details(mob/user)
|
||||
var/msg = "<span class='info'>This is \a </span><span class='name'>[src].</span>\n"
|
||||
var/msg = "<span class='notice'>This is \a </span><span class='name'>[src].</span>\n"
|
||||
if(seed)
|
||||
msg += seed.get_analyzer_text()
|
||||
var/reag_txt = ""
|
||||
@@ -219,7 +219,7 @@
|
||||
for(var/reagent_id in seed.reagents_add)
|
||||
var/datum/reagent/R = GLOB.chemical_reagents_list[reagent_id]
|
||||
var/amt = reagents.get_reagent_amount(reagent_id)
|
||||
reag_txt += "\n<span class='info'>- [R.name]: [amt]</span>"
|
||||
reag_txt += "\n<span class='notice'>- [R.name]: [amt]</span>"
|
||||
|
||||
if(reag_txt)
|
||||
msg += reag_txt
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
set_light(0)
|
||||
|
||||
/obj/item/grown/proc/send_plant_details(mob/user)
|
||||
var/msg = "<span class='info'>This is \a </span><span class='name'>[src]</span>\n"
|
||||
var/msg = "<span class='notice'>This is \a </span><span class='name'>[src]</span>\n"
|
||||
if(seed)
|
||||
msg += seed.get_analyzer_text()
|
||||
msg += "</span>"
|
||||
|
||||
@@ -374,26 +374,26 @@
|
||||
. = ..()
|
||||
if(myseed)
|
||||
if(myseed.variant)
|
||||
. += "<span class='info'>It has the <span class='name'>[myseed.variant]</span> variant of <span class='name'>[myseed.plantname]</span> planted.</span>"
|
||||
. += "<span class='notice'>It has the <span class='name'>[myseed.variant]</span> variant of <span class='name'>[myseed.plantname]</span> planted.</span>"
|
||||
else
|
||||
. += "<span class='info'>It has <span class='name'>[myseed.plantname]</span> planted.</span>"
|
||||
. += "<span class='notice'>It has <span class='name'>[myseed.plantname]</span> planted.</span>"
|
||||
if(dead)
|
||||
. += "<span class='warning'>It's dead!</span>"
|
||||
else if(harvest)
|
||||
. += "<span class='info'>It's ready to harvest.</span>"
|
||||
. += "<span class='notice'>It's ready to harvest.</span>"
|
||||
else if(plant_health <= (myseed.endurance / 2))
|
||||
. += "<span class='warning'>It looks unhealthy.</span>"
|
||||
else
|
||||
. += "<span class='info'>[src] is empty.</span>"
|
||||
. += "<span class='notice'>[src] is empty.</span>"
|
||||
|
||||
if(!self_sustaining)
|
||||
. += "<span class='info'>Water: [waterlevel]/[maxwater]</span>"
|
||||
. += "<span class='info'>Nutrient: [nutrilevel]/[maxnutri]</span>"
|
||||
. += "<span class='notice'>Water: [waterlevel]/[maxwater]</span>"
|
||||
. += "<span class='notice'>Nutrient: [nutrilevel]/[maxnutri]</span>"
|
||||
if(self_sufficiency_progress > 0)
|
||||
var/percent_progress = round(self_sufficiency_progress * 100 / self_sufficiency_req)
|
||||
. += "<span class='info'>Treatment for self-sustenance are [percent_progress]% complete.</span>"
|
||||
. += "<span class='notice'>Treatment for self-sustenance are [percent_progress]% complete.</span>"
|
||||
else
|
||||
. += "<span class='info'>It doesn't require any water or nutrients.</span>"
|
||||
. += "<span class='notice'>It doesn't require any water or nutrients.</span>"
|
||||
|
||||
if(weedlevel >= 5)
|
||||
. += "<span class='warning'>[src] is filled with weeds!</span>"
|
||||
|
||||
@@ -244,7 +244,7 @@
|
||||
// Also splashes everything in target turf with reagents and applies other trait effects (teleporting, etc) to the target by on_squash.
|
||||
// For code, see grown.dm
|
||||
name = "Liquid Contents"
|
||||
examine_line = "<span class='info'>It has a lot of liquid contents inside.</span>"
|
||||
examine_line = "<span class='notice'>It has a lot of liquid contents inside.</span>"
|
||||
origin_tech = list("biotech" = 5)
|
||||
dangerous = TRUE
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
// Applies other trait effects (teleporting, etc) to the target by on_slip.
|
||||
name = "Slippery Skin"
|
||||
rate = 0.1
|
||||
examine_line = "<span class='info'>It has a very slippery skin.</span>"
|
||||
examine_line = "<span class='notice'>It has a very slippery skin.</span>"
|
||||
dangerous = TRUE
|
||||
|
||||
/datum/plant_gene/trait/slip/on_new(obj/item/food/grown/G)
|
||||
@@ -315,7 +315,7 @@
|
||||
// Adds 1 + potency*rate light range and potency*(rate + 0.01) light_power to products.
|
||||
name = "Bioluminescence"
|
||||
rate = 0.03
|
||||
examine_line = "<span class='info'>It emits a soft glow.</span>"
|
||||
examine_line = "<span class='notice'>It emits a soft glow.</span>"
|
||||
trait_id = "glow"
|
||||
var/glow_color = "#C3E381"
|
||||
|
||||
|
||||
@@ -393,7 +393,7 @@
|
||||
|
||||
/obj/item/seeds/attackby(obj/item/O, mob/user, params)
|
||||
if(istype(O, /obj/item/plant_analyzer))
|
||||
to_chat(user, "<span class='info'>This is \a <span class='name'>[src].</span></span>")
|
||||
to_chat(user, "<span class='notice'>This is \a <span class='name'>[src].</span></span>")
|
||||
var/text = get_analyzer_text()
|
||||
if(text)
|
||||
to_chat(user, "<span class='notice'>[text]</span>")
|
||||
@@ -648,7 +648,7 @@
|
||||
|
||||
/obj/item/unsorted_seeds/attackby(obj/item/O, mob/user, params)
|
||||
if(istype(O, /obj/item/plant_analyzer))
|
||||
to_chat(user, "<span class='info'>This is \a <span class='name'>[src].</span></span>")
|
||||
to_chat(user, "<span class='notice'>This is \a <span class='name'>[src].</span></span>")
|
||||
var/text = get_analyzer_text()
|
||||
if(text)
|
||||
to_chat(user, "<span class='notice'>[text]</span>")
|
||||
|
||||
Reference in New Issue
Block a user