[Mod] Dice [1.3] [dice2]

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

[Mod] Dice [1.3] [dice2]

by Wuzzy » Mon Jun 09, 2014 13:47

This Minetest mod adds a red and a white dice to the game, both in form of a full placable block.
The dice can also be rolled via rightclick.
The dice also come with a full sound set, with placing, punching and nice rolling sounds.
The “purpose” of this is just for fun. It is nothing meaningful. ;-)

Image

Mandatory dependencies: None!
Optional dependencies: dye (part of Minetest Game, the default subgame), intllib, doc_items
License of everything: MIT License
Works on: Minetest 0.4.14 but hopefully on a bunch of other versions, too.
Download: See attachment.

Basic crafting
To craft dice, you have to place any kind of wood in a 3×3 grid like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
w.w
.w.
w.w

w = any kind of wood (group "wood")
. = nothing

The result is 5 white dice.
The crafting recipe resembles the number 5 on the dice. :-)

Color crafts
If you use the “dye” mod, the following additional shapeless recipes are available:
  • 1 white dice: 1 red dice, 1 white dye and 1 black dye
  • 1 red dice: 1 white dice, 1 red dye and 1 white dye

How to use
If you place a dice, it will face a random direction and turned randomly.

You can mine dice in half a second without any tool, but it can be faster with “choppy” tools (i.e. axes).

To roll the dice, press the use key (right click) while pointing to it. So you don’t have to mine and place it again.
If you don’t want to throw the dice but want to build something to it, you have to rightclick it while you hold the sneak key (shift).

Careful: The dice are flammable!

Project page
For developers: The Git repository project page is located at:
http://repo.or.cz/w/minetest_dice2.git

Old “dice” mod
There was a similar mod, but it was hosted on Ubuntu One, which is dead now. >_>.
Attachments
dice2_v1.3.zip
(151.25 KiB) Downloaded 123 times
Last edited by Wuzzy on Fri Nov 18, 2016 23:06, edited 7 times in total.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Dice [1.0] [dice2]

by Krock » Mon Jun 09, 2014 14:00

Yay, Iz back.
Good work!
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] Dice [1.0] [dice2]

by Sokomine » Mon Jun 09, 2014 14:14

Nice idea!
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

Re: [Mod] Dice [1.0] [dice2]

by Kilarin » Mon Jun 09, 2014 14:25

How amusing!
 

User avatar
HeroOfTheWinds
Member
 
Posts: 470
Joined: Wed Apr 23, 2014 23:16
GitHub: HeroOfTheWinds
IRC: WindHero

Re: [Mod] Dice [1.0] [dice2]

by HeroOfTheWinds » Mon Jun 09, 2014 21:11

The first step toward CasinoTest!

Nah, just kidding. But nice mod! The only thing I could really think of on how to make the random placement be active immediately would be to place an invisible node first, then use minetest.place_node(pos, {name="diename", param2=yourRandomNumber})

However, that's pretty hacky......
Nam ex spatio, omnes res venire possunt.
Why let the ground limit you when you can reach for the sky?
Back to college now, yay for sophomore year schedules. :P
 

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

Version 1.1

by Wuzzy » Sat Jul 02, 2016 16:09

Version 1.1 is there. This is a tiny update, I just added mod.conf and changed the readme file to Markdown format.
I also added a Git repository (see first post).
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

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

Version 1.2

by Wuzzy » Mon Aug 08, 2016 04:11

Version 1.2 is there.
This is mostly another cleanup release to update some metadata.

Most notably, additional item information through the Item Documentation mod [doc_items] (viewtopic.php?f=9&t=15300) is optionally provided.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod] Dice [1.2] [dice2]

by KCoombes » Mon Aug 08, 2016 13:07

Very cool - Yahtzee or Farkle, anyone?!?
 

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

Version 1.3

by Wuzzy » Fri Nov 18, 2016 22:54

Version 1.3 released. Mostly bugfixes.

Changes:
- Allow to use dice as fuel in furnaces
- Make mod compatible with Documentation System 0.7.0
- Fix mod not working with both inttlib and mod security enabled
- Prevent dice being able to be destroyed by cave generation algorithms
- Minor refactoring
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: [Mod] Dice [1.3] [dice2]

by Andrey01 » Sun Nov 20, 2016 16:34

It is interesting...
 

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

Re: [Mod] Dice [1.3] [dice2]

by texmex » Sun Jan 15, 2017 15:55

This is neat! Would be cool to also randomize faceup side on actual throwing of item, not only when right clicking.
I spend all my days going down to the mines. Under the ground where the sun never shines. Breaking my back I put heat in your house. I’ve got the roar of a digtron, the breath of a mouse.
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

Re: [Mod] Dice [1.3] [dice2]

by BrunoMine » Mon Feb 27, 2017 22:13

It would be cool if the dices dropped randomly as well.
 

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

Re: [Mod] Dice [1.3] [dice2]

by Wuzzy » Tue Feb 28, 2017 01:25

I think this is not possible without a lot of hacking and it would be not worth the effort.

The dice get a random face when you place it, too.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 13 guests

cron