mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
More fixes to outputs with extra/no spaces
This commit is contained in:
@@ -167,7 +167,7 @@ mob
|
||||
|
||||
Output_Icon()
|
||||
set name = "2. Output Icon"
|
||||
src<<"Icon is: \icon[getFlatIcon(src)]"
|
||||
to_chat(src, "Icon is: \icon[getFlatIcon(src)]")
|
||||
|
||||
Label_Icon()
|
||||
set name = "3. Label Icon"
|
||||
|
||||
@@ -139,7 +139,7 @@ var/list/sqrtTable = list(1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4,
|
||||
var/size_factor = ((-cos(inputToDegrees) +1) /2) //returns a value from 0 to 1
|
||||
|
||||
return size_factor + scaling_modifier //scale mod of 0 results in a number from 0 to 1. A scale modifier of +0.5 returns 0.5 to 1.5
|
||||
//world<< "Transform multiplier of [src] is [size_factor + scaling_modifer]"
|
||||
//to_chat(world, "Transform multiplier of [src] is [size_factor + scaling_modifer]")
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
|
||||
H.screen_loc = "[5 + i%icx],[6+ round(i/icx)]"
|
||||
|
||||
//world<<"\icon[I] at [H.screen_loc]"
|
||||
//to_chat(world, "\icon[I] at [H.screen_loc]")
|
||||
|
||||
H.name = (i==0)?"maprefresh":"map"
|
||||
|
||||
@@ -289,7 +289,7 @@
|
||||
|
||||
H.screen_loc = "[5 + i%icx],[6+ round(i/icx)]"
|
||||
|
||||
//world<<"\icon[I] at [H.screen_loc]"
|
||||
//to_chat(world, "\icon[I] at [H.screen_loc]")
|
||||
|
||||
H.name = (i==0)?"maprefresh":"map"
|
||||
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
if(ishuman(M))//don't remove people from the round randomly you jerks
|
||||
var/mob/living/carbon/human/human = M
|
||||
if(human.dna && human.dna.species.id == "human")
|
||||
M << "<span class='italics'>You hear a buzzing in your ears.</span>"
|
||||
to_chat(M, "<span class='italics'>You hear a buzzing in your ears.</span>")
|
||||
human.set_species(/datum/species/fly)
|
||||
|
||||
human.apply_effect((rand(120 - accurate * 40, 180 - accurate * 60)), IRRADIATE, 0)
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
/datum/round_event/fridaythethirteen/announce()
|
||||
for(var/mob/living/L in player_list)
|
||||
L << "<span class='warning'>You are feeling unlucky today.</span>"
|
||||
to_chat(L, "<span class='warning'>You are feeling unlucky today.</span>")
|
||||
@@ -275,7 +275,7 @@
|
||||
I.access |= access_mining_station
|
||||
I.access |= access_mineral_storeroom
|
||||
I.access |= access_cargo
|
||||
user << "You upgrade [I] with mining access."
|
||||
to_chat(user, "You upgrade [I] with mining access.")
|
||||
qdel(src)
|
||||
..()
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
to_chat(user, "<span class='notice'>You are already alive, this contract would do nothing.</span>")
|
||||
else
|
||||
if(signed)
|
||||
user<< "<span class='notice'>This contract has already been signed. It may not be signed again.</span>"
|
||||
to_chat(user, "<span class='notice'>This contract has already been signed. It may not be signed again.</span>")
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You quickly scrawl your name on the contract</span>")
|
||||
if(FulfillContract(target.current, blood)<=0)
|
||||
|
||||
@@ -220,7 +220,7 @@
|
||||
/obj/machinery/power/emitter/can_be_unfasten_wrench(mob/user, silent)
|
||||
if(state == EM_WELDED)
|
||||
if(!silent)
|
||||
user << "<span class='warning'>[src] is welded to the floor!</span>"
|
||||
to_chat(user, "<span class='warning'>[src] is welded to the floor!</span>")
|
||||
return FAILED_UNFASTEN
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ field_generator power level display
|
||||
/obj/machinery/field/generator/can_be_unfasten_wrench(mob/user, silent)
|
||||
if(state == FG_WELDED)
|
||||
if(!silent)
|
||||
user << "<span class='warning'>[src] is welded to the floor!</span>"
|
||||
to_chat(user, "<span class='warning'>[src] is welded to the floor!</span>")
|
||||
return FAILED_UNFASTEN
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user