[Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

Post Reply
User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27

[Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by minermoder27 » Post

Equivalent Exchange for Minetest

Based of ideas from Minecraft Equivalent Exchange 2

This mod adds a way to convert between different types of block and item, hence the name. You can do stuff like convert 1 gravel to 4 cobble, and back again.

How it works:
Most items included in the default mod have something called an EMC value. This defines what the item is worth.

Example:
Most strip-miners have huge amounts of cobblestone, but want stuff like mese. As mese is worth 8442 EMC, you can convert 8442 cobblestone into a mese crystal. Let's say that you want to make mese out of obsidian, not cobblestone. Obsidian is worth 64 EMC, so you would need 131.90625 blocks of obsidian to make a mese crystal.

To use it, you need to cheat yourself a Energy Condencer, as this is what you use to convert between things.
Open it up:
Image
Then put what you want to make in the corner:
Image
Finally, put all the stuff you want to use in the main inventory (I put cobblestone in, but it converted to a book of power too fast):
Image
Then just take it out and use it.

Credit:
A massive amount of work has been done by ksjdragon and yamanq, who have written most of this mod.

Downloads:
Github: https://github.com/minermoder27/equivalent_exchange/
Zip: https://github.com/minermoder27/equival ... master.zip
Last edited by minermoder27 on Tue Feb 02, 2016 22:20, edited 2 times in total.
My best mods:
Buildtest

User avatar
RHR
Member
Posts: 215
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

by RHR » Post

131.90625 blocks of obsidian to make a mese crystal
That sounds very expensive ....

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27

by minermoder27 » Post

You can do it the other way around, too:
mese crystal = 131.90625 blocks of obsidian
It is not a one-way thing.
My best mods:
Buildtest

User avatar
snakevenom
Member
Posts: 119
Joined: Sat Sep 22, 2012 12:56
Location: worthing

by snakevenom » Post

Can i request permission to use this mod in my modpack that hopefully will go public?

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

snakevenom wrote:Can i request permission to use this mod in my modpack that hopefully will go public?
https://github.com/minermoder27/equival ... ICENSE.txt
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27

by minermoder27 » Post

If you are talking in terms of licensing rights, see below.
If you are asking to see if i'm OK with it, sure.

I think you do have the right, given #4 in the license (correct me if i'm wrong):
Spoiler
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
Also, please post a link to the mod pack once it is done.
Enjoy
Last edited by minermoder27 on Wed Apr 09, 2014 00:55, edited 1 time in total.
My best mods:
Buildtest

MrOverCast
Member
Posts: 59
Joined: Fri Mar 30, 2018 06:18
GitHub: MrOverCast
IRC: MrOverCast
In-game: MrOverCast

Re: [Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by MrOverCast » Post

2018-12-15 23:19:52: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2018-12-15 23:19:52: ERROR[Main]: ModError: Failed to load and run script from /home/cmarek/.minetest/mods/Equivalent/equivalent_exchange/init.lua:
2018-12-15 23:19:52: ERROR[Main]: ...k/.minetest/mods/Equivalent/equivalent_exchange/emcs.lua:92: attempt to index a nil value
2018-12-15 23:19:52: ERROR[Main]: stack traceback:
2018-12-15 23:19:52: ERROR[Main]: ...k/.minetest/mods/Equivalent/equivalent_exchange/emcs.lua:92: in main chunk
2018-12-15 23:19:52: ERROR[Main]: [C]: in function 'dofile'
2018-12-15 23:19:52: ERROR[Main]: ...k/.minetest/mods/Equivalent/equivalent_exchange/init.lua:5: in main chunk
2018-12-15 23:19:52: ERROR[Main]: Check debug.txt for details.



?

User avatar
Mantar
Member
Posts: 584
Joined: Thu Oct 05, 2017 18:46
Contact:

Re: [Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by Mantar » Post

It's attempting to get the item data for the nyancat, which isn't in minetest anymore. For a quick local fix, edit equivalent_exchange/emcs.lua so it reads:

Code: Select all

--		nyancat = 3786750,
--		nyancat_rainbow = 3786750,
Commenting out that entry will prevent the crash.
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile

MrOverCast
Member
Posts: 59
Joined: Fri Mar 30, 2018 06:18
GitHub: MrOverCast
IRC: MrOverCast
In-game: MrOverCast

Re: [Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by MrOverCast » Post

That line is already there in the equivalent_exchange/emcs.lua.........

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by Desour » Post

MrOverCast wrote:That line is already there in the equivalent_exchange/emcs.lua.........
It was said, that you should comment it out. Add -- to the beginning of both lines.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

MrOverCast
Member
Posts: 59
Joined: Fri Mar 30, 2018 06:18
GitHub: MrOverCast
IRC: MrOverCast
In-game: MrOverCast

Re: [Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by MrOverCast » Post

DS-minetest wrote:
MrOverCast wrote:That line is already there in the equivalent_exchange/emcs.lua.........
It was said, that you should comment it out. Add -- to the beginning of both lines.
thats what i did it didn't seem to do anything

MrOverCast
Member
Posts: 59
Joined: Fri Mar 30, 2018 06:18
GitHub: MrOverCast
IRC: MrOverCast
In-game: MrOverCast

Re: [Mod] Equivalent Exchange [v1.1] [equivalent_exchange]

by MrOverCast » Post

I tried it again fresh and got it working by commenting the lines mentioned. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests