Page 1 of 1

[Mod_request] Better_enchant

Posted: Sat Jan 25, 2020 20:41
by pampogokiraly
Overview:
In the mod you can enchant your tools with a new mineral instead of mese.
You can upgrade your enchants with a new machine.
Each tool have different enchantments and some of them are really unique!
There is also a different method to enchant armors from the 3d_armors mod.

new mineral:
The mod gives us a new mineral: The Electrogem.
You can find it around where you can find diamonds.
You can craft Magic gems like this:

Code: Select all

"nothing" "meseshard" "electrogem"
"meseshard" "electrogem" "meseshard"
"electrogem" "meseshard" "nothing"
The gems are used for enchanting the tools and for upgrading the enchantments.

Enchant tools:
1. Craft the (really) strong cauldron like this:

Code: Select all

"steelblock" "nothing" "steelblock"
"steelblock" "nothing" "steelblock"
"diamond" "diamond" "diamond"
2. Place the cauldron down.
3. Right click the cauldron with a lava bucket to fill it with lava. (Note: If you throw an item on top of it now, the item will disappear)
4. Right click the cauldron with a magic gem in hand will make it white and make the lava ready to use
5. Throw a tool (enchanted/unenchanted) on top of the cauldron (or into the cauldron) to start enchanting the tool. The program chooses a random enchantment and add it to the tool (it can give only one enchantment), if the tool already had the enchantment then your tool gets nothing.
6. After any use the lava looses his magic power and changes back to normal lava. If you want to add an another enchant for your tool then you have to repeat the process from number four.

upgrade tool and armor enchantments:
1. Craft the electropader (E-P) like this:

Code: Select all

"copper_ingot" "steel_ingot" "copper_ingot"
"steel_ingot" "mese_crystal" "steel_ingot"
"copper_ingot" "steel_ingot" "copper_ingot"
2. Place the E-P down
3. Open the E-P with right click.
Note: The inside of the E-P looks like this: Two slots, one for the tool/armor, the other is for the electrogems and the E-P has a BIG start button.
4. Put in the tool/armor that owns the enchantment that you want to upgrade.
5. Put in two electrogems.
6. Press start and wait until the E-P says its done. The program of the E-P does the same thing as the strong cauldron does but instead of enchanting the tool/armor the E-P upgrades one of the enchantments.
7. The E-P uses all the gems even if you did not succeed to upgrade the item.
And i got this great idea but its not necessary:
You can switch between two modes in the E-P, you have the normal mode and the contrast mode.
You have to throw 4 gems into the E-P if you use the contrast mode but the upgrade has a 100% chance of upgrading your tool/armor.

Repair tools (You can not do this with the armors)
If you insert a broken enchanted tool and a fresh new normal tool with the same material as the enchanted one and also one magic gem, you get back a fresh new enchanted tool (same enchants as the broken tool).



This is it for the method of enchanting, now lets take a look at the tool enchantments:

Pickaxe
-Strength = Makes the pick more durable
-Boostmine = The pick mines faster
-wysiwyg or TakeItAll = If you mine an ore you get the ore block instead of the ore lump
-Smelter = The tool cooks everything what you have mined
-Four-leaf clover = You get two lumps when you dig an ore
Note: The wysiwyg (or TakeItAll), Smelter and the Four-leaf clover enchantment can not go on the same pickaxe.
-Ore hunter = You dig every connected ore with this enchantment
-Teleporter = This enchant teleports your freshly mined items into the last chest opened in a 100 block range
-Crack it = If you right click a stone with a pickaxe that owns this enchant then the stone will change to a cobblestone
Levels of the pickaxe enchants:
-Strength lv2 = Makes the pick even more durable
-Boostmine lv2 = The pick mines even more faster
-Teleporter lv2 = Last chest opened in a 500 block range
-Teleporter lv3 = Last chest opened in a infinite block range
-Crack it lv2 = If you right click a cobblestone with... ...the cobblestone will change to a stone

