[Mod] Simplified Paintings [20120427] [sim_paint]

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

[Mod] Simplified Paintings [20120427] [sim_paint]

by faraway » Fri Mar 16, 2012 18:27

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

Image
Image
Image

Enjoy, if you can.
Last edited by faraway on Fri Apr 27, 2012 09:54, edited 1 time in total.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Mar 16, 2012 18:30

Nice!
Is it based on jordan4ibanez Mod?
Last edited by sfan5 on Fri Mar 16, 2012 18:30, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Fri Mar 16, 2012 18:32

sfan5 wrote:Nice!
Is it based on jordan4ibanez Mod?

Yep! The license on that was not stated, as far as I know, so I should probably ask permission. My changes to that mod are under CC-0 or WTFPL, though. Thank you :)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Mar 16, 2012 19:08

Oh, ok!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Mon Mar 19, 2012 15:43

Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Mon Mar 19, 2012 15:50

faraway wrote:Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.

is this for the new client?
Keep calm and code python^_^
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Mon Mar 19, 2012 16:16

Death Dealer wrote:
faraway wrote:Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.

is this for the new client?

Yas.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Wed Mar 28, 2012 13:36

You have full permissions to use my code! i need to copy your code back into my original paintings mod xD
If you can think it, you can make it.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Wed Mar 28, 2012 13:38

faraway wrote:
Death Dealer wrote:
faraway wrote:Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.

is this for the new client?

Yas.

saweet i will add it to my collection.
Keep calm and code python^_^
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Wed Mar 28, 2012 20:30

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.
 

Scott
Member
 
Posts: 100
Joined: Sun Nov 13, 2011 06:35

by Scott » Wed Mar 28, 2012 23:00

were do u get paper?
ubuntu would be #1, without unity
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Wed Mar 28, 2012 23:04

Scott wrote:were do u get paper?

You put three papyrus in a horizontal row:

P = papyrus

P P P

Papyrus is the green bamboo-looking plant.
Last edited by faraway on Wed Mar 28, 2012 23:05, edited 1 time in total.
 

marzin
Member
 
Posts: 34
Joined: Sun Jun 26, 2011 12:07

by marzin » Sun Apr 01, 2012 19:20

I suggest adding a portrait of player avatar ancestor;)

Image
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Wed Apr 04, 2012 01:30

marzin wrote:I suggest adding a portrait of player avatar ancestor

Ancestor?
 

User avatar
Ragnarok
Member
 
Posts: 213
Joined: Thu Mar 22, 2012 12:56

by Ragnarok » Sun Apr 22, 2012 20:15

After installing Hydrophonics mod (http://minetest.net/forum/viewtopic.php?id=1733) I have issue with textures which looks like this:

Image
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.
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Mon Apr 23, 2012 22:16

I've edited pictures with my own to get Capitol and District seals from the hunger games but I ran out of pictures to edit is there a way to add more pictures?
 

User avatar
Ragnarok
Member
 
Posts: 213
Joined: Thu Mar 22, 2012 12:56

by Ragnarok » Tue Apr 24, 2012 06:46

You can easily increase amount of pictures (n) by changing:

AMOUNT_OF_PAINTING_TYPES = n

and editing code according this scheme:
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
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.
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Fri Apr 27, 2012 10:00

I updated the mod so adding paintings would be less tedious. Now the filenames are in an array/ table:
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
-- Example:
local paintings = {
  "painting_fluttershy.png",
  "painting_pinkiepie.png"
}

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 ^_^.
Last edited by faraway on Fri Apr 27, 2012 10:00, edited 1 time in total.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Apr 27, 2012 12:38

Nice!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

Lelix
Member
 
Posts: 94
Joined: Sat Apr 14, 2012 12:51

by Lelix » Fri Apr 27, 2012 14:24

under which one has in hand because I did not draw a basic framework? For example, two diagonal black and white background.
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36

by LolManKuba » Tue May 29, 2012 21:35

I do not know if you come on anymore, but could I add this to my modpack?
 

User avatar
faraway
Member
 
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Wed May 30, 2012 18:53

LolManKuba wrote:I do not know if you come on anymore, but could I add this to my modpack?

Yas, I have basically released it and the textures into the public domain. I don't mind at all.
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36

by LolManKuba » Wed May 30, 2012 19:56

Thank you.
 

User avatar
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46

by Stef » Fri Jun 29, 2012 09:01

Hi could it be possible to make paintings off: 2 on 2
1 on 2
2 on 1
Sorry for my crappy english, im dutch :D
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15

by Lukeking » Wed Oct 02, 2013 17:06

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
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Wed Oct 02, 2013 18:01

Lukeking wrote:pls fix ur ompldr-links


Latest version (27-04-2012 / 2012-04-27):

https://dl.dropboxusercontent.com/u/65428713/sim_paint.zip



Edit: Typo
Last edited by Topywo on Wed Oct 02, 2013 18:02, edited 1 time in total.
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15

by Lukeking » Mon Feb 17, 2014 00:42

Topywo wrote:
Lukeking wrote:pls fix ur ompldr-links


Latest version (27-04-2012 / 2012-04-27):

https://dl.dropboxusercontent.com/u/65428713/sim_paint.zip



Edit: Typo

thx :)
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
 

kriskovski
Member
 
Posts: 13
Joined: Tue Mar 25, 2014 20:12

by kriskovski » Fri Mar 28, 2014 15:07

Whats up with all the pony stuff?
 

User avatar
balthazariv
Member
 
Posts: 214
Joined: Mon Apr 07, 2014 15:48

Re: [Mod] Simplified Paintings [20120427] [sim_paint]

by balthazariv » Sun Jun 01, 2014 22:25

Hello,

I have this error

0:22:35: ERROR[main]: ========== ERROR FROM LUA ===========
00:22:35: ERROR[main]: Failed to load and run script from
00:22:35: ERROR[main]: L:\minetest-0.4.9-x64-dev20140517\bin\..\mods\sim_paint\init.lua:
00:22:35: ERROR[main]: ...0.4.9-x64-dev20140517\bin\..\builtin\game\deprecated.lua:7: attempt to index global 'debug' (a boolean value)
00:22:35: ERROR[main]: ======= END OF ERROR FROM LUA ========
00:22:35: ERROR[main]: Server: Failed to load and run L:\minetest-0.4.9-x64-dev20140517\bin\..\mods\sim_paint\init.lua
00:22:35: ERROR[main]: ModError: ModError: Failed to load and run L:\minetest-0.4.9-x64-dev20140517\bin\..\mods\sim_paint\init.lua


Thanks
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Simplified Paintings [20120427] [sim_paint]

by Topywo » Mon Jun 02, 2014 08:57

balthazariv wrote:Hello,

I have this error

00:22:35: ERROR[main]: ...0.4.9-x64-dev20140517\bin\..\builtin\game\deprecated.lua:7: attempt to index global 'debug' (a boolean value)



This mod (and the dicormod) work fine. I don't use Windows, so don't recognize your folder structure, but think the error has something to do with that. (example: my deprecated.lua falls directly under builtin. I've not a folder named 'game' between it).
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 8 guests

cron