From dfbe1c8c62861c5ff117ef402c7cc938c337e938 Mon Sep 17 00:00:00 2001 From: Sirrobzeroone <44497598+sirrobzeroone@users.noreply.github.com> Date: Mon, 28 Jun 2021 18:04:44 +1000 Subject: [PATCH] Guide/Tome - add help for creating your first PCB Small guide added to help show how to create the first PCB's the player will need --- elepower_tome/i_eletome_additional_info.lua | 72 +++++++++++++++++- elepower_tome/init.lua | 4 +- .../textures/elepower_tome_icon_grinding.png | Bin 0 -> 6095 bytes .../textures/elepower_tome_icon_output.png | Bin 0 -> 404 bytes 4 files changed, 72 insertions(+), 4 deletions(-) create mode 100644 elepower_tome/textures/elepower_tome_icon_grinding.png create mode 100644 elepower_tome/textures/elepower_tome_icon_output.png diff --git a/elepower_tome/i_eletome_additional_info.lua b/elepower_tome/i_eletome_additional_info.lua index f1a45c5..b5a2fb8 100644 --- a/elepower_tome/i_eletome_additional_info.lua +++ b/elepower_tome/i_eletome_additional_info.lua @@ -362,7 +362,7 @@ eletome.ai.nodes["getting_started"] = {how_use_1 = "This is a getting started "container_end[]".. -- line 7 "container[0.5,7.75]".. - "hypertext[0,0;7.5,3;end;]".. @@ -371,7 +371,75 @@ eletome.ai.nodes["getting_started"] = {how_use_1 = "This is a getting started } } -eletome.ai.nodes["creating_your_first_pcb"] = {} +eletome.ai.nodes["creating_your_first_pcb"] = {how_use_1 = "More advanced machines require a Printed Circuit Board(PCB) to craft them. ".. + "Early on you will need to manually craft your PCB's until you have access to a ".. + "Printed Circuit Board Plant.\n".. + "You need two main components to create a PCB, etching acid and ".. + "Printed Circuit Board (PCB) Blank. To create these two items you will need; ".. + "9 copper ingots, 3 gold ingots 1 mese crystal, 1 wheat seed and ".. + "single water source block placed.\nOnce you have turned the water ".. + "into etching acid you can use it to turn 10 PCB blanks into 10 PCBs, you can also ".. + "pickup the etching acid with a bucket and store it.", + hu_img_2 = {"container[0,0]".. + "style_type[item_image_button;bgimg=elepower_tome_bgimg_2.png]".. + --line 1 + "container[0.5,0]".. + "item_image_button[0.375,0.25;1,1;default:copper_ingot;default:copper_ingot;]".. + "hypertext[0.375,0.9;1,1;num;]".. + "image[1.5,0.375;0.75,0.75;elepower_tome_icon_grinding.png]".. + "tooltip[1.5,0.25;0.75,0.75;Grinding;#30434c;#f9f9f9]".. + "item_image_button[2.375,0.25;1,1;elepower_dynamics:copper_dust;elepower_dynamics:copper_dust;]".. + "hypertext[2.375,0.9;1,1;num;]".. + "item_image_button[3.5,0.25;1,1;farming:seed_wheat;farming:seed_wheat;]".. + "hypertext[3.5,0.9;1,1;num;]".. + "image[4.625,0.375;0.75,0.75;elepower_tome_icon_crafting.png]".. + "tooltip[4.625,0.375;0.75,0.75;Crafting;#30434c;#f9f9f9]".. + "item_image_button[5.5,0.25;1,1;elepower_dynamics:acidic_compound;elepower_dynamics:acidic_compound;]".. + "hypertext[5.5,0.9;1,1;num;]".. + "container_end[]".. + -- line 2 + "container[1.25,1.25]".. + "item_image_button[0.375,0.25;1,1;elepower_dynamics:acidic_compound;elepower_dynamics:acidic_compound;]".. + "hypertext[0.375,0.9;1,1;num;]".. + "image[1.5,0.375;0.75,0.75;elepower_tome_mouse_rght_click.png]".. + "tooltip[1.5,0.25;0.75,0.75;Right Click;#30434c;#f9f9f9]".. + "item_image_button[2.375,0.25;1,1;default:water_source;default:water_source;]".. + "hypertext[2.375,0.9;1,1;num;]".. + "image[3.5,0.375;0.75,0.75;elepower_tome_icon_output.png]".. + "tooltip[3.5,0.25;0.75,0.75;Turns Into;#30434c;#f9f9f9]".. + "item_image_button[4.325,0.25;1,1;elepower_dynamics:etching_acid_source;elepower_dynamics:etching_acid_source;]".. + "hypertext[4.325,0.9;1,1;num;]".. + "container_end[]".. + -- line 3 + "container[1.125,2.5]".. + "item_image_button[0.375,0.25;1,1;default:copper_ingot;default:copper_ingot;]".. + "hypertext[0.375,0.9;1,1;num;]".. + "item_image_button[1.5,0.25;1,1;default:gold_ingot;default:gold_ingot;]".. + "hypertext[1.5,0.9;1,1;num;]".. + "item_image_button[2.625,0.25;1,1;default:mese_crystal;default:mese_crystal;]".. + "hypertext[2.625,0.9;1,1;num;]".. + "image[3.75,0.375;0.75,0.75;elepower_tome_icon_crafting.png]".. + "tooltip[3.75,0.25;0.75,0.75;Crafting;#30434c;#f9f9f9]".. + "item_image_button[4.625,0.25;1,1;elepower_dynamics:pcb_blank;elepower_dynamics:pcb_blank;]".. + "hypertext[4.625,0.9;1,1;num;]".. + "container_end[]".. + -- line 4 + "container[1.25,3.75]".. + "item_image_button[0.375,0.25;1,1;elepower_dynamics:pcb_blank;elepower_dynamics:pcb_blank;]".. + "hypertext[0.375,0.9;1,1;num;]".. + "image[1.5,0.375;0.75,0.75;elepower_tome_mouse_rght_click.png]".. + "tooltip[1.5,0.25;0.75,0.75;Right Click;#30434c;#f9f9f9]".. + "item_image_button[2.375,0.25;1,1;elepower_dynamics:etching_acid_source;elepower_dynamics:etching_acid_source;]".. + "hypertext[2.375,0.9;1,1;num;]".. + "image[3.5,0.375;0.75,0.75;elepower_tome_icon_output.png]".. + "tooltip[3.5,0.25;0.75,0.75;Turns Into;#30434c;#f9f9f9]".. + "item_image_button[4.325,0.25;1,1;elepower_dynamics:pcb;elepower_dynamics:pcb;]".. + "hypertext[4.325,0.9;1,1;num;]".. + "container_end[]".. + "container_end[]" + + } + } eletome.ai.nodes["upgrading_machines"] = {} diff --git a/elepower_tome/init.lua b/elepower_tome/init.lua index 5eff94e..99766be 100644 --- a/elepower_tome/init.lua +++ b/elepower_tome/init.lua @@ -369,8 +369,8 @@ function eletome.how_use_page(name_value) left_image = "image[2.25,6.6;5,3.75;"..left_image.."]" end - local lp_heading = "hypertext[0.5,0.7;8.5,1.1;lp_heading;"..sty_h0s..pg_heading..sty_h0e.."]" - local lp_sub_head = "hypertext[0.5,1.4;8.5,1.0;lp_sub_heading;"..sty_h1s..pg_subhead..sty_h1e.."]" + local lp_heading = "hypertext[0.5,0.7;8.5,0.95;lp_heading;"..sty_h0s..pg_heading..sty_h0e.."]" + local lp_sub_head = "hypertext[0.5,1.4;8.5,0.9;lp_sub_heading;"..sty_h1s..pg_subhead..sty_h1e.."]" local lp_image = left_image local lp_text = "hypertext[0.75,2.1;8.0,"..(4.5+lp_offset)..";use_txt;"..sty_h4s..(add_info[name_value].how_use_1 or "")..sty_h4e.."]" ---------------- diff --git a/elepower_tome/textures/elepower_tome_icon_grinding.png b/elepower_tome/textures/elepower_tome_icon_grinding.png new file mode 100644 index 0000000000000000000000000000000000000000..4d1f46da7d85c9925cb7f4062c87c52bd99295a8 GIT binary patch literal 6095 zcmeHLdt6NG8lI#=sSsTh)5NZwR�Ynr_p@P(&9ATWe<4Op}>e)66t8wUr86ax2HJ zgrZ16TQWQnGN}(&-;GQ_rCA9)~pDe z?l*jx)i4YOGn_NUdlvE^i@t~GBcF=6xaSzm;K;b(Fy$;zjg`q^fk+Htm9a7i3u#0G z3`TRSFm&$5M-E1BgrkcFPjekyuEYBy!{$oYZq1)Ra2h(M?~mu&>Fmf~C#&vkDD`=} zWF_TiXrIPBt4@{?G02bnruIPfw&IK)vH4o(n=2P=wK3XMHdpO(WsPn^vFIk~_B)?a*w$RcE({F1FJ7(_PMBT#>8qfO&HoRKn5D2xYZU+MsduOeohGj%r_dG7!^&m9dP&WwL8=yF<=f3ht z@#Myyx%DcCtu;q>?ijhs!)UdkkP`Rc3DlN_Cx z5BITh8`39PN!@-8oJ%WiR&`zM^|!dRG$Qy})SWizBDuSsV_vP%wFfiyC$3!RtLq!G z-;FpdInXl8Yi5nZu75r34OvzbSV_%fQ7uZU*%PMCmbMls3KLe=iBFbI=^BDbJ$OXV zqAD;#kqa;;=oXnK`I*Gy(smZm({HWV*KD+2T&yxR2uVCl^vhojmET@{eUw+&`aK?* z*>>khWw`irjrqfW2$!rrTs!C2JNjd{st%vY8Z~?EU5D^hVbQpziBq268VjF%)^yUu zP2V{D?&c#p-4=_6*!ntIjbLz9=Ta<2*>CkfbZH{TZJC)mw?e8qetf>FbU91#M>u3A zSIs$8VS8bTac&i8{PR(^@#3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2_oqxl7K=8FOv$j6X?b;k>w!Lf@pOh%-V5eHB7b~0+p~l7>30x92y%IrPLM`*0sM} znEo(NYp4Z7e6-^FYt9Q4;P?)%ip z1NDXnY4OOzxITB9pEpL0{sB^(He_U|Y|0!324gr1ed}N{vn-H710^TG$Dmo?dhkT6 z;Zsk{MusevK4D5WEJ2^5F#UJyShYwQiA8ViXD1n(Bfrax;dpxnhn=knoo0LvJ0$OF z{iZyj?9z&@qlf1uBt~TsTfOq!G$v+=SMOOo-c&%pvNSGTpCyvxP5 z)Vo#>q6Q?7+q?l-IP#|z`63&gq4sNUFbJuYZPnF|`OWMJCe!!&cgcq5+Lcs|Uze?C zo#X!4!%Up13l!R|Id(ZMX+?fiN=mlG&tkd3JYAOv$?dkK$BitjkDFWSVWv*qgYmH4 z@#r3-?jl8W_I=N`?n)nT?~=$7zh;;R?ez$9YA`s~68*s4YF#)#MRVL_$H=7?m6?yS z!or7=>Y&jN+YSbMq$G{28DW|5&avYNRCpmW)*YL4-!Q+W{5Tih`Pw&mxlv&X>-lo) h%{KKtdo{f;2X&CIw7kr9@k3<9aD1kF@AryG{x>mcDwhBN literal 0 HcmV?d00001 diff --git a/elepower_tome/textures/elepower_tome_icon_output.png b/elepower_tome/textures/elepower_tome_icon_output.png new file mode 100644 index 0000000000000000000000000000000000000000..e30b97f86a2c1c8f279464f968044f7f5b638bfb GIT binary patch literal 404 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}Ea{HEjtmSN z`?>!lvI6;>1s;*b3=G`DAk4@xYmNj^kS)pE-G$*l2rk&Wd@@jky~NYkmHjE3467(- zc)>znps6gLE{-7)?sum+iZv_nxa8`;nPj}<$&uW4@!CukLy3d?{_*NukW}NmeAgyp z>YfbS?r-;HKP80Bcx-f#KlhQQ>aDGtb-3ShwX4nBlIL>7@%8uBhl_r%uxM9JT(-eG z!Q?KFg0KIg|FapY8h#y+c^k;NLT#7y3Cqjt@*WlN96fyLOjg3Y=bP$&NO>DKuCQ?T zKIGFNonX(QIJw~KfzU?|YKB={Au((bIf*HpcWev9;`ZHAnZa3cuSoxv#4Jvih|A7Q zvn*cRYnf&tVagg>c;PI=DNohVqX$>8gzS=Z5Ux7*;~Pswt)8@NS@Gt73DX_Ee9itF sXQiVVbL8RM#xjkpBdY(HeJ)FXhzc_L{^$5ZU=T5Qy85}Sb4q9e0JyZ9IsgCw literal 0 HcmV?d00001