[Mod] Inspire [inspire]

User avatar
duane
Member
 
Posts: 1253
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

[Mod] Inspire [inspire]

by duane » Thu Jan 19, 2017 07:37

Inspire is a little mod that gives players a craft item reward for exploring the world and building things. The reward is an "inspiration", which can be used to upgrade and duplicate materials, and make other things. The inspirations are not supposed to be rare or particularly valuable -- they just exist to encourage people.

Whenever a chunk is generated by the mapgen, anyone within a given radius (500 blocks by default) will be awarded a certain number of points. After they collect enough, an inspiration is added to their inventory.

Building is defined as placing blocks. More decorative blocks have higher point rewards. It's quite easy to game the system by repeatedly placing and digging the same blocks, or just dumping loads of dirt everywhere. I'm not all that concerned about making it more particular at the moment.

Note: only the default game blocks are awarded particular values. Any nodes added by another mod will default to double the value of dirt.

Recipes
+ Spoiler


Many of my mods have recipes that require inspirations, including: dpies, elixirs, fun_cave, fun_guns, fun_tools, and xlocate

This is a work in progress.

The source is available on github.

Code: LGPL2, textures: GFDL

Mod dependencies: default

Download: https://github.com/duane-r/inspire/archive/master.zip
Last edited by duane on Sun Jul 02, 2017 05:07, edited 3 times in total.
Believe in people and you don't need to believe anything else.
 

User avatar
duane
Member
 
Posts: 1253
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] Inspire [inspire]

by duane » Thu Jan 19, 2017 07:37

Problems: None so far...
Believe in people and you don't need to believe anything else.
 

User avatar
duane
Member
 
Posts: 1253
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] Inspire [inspire]

by duane » Sun Jul 02, 2017 04:58

I removed the node upgrade recipes and added a recipe that gives you a random node back.

Image
Attachments
t01.jpg
(252.83 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7286
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Inspire [inspire]

by azekill_DIABLO » Mon Jul 03, 2017 11:24

nice... a bit wierd but seems fun.
【Voxellar 2.0】 ; 【MILA】 update ; 【Rec_a_MT】 ; 【BB,HD】 update ; 【▶ Youtube】 This person worked too hard to be forgotten: Feedback me!
 

User avatar
RSLRedstonier
Member
 
Posts: 421
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod] Inspire [inspire]

by RSLRedstonier » Tue Feb 20, 2018 16:26

how did you figure the random node?
I can think of 2 ways that it might have been done
1.on_craft to remove the crafted item and return a random item
2.craft an item that can be used to obtain a random item
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

User avatar
Pyrollo
Member
 
Posts: 42
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [Mod] Inspire [inspire]

by Pyrollo » Wed Feb 21, 2018 13:38

RSLRedstonier wrote:how did you figure the random node?


The answer is here: https://github.com/duane-r/inspire/blob ... ecipes.lua
 

User avatar
RSLRedstonier
Member
 
Posts: 421
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod] Inspire [inspire]

by RSLRedstonier » Wed Feb 21, 2018 14:06

Pyrollo wrote:
RSLRedstonier wrote:how did you figure the random node?


The answer is here: https://github.com/duane-r/inspire/blob ... ecipes.lua

ty
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

User avatar
Lord_Vlad
Member
 
Posts: 71
Joined: Thu Jul 20, 2017 07:58

Re: [Mod] Inspire [inspire]

by Lord_Vlad » Sat Apr 21, 2018 20:29

Inspiration is also food for some reason ?
And it's like much too OP... How can I disable this ?
 

User avatar
RSLRedstonier
Member
 
Posts: 421
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod] Inspire [inspire]

by RSLRedstonier » Tue Apr 24, 2018 15:19

Lord_Vlad wrote:Inspiration is also food for some reason ?
And it's like much too OP... How can I disable this?

go to the inspiration item def and remove the on right click eat line
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests