@@ -798,43 +798,67 @@ roadblock_info_window = {
798
798
}
799
799
}
800
800
801
- orders_window_granary = {
801
+ granary_orders_window = {
802
802
ui : {
803
- background : { type : "outer_panel" , pos : [ 0 , 0 ] , size : [ 29 , 17 ] } ,
804
- title : { type : "text" , pos : [ 0 , 12 ] , size : [ px ( 28 ) , 0 ] , text :{ group :98 , id :5 } , font : FONT_LARGE_BLACK_ON_LIGHT , align :"center" } ,
805
- orders_panel : { type : "inner_panel" , pos : [ 16 , 42 ] , size : [ 27 , 10 ] } ,
806
- button_help : { type : "image_button" , margin :{ left :14 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 } ,
807
- button_close : { type : "image_button" , margin :{ right :- 40 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 , offset :4 } ,
808
- empty_all : { type :"generic_button" , pos :[ 80 , - 1 ] , size :[ 300 , 24 ] , margin :{ bottom :- 64 } } ,
809
- accept_none : { type :"generic_button" , pos :[ 80 , - 1 ] , size :[ 300 , 24 ] , text :{ group :99 , id :7 } , margin :{ bottom :- 38 } } ,
803
+ background : outer_panel ( { size : [ 29 , 17 ] } ) ,
804
+ title : text ( { pos : [ 0 , 12 ] , size : [ px ( 28 ) , 0 ] , text :{ group :98 , id :5 } , font : FONT_LARGE_BLACK_ON_LIGHT , align :"center" } ) ,
805
+ orders_panel : inner_panel ( { pos : [ 16 , 42 ] , size : [ 27 , 10 ] } ) ,
806
+ button_help : image_button ( { margin :{ left :14 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 } ) ,
807
+ button_close : image_button ( { margin :{ right :- 40 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 , offset :4 } ) ,
808
+ empty_all : button ( { pos :[ 80 , - 1 ] , size :[ 300 , 24 ] , margin :{ bottom :- 64 } } ) ,
809
+ accept_none : button ( { pos :[ 80 , - 1 ] , size :[ 300 , 24 ] , text :{ group :99 , id :7 } , margin :{ bottom :- 38 } } ) ,
810
+
811
+ item_orders_column : dummy ( { margin :{ centerx :0 } } ) ,
812
+ item_arrows_column : dummy ( { margin :{ centerx :- 36 } } ) ,
813
+ item_icon_column : dummy ( { pos :[ 25 , 0 ] } ) ,
814
+ item_row : dummy ( { size :[ px ( 13 ) , 20 ] } ) ,
815
+ items_area : dummy ( { pos :[ 0 , 50 ] } ) ,
810
816
}
811
817
}
812
818
813
819
granary_info_window = {
814
820
resource_text_group : 23 ,
815
821
ui : {
816
- background : { type : "outer_panel" , pos : [ 0 , 0 ] , size : [ 29 , 17 ] } ,
817
- title : { type : "text" , text : "#granary_info_title" , pos : [ 0 , 12 ] , size : [ px ( 28 ) , 0 ] , font : FONT_LARGE_BLACK_ON_LIGHT , align :"center" } ,
818
- warning_text : { type : "text" , pos : [ 32 , 40 ] , wrap :px ( 28 ) , font : FONT_NORMAL_BLACK_ON_LIGHT , multiline :true } ,
819
- storing : { type : "text" , pos : [ 34 , 40 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ,
820
- free_space : { type : "text" , pos : [ 220 , 40 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ,
821
- food0_icon : { type : "resource_icon" , pos : [ 34 , 68 ] } ,
822
- food0_text : { type : "text" , pos : [ 68 , 75 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ,
823
- food1_icon : { type : "resource_icon" , pos : [ 240 , 68 ] } ,
824
- food1_text : { type : "text" , pos : [ 274 , 75 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ,
825
- food2_icon : { type : "resource_icon" , pos : [ 34 , 92 ] } ,
826
- food2_text : { type : "text" , pos : [ 68 , 99 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ,
827
- food3_icon : { type : "resource_icon" , pos : [ 240 , 92 ] } ,
828
- food3_text : { type : "text" , pos : [ 274 , 99 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ,
829
- workers_panel : { type : "inner_panel" , pos : [ 16 , 142 ] , size : [ 27 , 5 ] } ,
830
- workers_img : { type : "image" , pack :PACK_GENERAL , id :134 , offset :14 , pos :[ 40 , 142 + 6 ] } ,
831
- workers_text : { type : "text" , pos : [ 70 , 142 + 12 ] , font : FONT_NORMAL_BLACK_ON_DARK } ,
832
- workers_desc : { type : "text" , pos : [ 70 , 142 + 26 ] , font : FONT_NORMAL_BLACK_ON_DARK } ,
833
- orders : { type :"generic_button" , margin :{ left :100 , bottom :- 40 } , size :[ 270 , 25 ] , text :{ group : 98 , id : 5 } } ,
834
- button_help : { type : "image_button" , margin :{ left :14 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 } ,
835
- button_close : { type : "image_button" , margin :{ right :- 40 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 , offset :4 } ,
836
- show_overlay : { type :"generic_button" , margin :{ right :- 64 , bottom :- 40 } , size :[ 23 , 23 ] } ,
837
- mothball : { type :"generic_button" , margin :{ right :- 90 , bottom :- 40 } , size :[ 23 , 23 ] } ,
822
+ background : outer_panel ( { size : [ 29 , 17 ] } ) ,
823
+ title : text ( { text : "#granary_info_title" , pos : [ 0 , 12 ] , size : [ px ( 28 ) , 0 ] , font : FONT_LARGE_BLACK_ON_LIGHT , align :"center" } ) ,
824
+ warning_text : text ( { pos : [ 32 , 40 ] , wrap :px ( 28 ) , font : FONT_NORMAL_BLACK_ON_LIGHT , multiline :true } ) ,
825
+ storing : text ( { pos : [ 34 , 40 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ) ,
826
+ free_space : text ( { pos : [ 220 , 40 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ) ,
827
+ food0_icon : resource_icon ( { pos :[ 34 , 68 ] } ) ,
828
+ food0_text : text ( { pos : [ 68 , 75 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ) ,
829
+ food1_icon : resource_icon ( { pos : [ 240 , 68 ] } ) ,
830
+ food1_text : text ( { pos : [ 274 , 75 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ) ,
831
+ food2_icon : resource_icon ( { pos : [ 34 , 92 ] } ) ,
832
+ food2_text : text ( { pos : [ 68 , 99 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ) ,
833
+ food3_icon : resource_icon ( { pos : [ 240 , 92 ] } ) ,
834
+ food3_text : text ( { pos : [ 274 , 99 ] , font : FONT_NORMAL_BLACK_ON_LIGHT } ) ,
835
+ workers_panel : inner_panel ( { pos : [ 16 , 142 ] , size : [ 27 , 5 ] } ) ,
836
+ workers_img : image ( { pack :PACK_GENERAL , id :134 , offset :14 , pos :[ 40 , 142 + 6 ] } ) ,
837
+ workers_text : text ( { pos : [ 70 , 142 + 12 ] , font : FONT_NORMAL_BLACK_ON_DARK } ) ,
838
+ workers_desc : text ( { pos : [ 70 , 142 + 26 ] , font : FONT_NORMAL_BLACK_ON_DARK } ) ,
839
+ orders : button ( { margin :{ centerx :- 135 , bottom :- 40 } , size :[ 270 , 25 ] , text :{ group : 98 , id : 5 } } ) ,
840
+ button_help : image_button ( { margin :{ left :14 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 } ) ,
841
+ button_close : image_button ( { margin :{ right :- 40 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 , offset :4 } ) ,
842
+ show_overlay : button ( { margin :{ right :- 64 , bottom :- 40 } , size :[ 23 , 23 ] } ) ,
843
+ mothball : button ( { margin :{ right :- 90 , bottom :- 40 } , size :[ 23 , 23 ] } ) ,
844
+ }
845
+ }
846
+
847
+ bazaar_orders_window = {
848
+ ui : {
849
+ background : outer_panel ( { size : [ 29 , 17 ] } ) ,
850
+ title : text ( { pos : [ 0 , 12 ] , size : [ px ( 28 ) , 0 ] , text :{ group :98 , id :5 } , font : FONT_LARGE_BLACK_ON_LIGHT , align :"center" } ) ,
851
+ orders_panel : inner_panel ( { pos : [ 16 , 42 ] , size : [ 27 , 10 ] } ) ,
852
+ button_help : image_button ( { margin :{ left :14 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 } ) ,
853
+ button_close : image_button ( { margin :{ right :- 40 , bottom :- 40 } , size :[ 27 , 27 ] , pack :PACK_GENERAL , id :134 , offset :4 } ) ,
854
+ empty_all : button ( { pos :[ 80 , - 1 ] , size :[ 300 , 24 ] , margin :{ bottom :- 64 } } ) ,
855
+ accept_none : button ( { pos :[ 80 , - 1 ] , size :[ 300 , 24 ] , text :{ group :99 , id :7 } , margin :{ bottom :- 38 } } ) ,
856
+
857
+ item_orders_column : dummy ( { margin :{ centerx :0 } } ) ,
858
+ item_arrows_column : dummy ( { margin :{ centerx :- 36 } } ) ,
859
+ item_icon_column : dummy ( { pos :[ 25 , 0 ] } ) ,
860
+ item_row : dummy ( { size :[ px ( 13 ) , 20 ] } ) ,
861
+ items_area : dummy ( { pos :[ 0 , 50 ] } ) ,
838
862
}
839
863
}
840
864
0 commit comments