mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-06-28 06:12:01 +02:00
Rework all nodes displaying text according to new font_api
This commit is contained in:
@ -27,7 +27,7 @@ local models = {
|
||||
width = 14/16,
|
||||
height = 12/16,
|
||||
entity_fields = {
|
||||
resolution = { x = 11, y = 5.5 },
|
||||
size = { x = 14/16, y = 10/16 },
|
||||
maxlines = 3,
|
||||
color = "#fff",
|
||||
},
|
||||
@ -44,7 +44,6 @@ local models = {
|
||||
width = 64/16,
|
||||
height = 12/16,
|
||||
entity_fields = {
|
||||
resolution = { x = 2.5, y = 1.5 },
|
||||
maxlines = 1,
|
||||
color = "#000",
|
||||
},
|
||||
@ -57,13 +56,12 @@ local models = {
|
||||
inventory_image = "signs_road_white.png",
|
||||
},
|
||||
},
|
||||
|
||||
red_street_sign = {
|
||||
depth = 1/16,
|
||||
width = 1,
|
||||
height = 7/16,
|
||||
entity_fields = {
|
||||
resolution = { x = 8, y = 4 },
|
||||
size = { x = 1, y = 4/16 },
|
||||
maxlines = 1,
|
||||
color = "#000",
|
||||
},
|
||||
@ -80,7 +78,7 @@ local models = {
|
||||
width = 1,
|
||||
height = 7/16,
|
||||
entity_fields = {
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
size = { x = 1, y = 6/16 },
|
||||
maxlines = 2,
|
||||
color = "#000",
|
||||
},
|
||||
@ -97,7 +95,7 @@ local models = {
|
||||
width = 1,
|
||||
height = 7/16,
|
||||
entity_fields = {
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
size = { x = 1, y = 6/16 },
|
||||
maxlines = 2,
|
||||
color = "#fff",
|
||||
},
|
||||
@ -114,7 +112,7 @@ local models = {
|
||||
width = 1,
|
||||
height = 7/16,
|
||||
entity_fields = {
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
size = { x = 1, y = 6/16 },
|
||||
maxlines = 2,
|
||||
color = "#000",
|
||||
},
|
||||
@ -131,7 +129,8 @@ local models = {
|
||||
width = 1,
|
||||
height = 0.5,
|
||||
entity_fields = {
|
||||
resolution = { x = 7, y = 5 },
|
||||
aspect_ratio = 3/4,
|
||||
size = { x = 1, y = 3/16 },
|
||||
maxlines = 1,
|
||||
color = "#000",
|
||||
},
|
||||
@ -151,7 +150,8 @@ local models = {
|
||||
width = 1,
|
||||
height = 0.5,
|
||||
entity_fields = {
|
||||
resolution = { x = 7, y = 5 },
|
||||
aspect_ratio = 3/4,
|
||||
size = { x = 1, y = 3/16 },
|
||||
maxlines = 1,
|
||||
color = "#000",
|
||||
},
|
||||
@ -176,7 +176,6 @@ local models = {
|
||||
entity_fields = {
|
||||
right = -3/32,
|
||||
size = { x = 12/16, y = 6/16 },
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
maxlines = 2,
|
||||
color = "#fff",
|
||||
},
|
||||
@ -200,7 +199,6 @@ local models = {
|
||||
entity_fields = {
|
||||
right = 3/32,
|
||||
size = { x = 12/16, y = 6/16 },
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
maxlines = 2,
|
||||
color="#fff",
|
||||
},
|
||||
@ -226,7 +224,6 @@ local models = {
|
||||
entity_fields = {
|
||||
right = -3/32,
|
||||
size = { x = 12/16, y = 6/16 },
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
maxlines = 2,
|
||||
color = "#000",
|
||||
},
|
||||
@ -250,7 +247,6 @@ local models = {
|
||||
entity_fields = {
|
||||
right = 3/32,
|
||||
size = { x = 12/16, y = 6/16 },
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
maxlines = 2,
|
||||
color = "#000",
|
||||
},
|
||||
@ -266,7 +262,7 @@ local models = {
|
||||
selection_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } },
|
||||
collision_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } },
|
||||
groups = { not_in_creative_inventory = 1 },
|
||||
drop = "signs_road:yellow_left_sign",
|
||||
drop = "signs_road:yellow_right_sign",
|
||||
},
|
||||
},
|
||||
white_right_sign = {
|
||||
@ -276,7 +272,6 @@ local models = {
|
||||
entity_fields = {
|
||||
right = -3/32,
|
||||
size = { x = 12/16, y = 6/16 },
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
maxlines = 2,
|
||||
color = "#000",
|
||||
},
|
||||
@ -300,7 +295,6 @@ local models = {
|
||||
entity_fields = {
|
||||
right = 3/32,
|
||||
size = { x = 12/16, y = 6/16 },
|
||||
resolution = { x = 9, y = 5.5 },
|
||||
maxlines = 2,
|
||||
color = "#000",
|
||||
},
|
||||
|
Reference in New Issue
Block a user