grorp / ggraffiti Goto Github PK
View Code? Open in Web Editor NEWGraffiti mod for Minetest
License: GNU Affero General Public License v3.0
Graffiti mod for Minetest
License: GNU Affero General Public License v3.0
At the end of the month me and a few colleagues will be visiting the Lascaux cave in France with the teachers from the Minestory project and their students.
The next day will be dedicated to opresenting their Minetest projects, as well as participating to a series of small activities. We are thinking about proposing them a cave painting activity in Minetest using your mod.
I was wondering about adapting this mod as a cave painting mod, with pigments and tools coherent with the time period (charcoal, ochre, etc).
I don't know if I will have any time to dedicate to that, but I wanted to put the idea out there!
I am wondering if it should be another mod that depends on ggraffiti.
Would that be feasible in your opinion? What would be the easiest way to create new items for painting?
Thanks for the great mod!
My idea would be that they could be picked up by some tool and converted into an item in the inventory. The items would all look alike (probably), but have different metadata, so that when placed, they look like the painting which was picked up (spawning a new ggraffiti entity and putting the proper metadata onto it). Another potential hardship is that the picked-up painting could have to be in a possibly new orientation when it is placed again, depending on the user's facedir(?) - a possible fix to this is just keeping the original painting in it's original orientation, but it is less snazzy :-)
This allows for a flurry of new features which would enhance this mod greatly, namely:
It would allow for people to move their paintings - currently, there is no way to do this except by brute force (removing and re-painting).
It would allow for (possibly) creating pieces of jigsaw puzzles and solving them!
Paintings could then be sold to other players as well.
Directly from logs:
2022-11-07 16:38:56: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'ggraffiti' in callback item_OnUse(): /minetest/bin/../mods/ggraffiti/init.lua:134: attempt to call method 'add_wear_by_uses' (a nil value)
2022-11-07 16:38:56: ERROR[Main]: stack traceback:
2022-11-07 16:38:56: ERROR[Main]: /minetest/bin/../mods/ggraffiti/init.lua:134: in function </minetest/bin/../mods/ggraffiti/init.lua:133>
2022-11-07 16:38:56: ERROR[Main]: (tail call): ?
Minetest: 5.5.0
GGraffiti: v1.0.0-alpha.4 (I.E. Latest on Master)
I'm thinking your using something in a newer version of Minetest, either make it adapt between versions that don't support it or at least make the minimum version known (by either manually downloading each version till you get one that works, or at least making a check for that function existence and abort if it doesn't exist with an error message that's more clearer).
First off, I have made a fork of this repo. (This is just for me to take notes and try to help track what/where I'm at on this, incase I don't get it done before getting pulled off for something else)
Todo:
I can see it where someone will go to someone else's home while they are offline or away and graffiti their home, which can get annoying once you have that happen to them on multiple occasions.
So what if we had either a node which can't be graffiti-ed or even something that blocks the use of graffiti cans (except maybe the anti-graffiti)?
I'm leaning towards an area that way someone doesn't need to make a house out of the blocks just to get a anti graffiti house.
Also I'm going to make some textures.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.