[Generic MOD] AnimalMaterials - Version 0.0.7

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

[Generic MOD] AnimalMaterials - Version 0.0.7

by sapier » Sun Jan 29, 2012 23:52

As celeron suggested http://c55.me/minetest/forum/viewtopic.php?id=882 I'm going to create a material only mod for animals and other mods willing to add recieps for this matierials too. This mod won't contain any recieps or active code but only item/node definitions.
As not all materials do exist atm I'm asking for suggestions what this mod shall contain or not contain.

Current Version 0.0.7

License: Do whatever you want!

Current Materials included are:

Nodes:
  • wool_white
  • wool_grey
  • wool_brown
  • wool_black
  • wool_yellow (TODO)
  • wool_red (TODO)
  • wool_violet (TODO)
  • wool_blue (TODO)
  • wool_green(TODO)
  • wool_orange(TODO)
Items:
  • raw_meat
  • raw_meat_pork (TODO)
  • raw_meat_sheep (TODO)
  • raw_meat_beef (TODO)
  • raw_meat_deer (TODO)
  • horn (TODO)
  • fur (TODO)
  • bone
  • egg
  • egg_big
  • feather
  • scale_white
  • scale_grey
  • scale_blue
  • scale_golden
Last edited by sapier on Mon Apr 30, 2012 20:13, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 07:24

Add eggs and feathers also.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 07:34

I would also suggest you to split animals mod to 3: library (API), friendly mobs, aggressive mobs.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Mon Jan 30, 2012 09:49

@neko259 spliting friendly and unfriendly mobs won't make any sense as it would be 90% code duplication. A split in three parts is already planed but it will be: Materials,AnimalDefinitions,Engine.
Engine itself already contains different components, user will be able to replace each of it when defining an animal (if his replacement suits the api required for each component). Combat for example doesn't have much external dependencys.
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 09:56

spliting friendly and unfriendly mobs won't make any sense as it would be 90% code duplication

It make sense for the players that want animals but don't want to die every night. You can do that in one mod but implement some setting that toggles unfriendly mobs.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Mon Jan 30, 2012 16:02

Ok I misunderstood what you were trying to tell me. You were talking about splitting the "AnimalDefinitions" part further. That's a good idea, I'm going to split it down to animal level eg mods animal_sheep animal_cow animal_deer ...
Last edited by sapier on Mon Jan 30, 2012 16:03, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 16:08

I'm going to split it down to animal level eg mods animal_sheep animal_cow animal_deer ...

Does minetest have a constraint on mod count? Maybe so many mods will be too much...
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

kahrl
Member
 
Posts: 236
Joined: Fri Sep 02, 2011 07:51

by kahrl » Mon Jan 30, 2012 16:17

There used to be the limit of ~30 (because of a bug with Lua stack handling), but not anymore. Number of registered nodes, items, ABMs etc. is more important.
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 16:25

Will there be dedicated threads for mods? Or it can't be done in the engine for now?
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

kahrl
Member
 
Posts: 236
Joined: Fri Sep 02, 2011 07:51

by kahrl » Mon Jan 30, 2012 16:33

I don't know. First of all, Lua wasn't written with thread safety in mind (and there are no thread or synchronization / locking primitives in the stdlib, so an API for them would have to be designed from scratch). Also, thread safety is hard, there's enough of that stuff on the C++ side already. What do you want to use threads for?
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 18:31

kahrl wrote:I don't know. First of all, Lua wasn't written with thread safety in mind (and there are no thread or synchronization / locking primitives in the stdlib, so an API for them would have to be designed from scratch). Also, thread safety is hard, there's enough of that stuff on the C++ side already. What do you want to use threads for?

Well, most servers have at least 2 CPUs. I would be nice if minetest be more parallel.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Mon Jan 30, 2012 19:04

having multiple threads handling different entities would be great but adding thread safety is lots of work and this of topic in this thread too so let's get back to origin ;-)
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Mon Jan 30, 2012 20:07

If one has the Animals 0.9.9 mod, would they need this mod too or is the stuff in this mod also in the animals mod?
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Mon Jan 30, 2012 20:50

no animals doesn't contain those materials anymore and it doesn't contain animals as of 0.9.11 too. All animals got extracted to separate mods enabling user to remove those he/she doesn't like.
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 20:59

When will you add new wool texture? I'm going to make dyes mod to make the wool colored.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Mon Jan 30, 2012 21:11

next animals mod will contain the colors listed, if you want other colors in this mod too please make suggestions.
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Mon Jan 30, 2012 21:14

I want to make it possible to combine flowers with wool to get flower color in it. All the rainbow colors :)
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Thu Feb 02, 2012 12:51

Can you add wool of all colors in this mod? They can be not obtainable, I just need them or I'll have to implement mine and it won't be very comfortable to have different colors in different mods.

Sorry for spam :)
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Thu Feb 02, 2012 19:24

can you be a little bit more precise about "all"? ;-)
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Thu Feb 02, 2012 20:47

Yellow, red, violet, blue, green, orange. These are the colors I can make from flowers and cactus. Grey and black wool can be made with coal. Brown wool... maybe make dyes from dirt? At last in will be useful :D
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

User avatar
rinoux
Member
 
Posts: 184
Joined: Tue Dec 27, 2011 12:15

by rinoux » Thu Feb 02, 2012 22:43

Brown wool... maybe make from tree ?
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Thu Feb 02, 2012 23:55

rinoux wrote:Brown wool... maybe make from tree ?

Tree already makes wood. Maybe I'll have to make some item to combine with other items to make dyes, not just from flowers.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Fri Feb 03, 2012 18:56

probably adding some kind of furnacelike object "mill" might be a solution ... ok not exactly furnace as a mill wouldn't need fuel
Last edited by sapier on Fri Feb 03, 2012 18:57, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Fri Feb 03, 2012 20:47

sapier wrote:probably adding some kind of furnacelike object "mill" might be a solution ... ok not exactly furnace as a mill wouldn't need fuel

Mill needs some kind of power too. I think when luafurnace will be finished, we would make a mill powered with mesecons.
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

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

by Scott » Tue Feb 21, 2012 03:27

how do i get cotton?
ubuntu would be #1, without unity
 

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

by Ragnarok » Thu Mar 22, 2012 21:33

Ok... how can I erase wool bricks? :D I tried scissors, sword, pickaxes and another sharp stuff - nothing helps.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Mar 22, 2012 21:40

are you using the newest dev because then your screwed
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
ray8888
Member
 
Posts: 266
Joined: Sun Jan 01, 2012 16:40

by ray8888 » Fri Mar 23, 2012 00:32

ya i found that out
fuck off
 

User avatar
minecraft64
Member
 
Posts: 16
Joined: Sun Jul 22, 2012 14:23

by minecraft64 » Sun Aug 19, 2012 01:59

i got sick of raw meat so i edited in cooked meat, you might wanna add that
Got Tobuscus?
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

by JPRuehmann » Mon Mar 31, 2014 10:54

Hello

I get the following error messsage

item 'animalmaterials:glass' not found

How can I disable that?

Thanks,
JPR
 

Next

Return to Old Mods

Who is online

Users browsing this forum: No registered users and 7 guests

cron