[Mod] Itemframes & Pedestals [itemframes]

User avatar
Shakajiub
New member
 
Posts: 6
Joined: Sun Jan 18, 2015 12:52
Location: Finland
GitHub: Shakajiub
In-game: Shakajiub

[Mod] Itemframes & Pedestals [itemframes]

by Shakajiub » Sun Jan 18, 2015 16:05

Hi, everyone! I've been working on my own game for Minetest for a while now, browsing the forum for mods and such, and I came across Zeg9's Item Frames mod. It's a great mod that adds item frames and pedestals to the game to display items in. Now, the only problem I had with the mod was that there was only one type of pedestal, one made of stone.

So, what I've done is add support for multiple pedestals, using any material one wishes. By default, there now are pedestals of each material that also have stairs & slabs by default in the stairs mod (these are: stone, desert stone, cobble, desert cobble, stone brick, desert stone brick, brick, sandstone, sandstone brick & wood).

(I couldn't find if anyone else has already done this, if so, please tell me)

I suppose you need to see some screenshots, so here they are:
+ Screenshots

And here's the necessary info:
Licence: WTFPL (code), CC BY-SA 3.0 (textures)
Version: made & tested in 0.4.11
Depends: default

Download: from GitHub (rename the directory to "itemframes" after extracting)
Or browse the code: https://github.com/Shakajiub/minetest-itemframes

Example of adding a new pedestal:
Code: Select all
itemframes.register_pedestal("stone", "default:stone",
   {cracky=3,pedestal=1},
   {"default_stone.png"},
   "Stone Pedestal",
   default.node_sound_stone_defaults()
)

Changelog:
Version 1.0.1 - Fixed items spinning in item frames.
Version 1.0.0 - Initial release.
Last edited by Shakajiub on Tue Jan 20, 2015 19:10, edited 2 times in total.
 

User avatar
Inocudom
Member
 
Posts: 3018
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Itemframes & Pedestals v2

by Inocudom » Mon Jan 19, 2015 04:56

https://github.com/VanessaE/minetest-itemframes
This is the most up-to-date version of the itemframes mod.
Recovering from the abomination I am. Clocking time for Garry's Mod I am too.
 

User avatar
Shakajiub
New member
 
Posts: 6
Joined: Sun Jan 18, 2015 12:52
Location: Finland
GitHub: Shakajiub
In-game: Shakajiub

Re: [Mod] Itemframes & Pedestals v2

by Shakajiub » Mon Jan 19, 2015 05:01

Inocudom wrote:https://github.com/VanessaE/minetest-itemframes
This is the most up-to-date version of the itemframes mod.

Yes, that was the version I updated.
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [Mod] Itemframes & Pedestals v2

by ExeterDad » Mon Jan 19, 2015 16:15

Shakajiub wrote:
Inocudom wrote:https://github.com/VanessaE/minetest-itemframes
This is the most up-to-date version of the itemframes mod.

Yes, that was the version I updated.

Do you think you can put in a pull request to VanessaE's version? Your changes are definitely nice, but it would be a shame to have additional versions of the same mod if the changes are just extra features.
I'll use the simple mobs mod as an example. So many variations, but not one of them includes all the neat additions.
 

User avatar
afflatus
Member
 
Posts: 317
Joined: Tue Apr 01, 2014 19:47
Location: Avalonia
GitHub: 0-afflatus
IRC: afflatus
In-game: afflatus

Re: [Mod] Itemframes & Pedestals v2

by afflatus » Mon Jan 19, 2015 16:26

Nice.

I have one major question: What are item frames and pedestals actually for?
I also have trouble getting things off pedestals. Generally I have to destroy the pedestal to get them off.

Not directly related to your mod, which is a great improvement.
Grailtest is dreaming ...
 

User avatar
Shakajiub
New member
 
Posts: 6
Joined: Sun Jan 18, 2015 12:52
Location: Finland
GitHub: Shakajiub
In-game: Shakajiub

Re: [Mod] Itemframes & Pedestals v2

by Shakajiub » Tue Jan 20, 2015 04:47

afflatus wrote:Nice.

I have one major question: What are item frames and pedestals actually for?
I also have trouble getting things off pedestals. Generally I have to destroy the pedestal to get them off.

Not directly related to your mod, which is a great improvement.

Mostly they are just for aesthetics, I suppose, you're able to display any of your items in them, safely. You could also use the item frames to mark your chests, for example.

To get an item off a pedestal, just punch or right-click it, and it should drop it on top of the pedestal, where you need to punch the item itself to pick it up, like any other item on the ground.

I also just realized, the items are rotating in the item frames as well, which they shouldn't. I'll fix that when I get home tonight evening.
 

User avatar
afflatus
Member
 
Posts: 317
Joined: Tue Apr 01, 2014 19:47
Location: Avalonia
GitHub: 0-afflatus
IRC: afflatus
In-game: afflatus

Re: [Mod] Itemframes & Pedestals v2

by afflatus » Tue Jan 20, 2015 13:24

Ah OK, I've been playing on a server that uses item_drop, which makes it tricky. That's their problem, however. ;-)
Grailtest is dreaming ...
 

User avatar
Shakajiub
New member
 
Posts: 6
Joined: Sun Jan 18, 2015 12:52
Location: Finland
GitHub: Shakajiub
In-game: Shakajiub

Re: [Mod] Itemframes & Pedestals v2

by Shakajiub » Tue Jan 20, 2015 18:17

afflatus wrote:Ah OK, I've been playing on a server that uses item_drop, which makes it tricky. That's their problem, however. ;-)

Yep, exactly. As handy as automatic item pickup is, it can sometimes be in your way since you always pickup things you don't necessarily want to. It's a personal preference, but once I switched from Minecraft to Minetest, that difference felt really good.

Also, the bug I mentioned earlier, items spinning in the frames, should now be fixed. If you downloaded this yesterday, be sure to do so again, unless you like the items clipping inside the frames, of course.
 


Return to WIP Mods



Who is online

Users browsing this forum: Bing [Bot], gpcf and 4 guests