Axe
-Strength = Makes the axe more durable
-Boostcut = The axe cuts faster
-Pick = The enchant gives the ability to mine stone with your axe like with a normal wooden pickaxe
-Chopper = cut down all the surrounding trees with this enchant
-Teleporter = This enchant teleports your freshly mined items into the last chest opened in a 100 block range
-Climber = Right click a tree to summon around it some unpointable climbable node, they disappear if anything destroys the tree node
-Woodcrafter = If you cut a tree block with an axe that own this enchant then you get 5 wooden planks instead of one tree
Levels of the axe enchants:
-Strength lv2 = Makes the axe even more durable
-Boostcut lv2 = The axe cuts even more faster
-Pick lv2 = With a normal stone pickaxe
-Pick lv3 = With a normal bronze pickaxe
-Teleporter lv2 = Last chest opened in a 500 block range
-Teleporter lv3 = Last chest opened in a infinite block range

shovel
-Strength = Makes the shovel more durable
-Boostdig = The shovel digs faster
-Careful dig = Take the exact node that you dig
-Hot touch = The tool cooks everything what you have dug (sand --> glass)
-SMASH! = When you dig a node, all the surrounding plants (grass, flowers etc...) from the dirt blocks disappear
-Filter = You have a bigger chance to get flint from gravel
Note: the careful dig don't go together with the hot touch or with the filter enchant.
-Pathfinder = Right clicking a dirt block with this enchanted shovel replaces it to a dirt_with_stone (ill provide the textures later)
Levels:
-Strength lv2 = Makes the shovel even more durable
-Boostdig lv2 = The shovel digs even more faster
-filter lv2 = You have an even bigger chance

sword (Hmmmm... slice?)
-Strength = Makes the sword more durable
-Boostslice = The sword slices faster
-Sharp = The sword deals more damage
-Planter = You have a bigger chance to get seed from grass/junglegrass
-Harvester = Collect more cotton or wheat when you harvest them with this sword
-Safe slicer = You have a bigger chance to get sapling from leaves
-Featherlight = The sword with this enchant on it reloads a little bit faster
-Charged = If you hold right click, your sword starts charging and your movement slows down. It takes 5 sec to charge up. Once the sword is charged the texture changes to light blue with blue stripes on it (ill provide the textures for it later). If you release a charged sword and hit your target with it, the enemy looses 3x more damage, and of course the sword changes back to normal.
Note: charged+featherlight = not on the same sword!
Levels:
-Strength lv2 = Makes the sword even more durable
-Boostslice lv2 = The sword slices even more faster
-Sharp lv2 = The sword deals even more damage
-Planter lv2 = You have an even bigger chance to get seed
-Planter lv3 = You have a super BIG chance to get seed
-Charged lv2 = It only takes 4 sec to charge up

hoe (Do we need any enchant for the hoe?)
-Strength = Makes the hoe more durable
-Right seed = Every time you use your hoe you plant a seed automatically. The hoe takes the seeds from the right of the hoe.
-Soilor = When you use your hoe, you make supersoil instead of normal soil (ill provide the textures later).
The supersoil don't need any water to stay wet.
-Multiplanter = In the first three stages of a plant (seed, plant1 and plant2), you can switch between between cotton and wheat by right click it with a hoe that owns this enchant.
-Composted dirt = When you use your hoe you make composted dirt instead of normal soil (ill provide the textures later). If you plant a wheat or cotton on composted dirt they instantly grow to their third stage (plant2).
Note: The soilor and the composted dirt enchantments can not be on the same hoe.
Levels:
-Strength lv2 = Makes the hoe even more durable
-Multiplant lv2 = In the first four stages of a plant (seed, plant1, plant2 and plant3).
-Composted dirt lv2 = They instantly grow to their fourth stage (plant3).



And now for the 3d-armor support:

Enchant armors:
1. Craft the mese anvil like this:

Code: Select all

"mese_crystal" "mese_crystal" "mese_crystal"
"nothing" "bronze_ingot" "nothing"
"bronze_ingot" "bronze_ingot" "bronze_ingot"
2. Craft a hammer like this:

Code: Select all

"steelblock"
"stick"
"stick"
3. Craft the enchanting hammer like this:

Code: Select all

"magic gem" "hammer" "magic gem"
4. Place down the anvil and throw an armor (enchanted/unenchanted) on top of it.
5. Punch the anvil with your enchanter hammer to enchant your armor. The armor then gets a random enchantment and gets repaired, if it already got the enchant then the armor doesn't gets any enchantment but the armor is still gets repaired.
6. The enchanter hammer changes to a normal hammer after use.

