Replaced the bloody writing font (#29882)

* that should do the trick

* well that's gonna conflict with the secret repo for sure

* bloody hell

* tweak
This commit is contained in:
DeityLink
2021-06-26 17:20:27 +02:00
committed by GitHub
parent 51d3281497
commit 7acdfb56f6
6 changed files with 12 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ var/global/list/blood_list = list()
icon_state = "nothing"
random_icon_states = list()
amount = 0
maptext_height = 32
maptext_height = 31
maptext_width = 64
maptext_x = -16
maptext_y = -2

View File

@@ -492,6 +492,8 @@
vote.interface.sendAssets(src)
var/datum/asset/simple/E = new/datum/asset/simple/emoji_list()
send_asset_list(src, E.assets)
var/datum/asset/simple/F = new/datum/asset/simple/other_fonts()
send_asset_list(src, F.assets)
/proc/get_role_desire_str(var/rolepref)
switch(rolepref & ROLEPREF_VALMASK)

View File

@@ -413,6 +413,11 @@
"v4shim.css" = 'html/font-awesome/css/v4-shims.min.css'
)
/datum/asset/simple/other_fonts
assets = list(
"BLOODY.TTF" = 'html/fonts/BLOODY.TTF',
)
/datum/asset/simple/tgui
assets = list(
"tgui.bundle.js" = 'tgui/packages/tgui/public/tgui.bundle.js',

View File

@@ -375,7 +375,7 @@
//Previewing our message
var/image/I = image(icon = null)
I.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Ink Free';" align="center" valign="top">[message]</span>"}
I.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Bloody';" align="center" valign="top">[message]</span>"}
I.maptext_height = 32
I.maptext_width = 64
I.maptext_x = -16
@@ -401,7 +401,7 @@
//Finally writing our message
var/obj/effect/decal/cleanable/blood/writing/W = new /obj/effect/decal/cleanable/blood/writing(T)
W.basecolor = doodle_color
W.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Ink Free';" align="center" valign="top">[message]</span>"}
W.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Bloody';" align="center" valign="top">[message]</span>"}
W.add_hiddenprint(src)
W.original_amount = writings_blood_amount
W.original_bloodsource = original_bloodsource

View File

@@ -1326,7 +1326,7 @@
//Previewing our message
var/image/I = image(icon = null)
I.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Ink Free';" align="center" valign="top">[message]</span>"}
I.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Bloody';" align="center" valign="top">[message]</span>"}
I.maptext_height = 32
I.maptext_width = 64
I.maptext_x = -16
@@ -1372,7 +1372,7 @@
//Finally writing our message
var/obj/effect/decal/cleanable/blood/writing/W = new /obj/effect/decal/cleanable/blood/writing(T)
W.basecolor = doodle_color
W.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Ink Free';" align="center" valign="top">[message]</span>"}
W.maptext = {"<span style="color:[doodle_color];font-size:9pt;font-family:'Bloody';" align="center" valign="top">[message]</span>"}
W.add_fingerprint(src)
var/invisible = invisibility || !alpha
W.visible_message("<span class='warning'>[invisible ? "Invisible fingers" : "\The [src]"] crudely paint[invisible ? "" : "s"] something in blood on \the [T]...</span>")

BIN
html/fonts/BLOODY.TTF Normal file

Binary file not shown.