[Mod] Simplified Paintings [20120427] [sim_paint]
[Mod] Simplified Paintings [20120427] [sim_paint]
Adds a painting canvas which, when placed, will display a random image from a server-selected list. This (possibly) finalized version is NOT backwards-compatible with previous versions and the Paintings Mod by jordan4ibanez. If you would like a mod that updates those paintings, please tell me.
To make a painting, you can use the following recipe.
S = stick
P = paper
S S S
S P S
S S S
Code: The changes to jordan4ibanez's code are licensed under CC-0 or WTFPL.
Textures: CC-0, CC-BY, or WTFPL at your choice.
Latest version.There isn't any new functionality, just the way paintings are defined is hopefully less tedious. AMOUNT_OF_PAINTING_TYPES no longer needs to be changed to add paintings, and the painting filenames are taken from a table/array.
sim_paint.tar.gz alternate/updated, contains emotion edition
sim_paint.zip alternate/updated, contains emotion edition
Older versions.
"emotion edition". Includes 5 more paintings than "vanilla edition", all pony-related and 256x256. Enjoy, if you can.
sim_paint.tar.gz emotion edition
sim_paint.zip emotion edition
"vanilla edition". Contains... 4 paintings, I think?
sim_paint.tar.gz vanilla edition (plain)
sim_paint.zip vanilla edition (plain)
Mod dependencies: default
Enjoy, if you can.
To make a painting, you can use the following recipe.
S = stick
P = paper
S S S
S P S
S S S
Code: The changes to jordan4ibanez's code are licensed under CC-0 or WTFPL.
Textures: CC-0, CC-BY, or WTFPL at your choice.
Latest version.There isn't any new functionality, just the way paintings are defined is hopefully less tedious. AMOUNT_OF_PAINTING_TYPES no longer needs to be changed to add paintings, and the painting filenames are taken from a table/array.
sim_paint.tar.gz alternate/updated, contains emotion edition
sim_paint.zip alternate/updated, contains emotion edition
Older versions.
"emotion edition". Includes 5 more paintings than "vanilla edition", all pony-related and 256x256. Enjoy, if you can.
sim_paint.tar.gz emotion edition
sim_paint.zip emotion edition
"vanilla edition". Contains... 4 paintings, I think?
sim_paint.tar.gz vanilla edition (plain)
sim_paint.zip vanilla edition (plain)
Mod dependencies: default
Enjoy, if you can.
Last edited by faraway on Fri Apr 27, 2012 09:54, edited 1 time in total.
- Death Dealer
- Member
- Posts: 1379
- Joined: Wed Feb 15, 2012 18:46
- Location: Limbo
- Contact:
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
- Death Dealer
- Member
- Posts: 1379
- Joined: Wed Feb 15, 2012 18:46
- Location: Limbo
- Contact:
I have updated the mod with 5 new paintings .
The new images are all licensed under CC-0, CC-BY, or WTFPL at your choice. You can pick whichever license.
sim_paint.tar.gz (emotion edition)
sim_paint.zip (emotion edition)
Replace the original with this if you want to install it.
Enjoy if you can.
The new images are all licensed under CC-0, CC-BY, or WTFPL at your choice. You can pick whichever license.
sim_paint.tar.gz (emotion edition)
sim_paint.zip (emotion edition)
Replace the original with this if you want to install it.
Enjoy if you can.
After installing Hydrophonics mod (http://minetest.net/forum/viewtopic.php?id=1733) I have issue with textures which looks like this:
By vibender at 2012-04-22
On several textures is a vertical rectangle. I tried find what is wrong in init.lua but without result. Please help.
By vibender at 2012-04-22
On several textures is a vertical rectangle. I tried find what is wrong in init.lua but without result. Please help.
my mods: infrastructure_modpack | papyrus_bed | papyrus_door my blog: radekslowik.pl
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
You can easily increase amount of pictures (n) by changing:
AMOUNT_OF_PAINTING_TYPES = n
and editing code according this scheme:
AMOUNT_OF_PAINTING_TYPES = n
and editing code according this scheme:
Code: Select all
add_painting(1, "1st_image.png")
add_painting(2, "2nd_image.png")
add_painting(3, "3rd_image.png")
add_painting(4, "4th_image.png")
.
.
.
add_painting(n, "n_image.png")
Last edited by Ragnarok on Tue Apr 24, 2012 06:46, edited 1 time in total.
my mods: infrastructure_modpack | papyrus_bed | papyrus_door my blog: radekslowik.pl
I updated the mod so adding paintings would be less tedious. Now the filenames are in an array/ table:
To add a painting, you can just add a filename to the table. AMOUNT_OF_PAINTING_TYPES changes automatically.I hope someone likes this .
Please notify me if there is a bug, or feel free to repair the code yourself if you find one ^_^.
Code: Select all
-- Example:
local paintings = {
"painting_fluttershy.png",
"painting_pinkiepie.png"
}
Please notify me if there is a bug, or feel free to repair the code yourself if you find one ^_^.
Last edited by faraway on Fri Apr 27, 2012 10:00, edited 1 time in total.
- LolManKuba
- Member
- Posts: 939
- Joined: Fri Feb 10, 2012 22:36
- Location: Ontario, Canada
- Contact:
- LolManKuba
- Member
- Posts: 939
- Joined: Fri Feb 10, 2012 22:36
- Location: Ontario, Canada
- Contact:
pls fix ur ompldr-links
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
Who is online
Users browsing this forum: No registered users and 40 guests