[Mod] Awards / Achievements [3.2.0] [awards]

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

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by Wuzzy » Post

I can confirm the bug reported by texmex.

I have a question to the players here (because I added to the achievements): What do you think about the current set of default achivements in this mod?
Are they good/interesting/boring?
Which achievements do you like/hate?
Do you have ideas for new achievements (for Minetest Game only)?

im-poke
Member
Posts: 1084
Joined: Sat Apr 18, 2015 15:50
IRC: poke
In-game: poke
Location: Somewhere in the Universe, on a weird planet called Earth/

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by im-poke » Post

Cook
Cook/bake/melt 125 things
Chef
Cook/bake/melt 250 things
Top Chef
Cook/bake/melt 500 things


How 'bout dat?
ARE YOU A NYAN CAT?????
--ABJ

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

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by Wuzzy » Post

Meh, I personally think it's too boring and uncreative. But I think the general idea for adding cooking achievements in general is good. An achievement for cooking the first iron lump would make sense. I also miss an achievement for cooking bread. Bread is unique because it has the highest cooking time in Minetest Game. I think the bread achievement could replace the achievement for simply eating bread.

Technically, the achivement could be triggered whenever the player takes the target item from the output slot of the furnace.

I generally dislike achievements which basically just ask the player to repeat boring/trivial task XYZ a big number of times. Small numbers are excusable but not very large numbers which end up just in repetitive work instead of playing. This is something more for a statistics mod, really.
Good achievements should be about actual milestones in the game. You know, when the player actually *achieved* something. :-) Like finding the first diamond ore, or mining the first real mese block.

But yeah, I gotta admit, I'm not entirely unguilty of the “large numbers achievements” and maybe I should contribute code to fix this. But at least I hope the numbers are not annoyingly high that it is a pressing problem. That's why I also asked for opinions on the existing achievements.

im-poke
Member
Posts: 1084
Joined: Sat Apr 18, 2015 15:50
IRC: poke
In-game: poke
Location: Somewhere in the Universe, on a weird planet called Earth/

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by im-poke » Post

Okay!
Howzabout this:

Trying to bake something...
Baked your first bread

Look, its molten!
Melting your first lump

Cooking..
Roasting something from a food mod

No! Not the annoying song!
Dig a Nyan Cat Block
ARE YOU A NYAN CAT?????
--ABJ

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

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by Wuzzy » Post

Yeah, those are better.
Spoiler
Dig a Nyan Cat Block
Have you already tried to dig a nyan cat with this mod installed? ;-)
I think the third achievement (“Cooking..”) should be implemented in the food mod instead, maybe you can ask the make of this mod to add a simple achievement.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by texmex » Post

I quite like the current achievements. I seldom check the list, so it's a nice surprise each time I get them. The best ones are the qualitative ones however, not the "I've dug a 1000 iron".

I'd like to see achievements tied to mobs_redo, but that's on that mods author to add I guess.

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by christoferlevich » Post

I admit, I haven't read this entire thread, but is there an easy tag I can add when registering an acheivement that actually 'gives' an award. I would like to add items given when achievements are met.
everything can be a learning experience...

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by rubenwardy » Post

See prizes, it allows you to give items
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by christoferlevich » Post

rubenwardy wrote:See prizes, it allows you to give items
I LOVE YOU! :)
everything can be a learning experience...

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by christoferlevich » Post

rubenwardy wrote:See prizes, it allows you to give items
So I see it - I've looked and test it - but I am failing to properly activate prizes :(
everything can be a learning experience...

User avatar
Akahyperion
Member
Posts: 17
Joined: Mon Dec 12, 2016 18:57
IRC: Akahyperion
In-game: Akahyperion
Location: France

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by Akahyperion » Post

Hi,
I've found a bug with the 'On the way' achievements, the rails are not well registered. I changed 'default:rail' in the 'init'.lua' file for 'carts:rail' and now it seems to be working.
Do I have to report this on github? I don't know much about it, is that a pull request or an issue?