Boots
-Strength = Makes the armor more durable
-Defender = The armor have a better protect
-Racer = You can run faster
Levels:
-Racer lv2 = You can run even faster

Leggings
-Strength = Makes the armor more durable
-Defender = The armor have a better protect
-Spring = You can jump higher
Levels:
-Spring lv2 = You can jump even higher

Chestplates
-Strength = Makes the armor more durable
-Defender = The armor have a better protect
-Fire = You can survive longer in fire and in lava
Levels:
-Fire lv2 = You can survive even longer

Helmets
-Strength = Makes the armor more durable
-Defender = The armor have a better protect
-Breather = You loose your air bubbles slower
Levels:
-Breather lv2 = You loose your air bubbles even slower

Shields
-Strength = Makes the armor more durable
-Defender = The armor have a better protect
-Parachuite = You fall down slower (less gravity when the player falls)
Levels:
-Parachuite lv2 = You fall down even slower



This is it for now! I'm trying to help as much as i can to make this mod (as i said ill make the textures) but i am not a good coder so i can not help you that much with coding it (i just started to learn lua). I hope you find all these useful and of course you can change anything that you don't like in it... and also let me know what do you think of the overall idea. Thank you for reading and have a nice day.

Re: [Mod_request] Better_enchant

Posted: Sat Jan 25, 2020 21:56
by SanskritFritz
A very detailed specification! Well done!

Re: [Mod_request] Better_enchant

Posted: Sun Jan 26, 2020 08:12
by srinivas
Perheps, we can have another machine that uses the technic mod to generate more of your mineral electrogem
Do you have textures for for most of the stuff you just described?
If not, my hat is in the ring

Re: [Mod_request] Better_enchant

Posted: Sun Jan 26, 2020 08:42
by pampogokiraly
srinivas wrote:Perheps, we can have another machine that uses the technic mod to generate more of your mineral electrogem
Do you have textures for for most of the stuff you just described?
If not, my hat is in the ring
Im working on the textures now. Im making the gem red with some white stripes and also searcing for some good colorisation (transparent white) for the tools. You can help me if you want. :D

Re: [Mod_request] Better_enchant

Posted: Sun Jan 26, 2020 15:32
by srinivas
would the gem be like the diamond that you get from the ore in minetest?
and how are you planning to distinguish b/w the enchanted tool and normal tool?
so anything in particular that i can do?
perhaps you can try #C11B17 or #E42217.

Re: [Mod_request] Better_enchant

Posted: Mon Jan 27, 2020 09:29
by pampogokiraly
srinivas wrote:would the gem be like the diamond that you get from the ore in minetest?
Not realy. In mt we have the ores we have the (mese) crystal and i think we need a different look for the gems
srinivas wrote:and how are you planning to distinguish b/w the enchanted tool and normal tool?
We have to make a new texture that looks like a normal tool but it has some white and light blue texture on it (i have no idea how it looks like because i don't have time right now to try making it).
srinivas wrote:so anything in particular that i can do?
Yes! You can try to make the mineral electricgem (and the best if even you animate it :D)
srinivas wrote:perhaps you can try #C11B17 or #E42217.
Doasen't work :(

Re: [Mod_request] Better_enchant

Posted: Mon Jun 01, 2020 14:03
by Merak
There is only 1 enchantment I want presently:
to add light to a tool so that I don't need to switch between carrying a torch and a tool constantly. How about it?
I use HDX textures, so I would rather it did not cause the tool to become low resolution.

Re: [Mod_request] Better_enchant

Posted: Mon Jun 01, 2020 14:21
by acidzebra
Merak wrote:
Mon Jun 01, 2020 14:03
There is only 1 enchantment I want presently:
to add light to a tool so that I don't need to switch between carrying a torch and a tool constantly. How about it?
I use HDX textures, so I would rather it did not cause the tool to become low resolution.
Titanium mods adds a "google glass" that acts as an offhand light, at least it did in the original and I still see the code in the recent port https://github.com/HybridDog/titanium

Re: [Mod_request] Better_enchant

Posted: Mon Jun 01, 2020 14:43
by FreeGamers
I agree that a good implementation is needed.

"xdecor" had an enhancting table that had a basic implementation. Perhaps someone good look at that as a foundation or proof of concept.

This type of post should be in the "Modding Discussion" category, not the WIP section as its not an actual mod currently.

Re: [Mod_request] Better_enchant

Posted: Mon Jun 01, 2020 15:17
by pampogokiraly
FreeGamers wrote:
Mon Jun 01, 2020 14:43
This type of post should be in the "Modding Discussion" category, not the WIP section as its not an actual mod currently.
You're right! I'll fix that :)

