Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/scr_librarium/scr_librarium.gml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function scr_librarium_gui(){
set_chapter_arti_data();
}
var base_type = cur_arti.determine_base_type();
if (arti_data && base_type!="device"){
if (base_type!="device" && is_struct(arti_data)){
if (arti_data.armour_value != 0) {
tip2 += $"{arti_data.armour_value} Armour#";
}
Expand Down Expand Up @@ -173,7 +173,7 @@ function scr_librarium(){
draw_set_halign(fa_left);
draw_set_color(c_gray);
draw_set_font(fnt_40k_30b);
draw_text_transformed(xx + 336 + 16, yy + 66, string_hash_to_newline("Librarium"), 1, 1, 0);
draw_text_transformed(xx + 336 + 16, yy + 66, "Librarium", 1, 1, 0);
draw_text_transformed(xx + 336 + 16, yy + 100, string_hash_to_newline("Chief " + string(obj_ini.role[100, 17]) + " " + string(obj_ini.name[0, 4])), 0.6, 0.6, 0);
draw_set_font(fnt_40k_14);
}
Expand All @@ -183,7 +183,7 @@ function scr_librarium(){
draw_set_halign(fa_left);
draw_set_color(c_gray);
draw_set_font(fnt_large);
draw_text_transformed(xx + 336 + 16, yy + 66, string_hash_to_newline("Librarium"), 1, 1, 0);
draw_text_transformed(xx + 336 + 16, yy + 66, "Librarium", 1, 1, 0);
draw_text_transformed(xx + 336 + 16, yy + 100, string_hash_to_newline("Adept " + string(obj_controller.adept_name)), 0.6, 0.6, 0);
draw_set_font(fnt_40k_14);
}
Expand Down
Loading