I've also found that the achievements for eating bread and apples don't work when 'diet' mod is enabled (not counting eaten things), should I post this issue in its thread?

im-poke
Member
Posts: 1084
Joined: Sat Apr 18, 2015 15:50
IRC: poke
In-game: poke
Location: Somewhere in the Universe, on a weird planet called Earth/

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by im-poke » Post

im-poke wrote:Okay!
Howzabout this:

Trying to bake something...
Baked your first bread

Look, its molten!
Melting your first lump

Cooking..
Roasting something from a food mod

No! Not the annoying song!
Dig a Nyan Cat Block
A few more..
Who saves something, has something
Place a chest

Light it up
Make fire (the real one)

Puttin' butter on your head's eating dry bread
Eat 5 bread

How does it NOT burn through?
Fill a bucket with magma

You seem a little dead..
Die for the first time

Lemme dig that up..
Dig to a certain depth (5000 or something)

The new Tolkien
Make yourself a book

Clumsy player
Break a tool

Fire in the hole!
Light TNT

Can someone invent the gun for me?
Make gunpowder

As long as you don't play the song..
Place a nyan cat

175 C4NDY R3D!
Place red wool

Nite m8
Place bed

If any of these were already in the mod, just say and i'll remove them from the list
ARE YOU A NYAN CAT?????
--ABJ

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

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by azekill_DIABLO » Post

+1 There are very funny!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

im-poke
Member
Posts: 1084
Joined: Sat Apr 18, 2015 15:50
IRC: poke
In-game: poke
Location: Somewhere in the Universe, on a weird planet called Earth/

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by im-poke » Post

azekill_DIABLO wrote:+1 There are very funny!
Which are your favourites?
ARE YOU A NYAN CAT?????
--ABJ

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

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by azekill_DIABLO » Post

Code: Select all

Puttin' butter on your head's eating dry bread
Eat 5 bread

How does it NOT burn through?
Fill a bucket with magma

You seem a little dead..
Die for the first time

The new Tolkien
Make yourself a book
those!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

im-poke
Member
Posts: 1084
Joined: Sat Apr 18, 2015 15:50
IRC: poke
In-game: poke
Location: Somewhere in the Universe, on a weird planet called Earth/

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by im-poke » Post

The others?
ARE YOU A NYAN CAT?????
--ABJ

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

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by azekill_DIABLO » Post

They are also very nice, they should be added!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
AndroBuilder
Member
Posts: 51
Joined: Mon Dec 04, 2017 11:34
In-game: AndroBuilder

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by AndroBuilder » Post

I did try this mod, but it does not work properly?!

I added this

Code: Select all

-- First Light in the Game!
	awards.register_achievement("award_first_light",{ title = S("First Light"), description = S("Place 5 torches."), icon = "awards_novicebuilder.png^awards_level2.png", trigger = { type = "place", node = "default:torch", target = 5 } })
	
But it does not work at all for some reasons?!
Also it does not count the number of digs and so on for new players?

Code: Select all

return {["Schueler02"] = _[7], [_[19]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["deaths"] = 0, ["count"] = {}, ["name"] = _[19], ["chats"] = 0}, [_[28]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["chats"] = 0, ["count"] = {}, ["name"] = _[28], ["deaths"] = 0}, ["singleplayer"] = _[37], ["Schueler04"] = _[28], ["Schueler05"] = _[45], ["Schueler01"] = _[52], [_[52]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["deaths"] = 0, ["count"] = {}, ["name"] = _[52], ["chats"] = 0}, ["Schueler06"] = _[19], [_[7]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["chats"] = 0, ["count"] = {}, ["name"] = _[7], ["deaths"] = 0}, ["Schueler03"] = {["eat"] = {}, ["joins"] = 1, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["deaths"] = 0, ["count"] = {}, ["name"] = "Schueler03", ["chats"] = 0}, ["Surfer2010"] = _[70], [_[70]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["deaths"] = 0, ["count"] = {}, ["name"] = _[70], ["chats"] = 0}, [_[37]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["deaths"] = 0, ["count"] = {}, ["name"] = _[37], ["chats"] = 0}, [_[45]] = {["eat"] = {}, ["joins"] = 0, ["craft"] = {}, ["place"] = {}, ["unlocked"] = {}, ["chats"] = 0, ["count"] = {}, ["name"] = _[45], ["deaths"] = 0}}

