[Mod] Solar Mana [solarmana] (WIP)

User avatar
Ben
Member
 
Posts: 160
Joined: Tue Mar 31, 2015 20:09

[Mod] Solar Mana [solarmana] (WIP)

by Ben » Sat Apr 04, 2015 20:16

Solar Mana mod

A regeneration controller mod for the mod mana by Wuzzy. Instead of constantly regenerating mana, players need to stand in direct sunlight to regenerate mana.

The definition of "standing in sunlight" is quite simple for now: the player's head needs to be at light level 15. Another variation tries to be more lenient, but is not without problems, so it's commented out in the code.

Since many magic users prefer their homes and offices to actually have a roof, standing on specific node types (currently wooden planks (group:wood) and gold blocks) will also regenerate mana.

Now with support for slower, and negative, regeneration. Just for fun, standing on stone will drain your mana...

Version: 0.4.0
License: LGPL 2.1

Repository: Solar Mana on GitHub

Download:

Dependencies:

This is my first mod, so any tips and comments, also regarding code style, archive contents or releasing procedure are very welcome!
Last edited by Ben on Fri Jul 10, 2015 19:59, edited 5 times in total.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Solar Mana [solarmana] (WIP)

by Don » Sun Apr 05, 2015 00:55

That's cool.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
TenPlus1
Member
 
Posts: 2424
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1
 

User avatar
Krock
Developer
 
Posts: 4151
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Solar Mana [solarmana] (WIP)

by Krock » Sun Apr 05, 2015 07:52

Afaik, there's only air in Minetest skies. The ozon (O3) protects us from UV light.
My conclusion is: Staying in the sunlight is bad in Minetest.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Hybrid Dog
Member
 
Posts: 2684
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Solar Mana [solarmana] (WIP)

by Hybrid Dog » Sun Apr 05, 2015 10:35

Krock wrote:Afaik, there's only air in Minetest skies. The ozon (O3) protects us from UV light.
My conclusion is: Staying in the sunlight is bad in Minetest.

And why is VaE's skin brown and not red?
http://minetest.fensta.bplaced.net/#name=VanessaE

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
Ben
Member
 
Posts: 160
Joined: Tue Mar 31, 2015 20:09

Re: [Mod] Solar Mana [solarmana] (WIP)

by Ben » Sun Apr 05, 2015 20:59

I've just uploaded another version (0.2.0), which adds mana regeneration while standing on specific nodes. This should make magic users' homes a good place to work in again, and provide a reason to build out your mining base.

Currently, standing on wood planks (from "default", at least) regenerates the same as in sunlight (the default value of '1' from the mana mod), while "default:goldblock" regenerates mana twice as fast.

These node types are mostly placeholders; I'd appreciate any tips as to what nodes would make sense (though I guess gold blocks could use the extra utility, even if it means everyone suddenly has gloriously shining floors in every room).
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
Location: On earth
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Solar Mana [solarmana] (WIP)

by Minetestforfun » Mon Apr 13, 2015 20:32

Great work/idea/mod !

I will try it soon, your mod give me many ideas about the mana mod in my server :)

I think it would be better if you post your mod on a git repository (gitlab, github, etc...)
 

User avatar
Ben
Member
 
Posts: 160
Joined: Tue Mar 31, 2015 20:09

Re: [Mod] Solar Mana [solarmana] (WIP)

by Ben » Tue Apr 14, 2015 20:19

It is on GitHub ;-) I'll add a link to the repository itself, not just the releases.

This mod is paused a bit right now; I'm thinking of writing a patch for Wuzzy's mana mod which allows floating point and negative regeneration, to see if we can get that in. Then you could not only have more fine-tuned regeneration, but also nodes or biomes which sap mana right out of you :-P

Thanks for reminding me, and have fun trying it ;-)
 

User avatar
Ben
Member
 
Posts: 160
Joined: Tue Mar 31, 2015 20:09

Re: [Mod] Solar Mana [solarmana] (WIP)

by Ben » Mon Apr 20, 2015 20:15

Version 0.3.1 released

Mana regeneration can now depend on node groups, not just individual nodes (thanks Mg!).
 

User avatar
Ben
Member
 
Posts: 160
Joined: Tue Mar 31, 2015 20:09

Re: [Mod] Solar Mana [solarmana] (WIP)

by Ben » Fri Jul 10, 2015 20:02

Version 0.4.0 released

I recently noticed that the mana mod now supported fractional and negative regeneration, so I've made another release. Now standing on wood or gold will regenerate mana much more slowly; standing on stone, on the other hand, will drain your mana!

(No, the stone thing is not serious. I mean, yes, it's in the code right now, but it makes no sense and will go away once something better is found.)

So, which node types should drain mana? What's good for natural or artificial "magic dampening zones"?
 

User avatar
Wuzzy
Member
 
Posts: 3243
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Solar Mana [solarmana] (WIP)

by Wuzzy » Wed Mar 09, 2016 20:18

Haha, great idea! I just found this mod now.

For “magic dampening zones” I'd suggest obsidian, obsidian brick and obsidian glass.
I don't think wood should boost mana regeneration, it's too cheap.
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

Re: [Mod] Solar Mana [solarmana] (WIP)

by prof-turbo » Thu Mar 10, 2016 20:12

Mithril on minetestforfun servers... Too expensive :p
 


Return to WIP Mods



Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 3 guests