next set of spans (#16434)

* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
This commit is contained in:
Kashargul
2024-10-16 23:37:27 +02:00
committed by GitHub
parent 6275972fef
commit b594520a74
604 changed files with 2801 additions and 2638 deletions
+4 -4
View File
@@ -90,14 +90,14 @@
if(length(winning_options) == 1)
var/res = winning_options[1]
if(res in choices)
to_chat(world, span_interface("<b><code>[res]</code> won the vote!</b>"))
to_chat(world, span_interface(span_bold("<code>[res]</code> won the vote!")))
return res
else
to_chat(world, span_interface("The winner of the vote ([sanitize(res)]) isn't a valid choice? What the heck?"))
stack_trace("Vote concluded with an invalid answer. Answer was [sanitize(res)], choices were [json_encode(choices)]")
return null
to_chat(world, span_interface("<b>No clear winner. The vote did not pass.</b>"))
to_chat(world, span_interface(span_bold("No clear winner. The vote did not pass.")))
return null
if(VOTE_RESULT_TYPE_SKEWED)
@@ -105,14 +105,14 @@
if(maxvotes >= required_votes && length(winning_options) == 1)
var/res = winning_options[1]
if(res in choices)
to_chat(world, span_interface("<b><code>[res]</code> won the vote with a 70% majority!</b>"))
to_chat(world, span_interface(span_bold("<code>[res]</code> won the vote with a 70% majority!")))
return res
else
to_chat(world, span_interface("The winner of the vote ([sanitize(res)]) isn't a valid choice? What the heck?"))
stack_trace("Vote concluded with an invalid answer. Answer was [sanitize(res)], choices were [json_encode(choices)]")
return null
to_chat(world, span_interface("<b>No option received 70% of the votes. The vote did not pass.</b>"))
to_chat(world, span_interface(span_bold("No option received 70% of the votes. The vote did not pass.")))
return null
return null