From 2e5298d40f6d643f312ab4f7d7483c0e4fc093a0 Mon Sep 17 00:00:00 2001
From: Sirrobzeroone <44497598+sirrobzeroone@users.noreply.github.com>
Date: Wed, 30 Jun 2021 17:44:32 +1000
Subject: [PATCH] Tome Addition - Help Upgrading Machines
Added a help page about upgrading machines and instructions on how to create a soldering iron.
---
elepower_tome/i_eletome_additional_info.lua | 145 +++++++++++++++++-
elepower_tome/i_page_contents.lua | 2 +-
.../textures/elepower_tome_bgimg_sep.png | Bin 0 -> 548 bytes
.../textures/elepower_tome_icon_canning.png | Bin 0 -> 365 bytes
.../elepower_tome_icon_compressing.png | Bin 0 -> 313 bytes
5 files changed, 142 insertions(+), 5 deletions(-)
create mode 100644 elepower_tome/textures/elepower_tome_bgimg_sep.png
create mode 100644 elepower_tome/textures/elepower_tome_icon_canning.png
create mode 100644 elepower_tome/textures/elepower_tome_icon_compressing.png
diff --git a/elepower_tome/i_eletome_additional_info.lua b/elepower_tome/i_eletome_additional_info.lua
index b5a2fb8..f62b0ce 100644
--- a/elepower_tome/i_eletome_additional_info.lua
+++ b/elepower_tome/i_eletome_additional_info.lua
@@ -313,7 +313,7 @@ eletome.ai.nodes["getting_started"] = {how_use_1 = "This is a getting started
"image[2.625,0.375;0.75,0.75;elepower_tome_icon_crafting.png]"..
"tooltip[2.625,0.375;0.75,0.75;Crafting;#30434c;#f9f9f9]"..
"item_image_button[3.5,0.25;1,1;elepower_dynamics:wound_copper_coil;elepower_dynamics:wound_copper_coil;]"..
- "hypertext[3.5,0.9;1,1;num;]"..
+ "hypertext[3.5,0.9;1,1;num;]"..
"container_end[]"..
-- line 4
"container[0.875,3.75]"..
@@ -371,11 +371,11 @@ eletome.ai.nodes["getting_started"] = {how_use_1 = "This is a getting started
}
}
-eletome.ai.nodes["creating_your_first_pcb"] = {how_use_1 = "More advanced machines require a Printed Circuit Board(PCB) to craft them. "..
+eletome.ai.nodes["first_pcb_creation"] = {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; "..
+ "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 "..
@@ -441,7 +441,144 @@ eletome.ai.nodes["creating_your_first_pcb"] = {how_use_1 = "More advanced machin
}
}
-eletome.ai.nodes["upgrading_machines"] = {}
+eletome.ai.nodes["upgrading_machines"] = { how_use_1 = "Some machines can be upgraded to improve their power storage capacity, "..
+ "production speed or to make them more power efficient. To upgrade machines "..
+ "you need to craft a soldering iron so you can fit new parts to the machine.\n "..
+ "To craft a soldering iron you will need: 126 leaves, 8 silver ingots, 8 tin ingots, "..
+ "5 coal lumps, 4 zinc ingots, 2 lead ingots, 2 mese crystal fragments and 1 steel ingot. "..
+ "Detailed crafting instructions are on the right page.\nOnce you have your Soldering Iron "..
+ "simply hold the the tool and then left click on any machine and if it is "..
+ "upgradable you will be able to add components.",
+ hu_img_2 = {"container[0,0]"..
+ "style_type[item_image_button;bgimg=elepower_tome_bgimg_2.png]"..
+ -- line 1
+ "container[0.15,-0.1]"..
+ "item_image_button[0.375,0.25;1,1;default:blueberry_bush_leaves;leaves;]"..
+ "tooltip[leaves;Any Leaves;#30434c;#f9f9f9]"..
+ "style[num;font_size=-2;font=bold;textcolor=#FFF]"..
+ "hypertext[0.375,0.9;1,1;num;]"..
+ "image[1.5,0.375;0.75,0.75;elepower_tome_icon_crafting.png]"..
+ "tooltip[1.5,0.375;0.75,0.75;Crafting;#30434c;#f9f9f9]"..
+ "item_image_button[2.375,0.25;1,1;basic_materials:oil_extract;basic_materials:oil_extract;]"..
+ "hypertext[2.375,0.9;1,1;num;]"..
+ "image[3.5,0.375;0.75,0.75;elepower_tome_icon_cooking.png]"..
+ "tooltip[3.5,0.375;0.75,0.75;Cooking;#30434c;#f9f9f9]"..
+ "item_image_button[4.375,0.25;1,1;basic_materials:paraffin;basic_materials:paraffin;]"..
+ "hypertext[4.375,0.9;1,1;num;]"..
+ "image[5.5,0.375;0.75,0.75;elepower_tome_icon_cooking.png]"..
+ "tooltip[5.5,0.375;0.75,0.75;Cooking;#30434c;#f9f9f9]"..
+ "item_image_button[6.375,0.25;1,1;basic_materials:plastic_sheet;basic_materials:plastic_sheet;]"..
+ "hypertext[6.375,0.9;1,1;num;]"..
+ "image[0,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 2
+ "container[0.75,1.15]"..
+ "item_image_button[0.375,0.25;1,1;basic_materials:plastic_sheet;basic_materials:plastic_sheet;]"..
+ "hypertext[0.375,0.9;1,1;num;]"..
+ "image[1.5,0.375;0.75,0.75;elepower_tome_icon_crafting.png]"..
+ "tooltip[1.5,0.375;0.75,0.75;Crafting;#30434c;#f9f9f9]"..
+ "item_image_button[2.375,0.25;1,1;basic_materials:empty_spool;basic_materials:empty_spool;]"..
+ "hypertext[2.375,0.9;1,1;num;]"..
+ "item_image_button[3.5,0.25;1,1;moreores:silver_ingot;moreores:silver_ingot;]"..
+ "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;basic_materials:silver_wire;basic_materials:silver_wire;]"..
+ "hypertext[5.5,0.9;1,1;num;]"..
+ "image[-0.65,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 3
+ "container[1.75,2.4]"..
+ "item_image_button[0.375,0.25;1,1;basic_materials:silver_wire;basic_materials:silver_wire;]"..
+ "hypertext[0.375,0.9;1,1;num;]"..
+ "item_image_button[1.5,0.25;1,1;elepower_dynamics:zinc_ingot;elepower_dynamics:zinc_ingot;]"..
+ "hypertext[1.5,0.9;1,1;num;]"..
+ "image[2.625,0.375;0.75,0.75;elepower_tome_icon_crafting.png]"..
+ "tooltip[2.625,0.375;0.75,0.75;Crafting;#30434c;#f9f9f9]"..
+ "item_image_button[3.5,0.25;1,1;elepower_dynamics:wound_silver_coil;elepower_dynamics:wound_silver_coil;]"..
+ "hypertext[3.5,0.9;1,1;num;]"..
+ "image[-1.65,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 4
+ "container[-0.4,3.65]"..
+ "item_image_button[0.375,0.25;1,1;default:coal_lump;default:coal_lump;]"..
+ "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:coal_dust;elepower_dynamics:coal_dust;]"..
+ "hypertext[2.375,0.9;1,1;num;]"..
+ "item_image_button[3.5,0.25;1,1;default:coal_lump;default:coal_lump;]"..
+ "hypertext[3.5,0.9;1,1;num;]"..
+ "image[4.625,0.375;0.75,0.75;elepower_tome_icon_alloying.png]"..
+ "tooltip[4.625,0.375;0.75,0.75;Alloying;#30434c;#f9f9f9]"..
+ "item_image_button[5.5,0.25;1,1;elepower_dynamics:graphite_ingot;elepower_dynamics:graphite_ingot;]"..
+ "hypertext[5.5,0.9;1,1;num;]"..
+ "image[6.625,0.375;0.75,0.75;elepower_tome_icon_grinding.png]"..
+ "tooltip[6.625,0.25;0.75,0.75;Grinding;#30434c;#f9f9f9]"..
+ "item_image_button[7.5,0.25;1,1;elepower_dynamics:graphite_rod;elepower_dynamics:graphite_rod;]"..
+ "hypertext[7.5,0.9;1,1;num;]"..
+ "image[0.55,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 5
+ "container[2.25,4.9]"..
+ "item_image_button[0.375,0.25;1,1;default:tin_ingot;default:tin_ingot;]"..
+ "hypertext[0.375,0.9;1,1;num;]"..
+ "image[1.5,0.375;0.75,0.75;elepower_tome_icon_compressing.png]"..
+ "tooltip[1.5,0.375;0.75,0.75;Compressing;#30434c;#f9f9f9]"..
+ "item_image_button[2.375,0.25;1,1;elepower_dynamics:tin_plate;elepower_dynamics:tin_plate;]"..
+ "hypertext[2.375,0.9;1,1;num;]"..
+ "image[-2.15,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 6
+ "container[0.25,6.15]"..
+ "item_image_button[0.375,0.25;1,1;elepower_dynamics:zinc_ingot;elepower_dynamics:zinc_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.375;0.75,0.75;Grinding;#30434c;#f9f9f9]"..
+ "item_image_button[2.375,0.25;1,1;elepower_dynamics:zinc_dust;elepower_dynamics:zinc_dust;]"..
+ "hypertext[2.375,0.9;1,1;num;]"..
+ "item_image_button[4.375,0.25;1,1;elepower_dynamics:lead_ingot;elepower_dynamics:lead_ingot;]"..
+ "hypertext[4.375,0.9;1,1;num;]"..
+ "image[5.5,0.375;0.75,0.75;elepower_tome_icon_grinding.png]"..
+ "tooltip[5.5,0.375;0.75,0.75;Grinding;#30434c;#f9f9f9]"..
+ "item_image_button[6.375,0.25;1,1;elepower_dynamics:lead_dust;elepower_dynamics:lead_dust;]"..
+ "hypertext[6.375,0.9;1,1;num;]"..
+ "image[-0.15,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 7
+ "container[0,7.4]"..
+ "item_image_button[0.25,0.25;1,1;elepower_dynamics:tin_plate;elepower_dynamics:tin_plate;]"..
+ "hypertext[0.25,0.9;1,1;num;]"..
+ "item_image_button[1.375,0.25;1,1;default:mese_crystal_fragment;default:mese_crystal_fragment;]"..
+ "hypertext[1.375,0.9;1,1;num;]"..
+ "item_image_button[2.5,0.25;1,1;elepower_dynamics:graphite_rod;elepower_dynamics:graphite_rod;]"..
+ "hypertext[2.5,0.9;1,1;num;]"..
+ "item_image_button[3.625,0.25;1,1;elepower_dynamics:zinc_dust;elepower_dynamics:zinc_dust;]"..
+ "hypertext[3.625,0.9;1,1;num;]"..
+ "item_image_button[4.75,0.25;1,1;elepower_dynamics:lead_dust;elepower_dynamics:lead_dust;]"..
+ "hypertext[4.75,0.9;1,1;num;]"..
+ "image[5.875,0.375;0.75,0.75;elepower_tome_icon_crafting.png]"..
+ "tooltip[5.875,0.375;0.75,0.75;Crafting;#30434c;#f9f9f9]"..
+ "item_image_button[6.75,0.25;1,1;elepower_dynamics:battery;elepower_dynamics:battery;]"..
+ "hypertext[6.75,0.9;1,1;num;]"..
+ "image[0.1,1.36;7.75,0.05;elepower_tome_bgimg_sep.png]"..
+ "container_end[]"..
+ -- line 8
+ "container[1,8.65]"..
+ "item_image_button[0.375,0.25;1,1;default:steel_ingot;default:steel_ingot;]"..
+ "hypertext[0.375,0.9;1,1;num;]"..
+ "item_image_button[1.5,0.25;1,1;elepower_dynamics:wound_silver_coil;elepower_dynamics:wound_silver_coil;]"..
+ "hypertext[1.5,0.9;1,1;num;]"..
+ "item_image_button[2.625,0.25;1,1;elepower_dynamics:battery;elepower_dynamics:battery;]"..
+ "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_tools:soldering_iron;elepower_tools:soldering_iron;]"..
+ "hypertext[4.625,0.9;1,1;num;]"..
+ "container_end[]"..
+ "container_end[]"}
+
+ }
-- Generators Page
eletome.ai.nodes["elepower_machines:generator"] = {lb_top_img = "default:coal_lump",
diff --git a/elepower_tome/i_page_contents.lua b/elepower_tome/i_page_contents.lua
index 9f97b50..8778b04 100644
--- a/elepower_tome/i_page_contents.lua
+++ b/elepower_tome/i_page_contents.lua
@@ -41,7 +41,7 @@ function eletome.contents_page()
local content_lp = "hypertext[0.75,1.8;8.0,5.5;content_lp_c_text;"..sty_h3s..content_lp_txt..sty_h3s.."]"
local links_lp = "hypertext[0.75,6.8;8.0,4.0;help;"..sty_h3s..
"Getting Started\n"..
- "Creating your 1st PCB\n"..
+ "First PCB Creation\n"..
"Upgrading Machines"..
sty_h3e.."]"
diff --git a/elepower_tome/textures/elepower_tome_bgimg_sep.png b/elepower_tome/textures/elepower_tome_bgimg_sep.png
new file mode 100644
index 0000000000000000000000000000000000000000..00f58317066a2de4e07cd91d8978d16b2ba4090f
GIT binary patch
literal 548
zcmV+<0^9wGP)EX>4Tx04R}tkv&MmKpe$iQ?(+k4t9{@kfAzR5EXHhDi*;)X)CnqU~=h)(4-+r
zad8w}3l4rPRvlcNb#-tR1i=pwH#a9m7b)?7NufoI2gm(*ckglc4iFj@rkY*jfT~$W
zIuRFh`4utniXKD|KnVR3GxcO*kxkDLhl#~f2g@DI%7#ijMI2RBjq-(@
z%L?Z$&T6H`TKD8H3>LKI4A*H6BY{OEk%9;rHEf^)3o%+XQcR?2Kkng=IQ|s5WO8kQ
zkz*cJsE`~#_#gc4)+|m=xJkh{(EVcDA0t3u7iiXP`}^3on<>&pI=O-4*tzo)4+2`D64;u=xnoS&PU
znpeW$T$GwvlA5AWo>`Ki;O^-g5Z=fq4pel))5S3);_%yWN4_Hp96HkfPfs+j_;U2_
z?Pa?oB?N+VmDDG589x$vVxcBo`eTlA@+F1?B5baXu18!}Z*AicWO8dbA>x!GbfU@X
z#04WsjsN?$U9-zh^UFNYwN&T=Q-ILZrk!dEob1mlP<<~|8#4KE;Y6$cbgQu&X%Q~loCIDl`
BgFXNN
literal 0
HcmV?d00001
diff --git a/elepower_tome/textures/elepower_tome_icon_compressing.png b/elepower_tome/textures/elepower_tome_icon_compressing.png
new file mode 100644
index 0000000000000000000000000000000000000000..d15dfc4ebeea170895fb18a79bf01035af44c73f
GIT binary patch
literal 313
zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}Y)RhkE)3-$
zsGBGI3Mj%^;1OBOz`!jG!i)^F=12eq*-JcqUD=ooxJHyX=jZ08
z=9Mrw7o{eaq^2m8XO?6rxO@5rgg5eu0~Jm2ba4!cIQ({+Bi{i94wj`K_si8XyT|*i
zSKBHmmFnB|ym#|KRv*q9kA)NG_Hf5Gt`WT!gT#WfvIb96ycuRzN*#+^
z%$bz(;DkVz`sB2N*DN7^E>e;cL>-zHU-9lZ;I4M!<=yzt4DXvtqNKabzi;G@%8ov{
ybjoJ+g$+A?aQ!Lgdos2A`RS%Ee$N(xy1eKOYGx^p+pK}^WAJqKb6Mw<&;$TQm1m>?
literal 0
HcmV?d00001