User avatar
scottwolff
Member
Posts: 129
Joined: Sat Apr 30, 2016 06:15
In-game: scottwolff or some variant of iasiney
Location: Central Illinois

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by scottwolff » Post

Nice mod for what it does.
Generally, the texture for the picture of the achievement is offset sometimes. Minor note, though, it does not break the mod.

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by PolySaken » Post

Achievement idea:
Grave Robber
Dig Someone Else's Bones
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
TailsTheFox256
New member
Posts: 2
Joined: Sat Oct 10, 2015 23:18
In-game: TailsTheFox

Re: [Mod] Achievements [2.3] [awards] – UI support, more awa

by TailsTheFox256 » Post

Can i use this in mob_pack because I want to make achievements for killing certain mobs and crafting items, I won't use the original's achievements only the new ones about mobs.

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Achievements [3.0.0] [awards] – Rewritten

by rubenwardy » Post

Version 3.0.0 released!

Note that the compatibility for registering triggers has been broken (hence the major release).
Existing awards data will be imported from awards.txt and converted to the new format. A backup will be made to awards.bk.txt

Please be warned that there likely to be bugs introduced due to how much has changed. You won't lose any awards data from before upgrading to 3.0.0, but you may lose awards and stats unlocked after the upgrade if there's a bug. That being said, please upgrade and help me find bugs!

Much of the code has been rewritten and cleaned. It's now much easier to register a trigger, for example here's the entire code used to make it possible to unlock awards for number of joins:

Code: Select all

awards.register_trigger("join", {
	type = "counted",
	progress = "@1/@2 joins",
	auto_description = { "Join once", "Join @1 times" },
})
minetest.register_on_joinplayer(awards.notify_join)
New Features
  • Add death reasons. Can now do: { type="death", reason="fall", target=1 }
  • Better trigger API
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Achievements [3.1.0] [awards] – Rewritten, Sorting

by rubenwardy » Post

Version 3.1.0 released!

New features
  • Improve sorting algorithm for awards
  • Add award requirements to only show awards after prerequisite rewards are onlocked
Bug fixes
  • Add check for nyancat mod before adding nyancat award
  • Fix off-by-one error in counted_key award types
  • Fix awards disabling
  • Fix notification positioning
  • Fix crash during crafting due to wrong method name
Other
  • Change license to MIT
  • Use "awards" consistently
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Methacrylon
New member
Posts: 3
Joined: Sun Jun 03, 2018 11:15

Re: [Mod] Achievements [3.1.0] [awards] – Rewritten, Sorting

by Methacrylon » Post

Hello,

I'm new to MT and I wanted to find a motivating way to dig into the game, so I found this awesome mod!!
Thanks for that work! :)

I didn't play for long, so I can't really give you feedback about the achievements themselves.

I also have a question: I play with mobs_redo, and I would like to have achievements for killing mobs. I wrote a trigger so that you can create achievements like "Kill 5 cows" and so on.
I thought the right place would be to put this in this mod, but after reading this thread, I'm not sure anymore as mobs_redo is not in minetest game.
Please, can you tell me where should I put this code, and who should I contact to send my code? :)
Thanks!

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Achievements [3.1.0] [awards] – Rewritten, Sorting

by rubenwardy » Post

The action of killing a mob isn't specific to one mod, so I suggest making a pr to this mod.

Wondering if it should be a kill_entity trigger instead, to be more versatile
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 11 guests