Re: [Mod_request] Better_enchant

Posted: Tue Jul 28, 2020 17:33
by LRV
I might try to code this in the next weeks.

Re: [Mod_request] Better_enchant

Posted: Wed Jul 29, 2020 21:09
by Noodlemire
pampogokiraly wrote:
Sat Jan 25, 2020 20:41
if the tool already had the enchantment then your tool gets nothing.
Personally, I don't like this. I think it should re-roll one of the tool's enchantments at the very least. Players still have to go through the trouble of making the lava usable again, so I don't see the point of making nothing happen when an enchanted tool is thrown in. It would pretty much be a convenience factor anyways; if players got something they didn't like, they'd just craft the tool again anyways.

Re: [Mod_request] Better_enchant

Posted: Thu Jul 30, 2020 06:16
by pampogokiraly
Noodlemire wrote:
Wed Jul 29, 2020 21:09
pampogokiraly wrote:
Sat Jan 25, 2020 20:41
if the tool already had the enchantment then your tool gets nothing.
Personally, I don't like this. I think it should re-roll one of the tool's enchantments at the very least. Players still have to go through the trouble of making the lava usable again, so I don't see the point of making nothing happen when an enchanted tool is thrown in. It would pretty much be a convenience factor anyways; if players got something they didn't like, they'd just craft the tool again anyways.
You might be right. Its been a really long time since i made this idea....
but one thing for sure: I made this mod-idea for about 5-6 months, and i had real reasons for each of the different mechanisms!
LRV wrote: ... ... ... (i forget what you said here... lol)
That sounds really nice! Let me know if you need my help (texturing, and making more ideas)!

Re: [Mod_request] Better_enchant

Posted: Thu Jul 30, 2020 08:03
by LRV
I'd need a texture for the electrogem first of all, then textures for the supercauldron (as soon as I make the custom nodebox for that).

Re: [Mod_request] Better_enchant

Posted: Thu Jul 30, 2020 09:35
by pampogokiraly
Welp! I am not very good at making pixelarts but here is my first try (maybe ill try to fix it a bit later...)

Re: [Mod_request] Better_enchant

Posted: Thu Jul 30, 2020 10:55
by LRV
Hmm, good texture. However you are in violation of CC BY-SA 3.0 license terms by not providing license info, credits etc. as this is obviously a deriviative of BlockMen's diamond texture. However, now that I know what you mean I'll make the textures myself.

Re: [Mod_request] Better_enchant

Posted: Thu Jul 30, 2020 16:13
by pampogokiraly
Well... making a new gem texture is also possible :P
Also i dont know anything about license and stuff.... i might have to learn more about this stuff XD

Re: [Mod_request] Better_enchant

Posted: Thu Jul 30, 2020 17:34
by LRV
You should remove the file from attachments though.

Re: [Mod_request] Better_enchant

Posted: Thu Dec 24, 2020 22:31
by LRV
Sorry I wasn't able to start working on the mod yet. I was occupied with real life things. However I will recommence development soon.

Re: [Mod_request] Better_enchant

Posted: Fri Dec 25, 2020 09:24
by pampogokiraly
LRV wrote:
Thu Dec 24, 2020 22:31
Sorry I wasn't able to start working on the mod yet. I was occupied with real life things. However I will recommence development soon.
Oh that's cool! ty :D

Re: [Mod_request] Better_enchant

Posted: Sat Dec 26, 2020 21:55
by LRV
I've coded the gems as well as the cauldron. The procedure currently works up until throwing the tool on the cauldron.
viewtopic.php?f=9&t=25911