Minetest logo

IRC log for #minetest-hub, 2021-02-25

| Channels | #minetest-hub index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:06 GreenXenith joined #minetest-hub
01:09 MTDiscord joined #minetest-hub
01:15 MTDiscord joined #minetest-hub
01:20 MTDiscord joined #minetest-hub
01:25 MTDiscord joined #minetest-hub
01:26 ShadowBot joined #minetest-hub
01:28 ShadowNinja joined #minetest-hub
01:50 MTDiscord joined #minetest-hub
02:24 Miner_48er joined #minetest-hub
03:25 Conradish006 joined #minetest-hub
05:00 MTDiscord joined #minetest-hub
05:53 olliy joined #minetest-hub
08:00 ShadowNinja joined #minetest-hub
09:07 calcul0n joined #minetest-hub
09:32 olliy joined #minetest-hub
09:53 Conradis_ joined #minetest-hub
12:09 Fixer joined #minetest-hub
13:54 calcul0n_ joined #minetest-hub
16:10 BuckarooBanzai has anyone time for a simple PR: https://github.com/minetest-mods/mesecons/pull/528 (adds a luacheck-workflow) it is now sitting there for half a year :P
16:11 nisa joined #minetest-hub
16:54 VanessaE forget that... merge my UI consistency PR and tell the other person to go jump in a lake :)
16:55 Conradish006 joined #minetest-hub
17:30 Krock VanessaE: which button images? that can be customized using style[]
17:41 VanessaE Krock:  default image buttons have a hard-coded theme and can't be changed by style[]
17:41 VanessaE as far as I could tell
17:42 VanessaE I tried everything I could think of, and like scrollbars and implicit "Progress" buttons, they can't be changed.
17:42 VanessaE (though at least in UI I could just replace them entirely)
17:42 Krock you can change the colors and even apply image overlays
17:43 Krock buttons have a very high variety of customization as of 5.3.0+
17:43 Krock see devtest  /test_formspec (or similar) for a few examples
17:44 VanessaE show me a screenshot?
17:44 VanessaE I couldn't even find *documentation* on it
17:45 VanessaE hell, I searched my system from top to bottom and just could. not. find. the button images or scrollbar images or anything showing how they're being drawn
17:48 MTDiscord joined #minetest-hub
17:48 GreenXenith joined #minetest-hub
17:48 Krock VanessaE: https://github.com/minetest/minetest/pull/9290
17:48 GreenXenith ping
17:48 MTDiscord <GreenXenith> pong
17:48 Krock also https://i.postimg.cc/RFYpGWqr/grafik.png
17:52 VanessaE er
17:52 VanessaE that's 9-slice mode
17:52 VanessaE I'm talking about implicit buttons.
17:53 VanessaE i.e. if you do button_image[] or whatever it is, but without specifying an image file, MT puts in a stock button (as in old UI, or in that /test_formspec command)
17:54 VanessaE er image_button[].  whatever :P
17:55 VanessaE (now I have to re-look-it-up just to get clear)
17:56 VanessaE ah now I remember
17:56 VanessaE if you specify image_button[x,y;w,h;image.png;name]  MT will put image.png on top of a stock dark grey button.
17:57 VanessaE it's that stock dark grey button that can't obviously be themed without explicitly being overridden by style_type[image_button;bgimg...]
17:58 rubenwardy the stock button is called a border
17:58 rubenwardy style_type[button;border=false] will remove it
17:58 VanessaE *image_button*
17:58 rubenwardy same thing
17:58 rubenwardy they use the same code
17:59 VanessaE I'll tinker with that then.  the less I have to finagle, the better
18:00 rubenwardy style_type[image_button;border=false;bgimg=something.png,bgimg_middle=10]   is the minimum code for a custom bg with an image button
18:00 rubenwardy probably, untested
18:00 rubenwardy oops, ; instead of ,
18:01 VanessaE style_type[image_button;bgimg=standard_image_button.png;bgimg_hovered=standard_image_button_brighter.png]
18:01 VanessaE is how I override it now
18:02 rubenwardy you're missing the border=false, and should probably use a 9 slice to scale the buttons nicely
18:02 VanessaE can't.
18:02 VanessaE the changes I'm applying need to use as few changes to mods as possible
18:02 rubenwardy the docs are here: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2762
18:02 VanessaE afaik nothing I use in Dreambuilder uses 9-slice mode.
18:03 rubenwardy 9 slice only effects the background
18:03 rubenwardy of the button, not the content image of the button
18:03 * VanessaE sighs
18:04 VanessaE this stuff is too complicated and honestly the documentation on it sucks
18:05 VanessaE but then, documentation always sucks no matter how good it is :)
18:05 MTDiscord <Jonathon> i mainly use https://us.xeroxirc.net/formspec-editor/ if im doing simple formspecs (forum topic: https://forum.minetest.net/viewtopic.php?t=24130)
18:06 VanessaE so, how do I override the scrollbar theme (i.e. text_area[] ) :)
18:06 rubenwardy scrollbar styling isn't implemented yet :'(
18:06 MTDiscord <Jonathon> wasnt there a pr for that?
18:06 MTDiscord <wwar> yet? That means it'll be :D
18:07 rubenwardy well, we might get a formspec replacement first
18:07 rubenwardy right
18:08 VanessaE :(
18:08 rubenwardy issue is #9692
18:08 ShadowBot https://github.com/minetest/minetest/issues/9692 -- Ability to stylize the scrollbar
18:08 rubenwardy there's also a whole question about how to handle styling children
18:08 rubenwardy I guess we need `style_type[textarea > scrollbar]`
18:09 MTDiscord <wwar> Did you memorize all issues or you just looked? Lol
18:09 MTDiscord <Jonathon> thats it, thanks ruben
18:09 VanessaE memorized :P
18:09 VanessaE I googled for hours trying to find it out :P
18:09 rubenwardy or it could always just use `style_type` I guess
18:09 rubenwardy it was in my browser history
18:14 VanessaE Krock: https://imgur.com/b8aMrIl.png  better?
18:15 VanessaE on my screen it's perfectly horiz centered relative to the slot below it and vert centered relative to the "Bag 4" icon next to it
18:15 rubenwardy needs more padding between buttons and inv list
18:15 Krock the contrast of these textures is not great but the dimensions look good
18:15 rubenwardy *spacing
18:15 Krock s/these textures/the GUI overall/
18:15 Krock well yes, but this was about the image scale
18:16 rubenwardy in UIs, you should use spacing to show how related things are
18:16 rubenwardy the trash slot also looks different from the rest
18:16 VanessaE Krock: don't mind the contrast, you're seeing Dreambuilder's theme
18:17 Krock alright
18:17 VanessaE moment, I'll push the change
18:18 VanessaE pushed.  Should I tweak the spacing also?
18:18 VanessaE should be trivial
18:19 Krock up to you. would be nice.
18:19 rubenwardy entirely up to you. I'd make it the same as the spacing between the slots - 0.25 I think?
18:24 VanessaE sounds fair
18:25 VanessaE actually slightly more than the normal spacing looks a little better
18:26 rubenwardy I tend to use 0.25 for related things, and 0.375 for unrelated things. This is what Minetest did in FSv1
18:26 VanessaE https://imgur.com/jmbmeBO.png
18:26 rubenwardy sure looks good
18:27 rubenwardy you could do with better icons, but art isn't easy
18:28 VanessaE ok, the trash can and spacing tweak are up now.
18:38 VanessaE rubenwardy: regarding those image buttons... ok, turning off the border makes the implicit button bevel/border/whatever disappear, but what I wanted to do was merely change its colors.
18:39 rubenwardy I believe  `bgcolor` will tint the background color
18:43 VanessaE nope.
18:44 VanessaE style_type[image_button;bgcolor='"$btn_color"';border=false]"  just results in an empty background behind the buttons' images ($btn_color comes from the shell, and is set to #B0B0B0FF)
18:44 VanessaE https://imgur.com/h2B5M0x.png
18:48 rubenwardy bgcolor colors the border
18:48 rubenwardy so it needs to be true
18:48 rubenwardy bgcolor colors either the border or the bgimg
18:49 rubenwardy hmm, should _probably_ be called `tin`
18:49 rubenwardy * `tint`
18:49 rubenwardy I guess I planned on having it set a plain background color too
19:01 VanessaE rubenwardy: ah, ok
19:01 VanessaE that gets it the way I wanted.
19:19 VanessaE rubenwardy: ok, next:  how do I make inventory slots go away entirely?
19:20 VanessaE i.e. I want to theme say a chest so that its form looks similar to UI
19:23 VanessaE https://imgur.com/gTNsMQJ.png
19:23 VanessaE you can see it here on that middle row (I think *all* inv slots are visible, but really mostly only impacts the lighter-shaded middle row)
19:25 TenPlus1 joined #minetest-hub
19:25 TenPlus1 HI folks :)
19:26 VanessaE hi
19:26 TenPlus1 hey vanessa, how's you ?
19:26 VanessaE I'm ok
19:26 TenPlus1 kewl, had a few players update your builder game :) lovin' it
19:27 VanessaE eh?
19:27 TenPlus1 dreambuilder
19:27 VanessaE someone's already playing around with the resurrected Dreambuilder *game*?
19:27 TenPlus1 ooh, I meant update as in get your latest version and use locally
19:27 VanessaE oh
19:27 TenPlus1 whoops, my bad
19:28 VanessaE I'm transitioning it back to a full game, and it's almost ready to deploy
19:28 VanessaE https://gitlab.com/VanessaE/dreambuilder_game
19:28 TenPlus1 nice, just got latest signs_lib and basic_signs, lotta nice changes there too
19:30 TenPlus1 I like how you've done the post signs :D
19:32 homthack joined #minetest-hub
19:32 VanessaE :)
19:33 TenPlus1 playing with minetest 5.4 stable and as always, worried about updating server
19:33 TenPlus1 5.2 to 5.3 was a pain in the butt previously
19:34 rubenwardy you should version control the entire mod setup
19:34 rubenwardy you can then test offline
19:34 TenPlus1 hey ruben, I have been on singleplayer server as a test
19:35 TenPlus1 did things work out with the minetest.get_player_information() issue ?
19:35 sfan5 yes
19:36 TenPlus1 hii sfan :) glad to hear :) yay, that was one of our big issues with 5.3, had to nil check a few mods for taht one
19:42 TenPlus1 ooh, for anyone interested, Builtin_item mod has had a revamp and Gustavo6046 redid the water flow feature and add proper friction to dropped items :) works really well
19:43 TenPlus1 also Vanessa if you're interested, itemframes work with glowing items now
19:45 VanessaE cool.
19:59 Conradish006 joined #minetest-hub
19:59 * VanessaE wanders off to sleep
19:59 TenPlus1 cya vanessa
20:00 TenPlus1 lol https://www.deviantart.com/excaliburzero/art/Super-Mario-Bros-Minetest-style-440844849
20:01 MTDiscord <wwar> Hello Ten
20:01 TenPlus1 hey wwar, how's it going dude ?
20:02 MTDiscord <wwar> Fine, exams next week
20:02 MTDiscord <wwar> You?
20:02 TenPlus1 work mostly, and the odd day off to relax :D
20:02 MTDiscord <wwar> So you finished that work?
20:03 TenPlus1 the 'fly' priv work, yeah, been ready for a week, just waiting on Shinji to update server (friday hopefully)
20:04 MTDiscord <wwar> Lol that
20:04 MTDiscord <wwar> Some people didnt resist staying without fly and said they leave forever
20:05 TenPlus1 yeah, I heard from a few, it's all fixed we just need to update... got some new features added as well
20:05 MTDiscord <wwar> Features like what? Or you won't spoil? :p
20:06 TenPlus1 hehe, many little things that work behind the scenes, salt crystals (for storage and decoration), drop recipes, water flow and item friction etc
20:07 MTDiscord <wwar> I'll be waiting for that
20:07 TenPlus1 :) am eager to get it all up and active, especially with 5.4 update
20:08 MTDiscord <wwar> By the way what happened and revoked everyone?
20:08 MTDiscord <wwar> The fly,
20:09 MTDiscord <wwar> Thats weird tho
20:09 TenPlus1 usually when we update I'm around and any bugs are fixed within the first 30 minutes
20:09 TenPlus1 sadly it was a fast update and go that day, so the on_joinplayer had an issue where it revoked flight privs for everyone instead of for when the potion expired
20:09 MTDiscord <wwar> Oh i see
20:10 TenPlus1 had a fix the next day, just waiting on shinji to have a day from work to apply it
20:10 MTDiscord <wwar> I noticed that only who joins after that bug gets revoked
20:10 TenPlus1 got a list of players to give flight back to when it's done, slow but sure :)
20:10 MTDiscord <wwar> First seconds i noticed i'm flyless i thought that was a punishment for something :p
20:11 MTDiscord <wwar> Somebody said they made a list of people who got revoked
20:11 TenPlus1 JG did it :) am glad he has, will help a lot, last thing I wanna do is annoy a good player base :)
20:12 MTDiscord <wwar> :D i didn't get annoyed for getting revoked
20:13 TenPlus1 that's why I added flight potion to begin with :) wanted everyone to have a chance without asking admin for fly all the time :D
20:13 MTDiscord <wwar> Lol, i trashed tons of etherium thing before that
20:13 TenPlus1 hahaha, it was bound to happen :) without a use no-one keeps it, that and fire dust
20:14 MTDiscord <wwar> Fire dust makes molotov
20:15 MTDiscord <wwar> So when we can "light up" the spawn :PPP
20:15 TenPlus1 that's a server specific item :P lolol, not condoned on other worlds :DD hah
20:15 MTDiscord <wwar> So we can "light up" the spawn
20:15 TenPlus1 oh and super hot tacos
20:15 MTDiscord <wwar> IK, cool stuff doesnt exist on default :PP
20:16 TenPlus1 mind you, some of the actual [games] available on content tab are pretty amazing now :)
20:16 TenPlus1 new players can easily download and play worlds with specific mods like dreambuilder, mineclone2, lotr
20:17 MTDiscord <wwar> Yeah, i like how u can download free mods on MT
20:17 TenPlus1 was gonna make one specifically for Ethereal at one point but lack of floating biomes put me off
20:18 MTDiscord <wwar> Yeahh, minetest REALLY needs floating biomes
20:18 MTDiscord <wwar> The 30k Y lvls are useless like that
20:19 TenPlus1 yeah, that's many people's thinking as well... need more BASE biomes that can be generated at higher levels to build worlds from, not just in lua
20:20 MTDiscord <wwar> So.. now you (cant) make biomes float or they will be messy when you make them?
20:20 TenPlus1 didnt paramat remove floatlands ?!?
20:21 MTDiscord <wwar> idk..
20:22 MTDiscord <wwar> Underground needs more biomes
20:22 sfan5 floatlands were changed significantly, but not removed
20:22 MTDiscord <wwar> Caverealms is cool, but has few biomes
20:22 TenPlus1 v7 mapgen has an experimental floatland layer which is set to a specific height, from there you can assign biomes but onlt for that one layer
20:22 TenPlus1 caverealms and otherworlds are amazing but use lua mapgens which are sloooooow
20:23 TenPlus1 years ago I wanted this but wasnt viable I dont think https://github.com/minetest/minetest/issues/4503
20:23 MTDiscord <wwar> :(
20:24 MTDiscord <wwar> the 30k Y lvls really needs some biomes, like that they just take more memory
20:25 TenPlus1 current biomes build from the base layer and can rise to any height, I dont get why we cannot create a new base later in the sky to start from and do the same at any layer of map
20:26 MTDiscord <wwar> By "can not" you mean that you tried?
20:26 MTDiscord <wwar> I mean, it doesnt look impossible
20:26 TenPlus1 wish I knew enough c++ to do just that, I can only create biomes up there with lua code, and that's slow as hell
20:26 TenPlus1 no-one knows the existing mapgens more than paramat and what it can do engine wise
20:27 MTDiscord <wwar> Thats not good
20:27 MTDiscord <wwar> But can be solved
20:27 TenPlus1 one day maybe :)
20:27 MTDiscord <wwar> We need someone who has interest in that and knows C++
20:27 TenPlus1 mt_game is bugfix only,but engine continues to be worked on :D
20:28 MTDiscord <wwar> Btw why lua makes it slow?
20:28 MTDiscord <oneplustwo> it's an interpreted language
20:29 TenPlus1 has to calculate all that 3d perlin noise using lua which is slow, then place blocks and decoration using voxelmanip which isnt too bad, but c++ would be able to do it a lot faster
20:30 MTDiscord <wwar> I see
20:30 TenPlus1 for example, check out caverealms lite: https://notabug.org/TenPlus1/caverealms_lite/src/master/init.lua
20:30 MTDiscord <wwar> The difference is just that C++ is better :p
20:30 TenPlus1 this makes a cave with decoration, still has light glitches and placement glitches but works
20:34 nisa_ joined #minetest-hub
20:34 nisa_ joined #minetest-hub
20:35 kevinsan_ joined #minetest-hub
20:35 T^4im joined #minetest-hub
20:36 scr267_ joined #minetest-hub
20:36 MTDiscord <wwar> Yeah ik
20:36 MTDiscord <wwar> I tried It and its cool
20:36 MTDiscord <wwar> But needs some more biomes with new features
20:36 MTDiscord <wwar> https://cdn.discordapp.com/attachments/747163533212516474/814596117744451643/mobs_monster.zip
20:36 MTDiscord <wwar> Do you have time to check this? :D
20:36 TenPlus1 exactly, c++ is way faster and engine placing nodes is better than mod
20:36 TenPlus1 wb nica
20:36 TenPlus1 *nisa
20:36 Fixer_ joined #minetest-hub
20:37 sofar joined #minetest-hub
20:37 JTE joined #minetest-hub
20:37 tuedel_ joined #minetest-hub
20:37 xerox123_ joined #minetest-hub
20:37 lumidify_ joined #minetest-hub
20:38 Thomas-S joined #minetest-hub
20:38 Thomas-S joined #minetest-hub
20:38 bigfoot548 joined #minetest-hub
20:38 Lausefuchs joined #minetest-hub
20:38 TenPlus1 wb folks
20:38 MTDiscord <wwar> Alotta people there? ?
20:39 TenPlus1 net split on some server or another
20:39 rubywarden joined #minetest-hub
20:39 TenPlus1 wb ruben
20:40 rubywarden weird, I couldn't connect back to freenode
20:40 TenPlus1 another shark eating the undersea cables again :D
20:40 panwolfram joined #minetest-hub
20:41 bwarden joined #minetest-hub
20:41 TenPlus1 https://img-9gag-fun.9cache.com/photo/aGpxB3z_460swp.webp
20:41 rubywarden oh wait, my name is wrong
20:42 VanessaE_ joined #minetest-hub
20:42 MTDiscord <wwar> Terry is kind
20:42 TenPlus1 hehe
20:42 MTDiscord <wwar> > oh wait, my name is wrong I noticed thatm its like somebody played tennis on it
20:44 TenPlus1 :P
20:44 MTDiscord <wwar> Ten u busy? Today
20:45 TenPlus1 I was earlier, work and training, at home now :D
20:45 MTDiscord <wwar> Wanna check changes i made on mobs monster?
20:45 TenPlus1 got link ?
20:45 MTDiscord <wwar> Got zip file
20:46 homthack joined #minetest-hub
20:46 TenPlus1 hrm, gotta get yourself a git or notabug account, makes it easier to review code changes :D
20:46 MTDiscord <wwar> This
20:46 MTDiscord <wwar> https://cdn.discordapp.com/attachments/747163533212516474/814599171024748564/mobs_monster.zip
20:46 TenPlus1 omg, I sound like krock when I first started... ahaha
20:46 MTDiscord <wwar> Lol
20:47 MTDiscord <wwar> you know idk how to use that git things
20:47 MTDiscord <wwar> I just made 3 issues on github :p
20:47 TenPlus1 will go through code and see what changes, anything interesting I can add to main if you want
20:48 MTDiscord <wwar> U recieved that file?
20:48 TenPlus1 yeah, going through it now
20:48 MTDiscord <wwar> Nice, i thought it wont send to IRC users
20:48 Krock get yourself a git GUI if you're not familiar with it. a few youtube videos later and you'll have a rough idea of how it works
20:48 TenPlus1 discord uploads it and links me to download file :) not too shabby
20:49 TenPlus1 hey Krock
20:49 Krock TenPlus1: heh now look where you are now. git mastry
20:49 Krock hi TenPlus1
20:49 TenPlus1 lol, wouldnt say mastery, more proficient :D
20:49 MTDiscord <wwar> Krock, i aint gonna enter that thing to view my few changes..
20:50 Krock .. that's how it began
20:50 MTDiscord <wwar> Ten, i made some textures darker and they look better now
20:50 MTDiscord <wwar> > .. that's how it began Nahh, im not interested in coding
20:50 Krock "stay tuned to learn how wwar involved in open source contributing later on"
20:50 TenPlus1 haha yeah :D
20:51 MTDiscord <wwar> Lol
20:52 TenPlus1 I like the idea of some of the new monster types :) and textures
20:53 MTDiscord <wwar> Cool :D
20:53 MTDiscord <wwar> I made them with high health and ethereal-based
20:53 MTDiscord <wwar> I dont like easy to kill mobs
20:54 TenPlus1 that's why I added mob_difficulty setting, pop that up and they become insane
20:54 MTDiscord <wwar> Is that a new thing?
20:54 TenPlus1 I may change tree monsters to be like spiders, depending which leaves they spawn on depends on their drops and texture used
20:54 TenPlus1 nah that's been there for a while now
20:54 MTDiscord <wwar> I made tree monster get damaged with axes only
20:54 TenPlus1 https://notabug.org/TenPlus1/mobs_redo/src/master/settingtypes.txt#L20
20:55 MTDiscord <wwar> That will help :D
20:55 TenPlus1 good idea with axes btw
20:55 MTDiscord <wwar> I saved that link to change more (after exams)
20:56 TenPlus1 mobs need some tweaking to be better :)
20:56 MTDiscord <wwar> Ty
20:56 MTDiscord <wwar> Yep, it doesnt make difference if all mobs die with the same way
20:56 MTDiscord <wwar> Stone monster dies with pickaxes only
20:58 TenPlus1 ooh, using other mods for picks etc may need to be added
20:58 MTDiscord <wwar> I added lava pick only
20:59 MTDiscord <wwar> As a non default
20:59 TenPlus1 moreores and othermods picks wont work for that particular mob
20:59 MTDiscord <wwar> Yeah ik that..
21:00 Conradish006 joined #minetest-hub
21:00 TenPlus1 this is gonna be fun to pick through :D
21:00 MTDiscord <wwar> Also i made alot of tree monsters because i wanted them to drop different stuff and have different healths etc
21:00 MTDiscord <wwar> Its tricky :p
21:00 MTDiscord <Flamore> Tree monsters would be cool if they had diffirent textures
21:01 MTDiscord <Flamore> Like depending on the biome
21:01 TenPlus1 oh that one can be done easily enough with a single tree monster mob, and a table of drops, textures etc.
21:01 MTDiscord <wwar> That what i wanted to ask if we can do :D
21:01 TenPlus1 check out the spider.lua, did the same with that one, depending where it spawns depends on spider texture, is it docile etc
21:01 MTDiscord <wwar> > Like depending on the biome They are like that :D
21:02 MTDiscord <wwar> Yeah i tryed to copy how u did with spiders..
21:02 MTDiscord <wwar> But failed lol
21:02 MTDiscord <wwar> You know.. idk anything about coding, just copy-pasting and editing textures
21:02 TenPlus1 dungeon guard looks interesting also
21:04 MTDiscord <Flamore> You mean dungeon master?
21:04 TenPlus1 lava flan needs a new texture, it's using the old mese  block
21:05 MTDiscord <Flamore> Lava flan mese textured? Did you forget?
21:05 TenPlus1 hi Flamore, in this pack it's dungeon guard, no fireballs, just a plain old kicking from a monster :D
21:06 MTDiscord <wwar> And it does something speacial
21:06 MTDiscord <wwar> It turns all ores to gold when it walks above them
21:06 TenPlus1 ooh, that would be very cheaty indeed
21:07 MTDiscord <wwar> I thought about making it change coal to diamond as preasure :P
21:07 TenPlus1 players would lure them around to change ores :D
21:07 MTDiscord <wwar> But that would make people creative if they find
21:07 TenPlus1 how about when it's killed it explodes and does that instead
21:08 MTDiscord <wwar> Remember, it changes even valuable ores, and its hard to figure out it does that
21:08 MTDiscord <Flamore> How about it replaces ores with a random ore from a table? Like a table with chances.
21:09 MTDiscord <wwar> If you ask me, idk how to add a random.choice
21:09 TenPlus1 yeah was thinking that with a custom on_die function, epxlosion replaces ores nearby
21:10 MTDiscord <wwar> I cant add custom stuff if there are no very similar ones
21:10 MTDiscord <Flamore> I'm pretty sure there was a mod that added a new ore, i think it was trash? Which either dropped a random item, or took health
21:11 TenPlus1 dont remember seeing that one
21:11 MTDiscord <wwar> I guess the explosion way would be better
21:11 TenPlus1 players already use dungeon master to dig tunnels for them, they exploit something new :D
21:12 MTDiscord <wwar> That can be done to mese monster aswell, changes nearby stone to mese, it takes too long to get kiled
21:12 TenPlus1 they will definitely do the same with ore changes, so gotta limit it in some way or fashion
21:12 TenPlus1 did u like obsidian flan ?
21:12 MTDiscord <wwar> Yepp
21:12 TenPlus1 only appears if lava flan dies in water, and it's super hard to kill
21:12 MTDiscord <wwar> However i didnt know how i can do the same but with another mob
21:13 MTDiscord <wwar> I tryed to add a similar thing to stone monster when it dies with lava it turns to a magma monster
21:13 TenPlus1 nice
21:13 TenPlus1 use the on_die function, chose a random number, if nuymber == ? then spawn magma monster
21:13 Krock nuymber
21:14 TenPlus1 that's a special one krock :) hehehe
21:14 MTDiscord <wwar> So it isnt a typo? :p
21:14 TenPlus1 wwar: https://notabug.org/TenPlus1/mobs_monster/src/master/lava_flan.lua#L57
21:14 MTDiscord <wwar> Do u have a place that contains all available mobs functions?
21:15 TenPlus1 yup, the api.txt file https://notabug.org/TenPlus1/mobs_redo/src/master/api.txt
21:15 TenPlus1 and of course the actual animal/monster lua files for examples
21:15 MTDiscord <wwar> Nicee
21:15 MTDiscord <wwar> Saved that
21:16 TenPlus1 got some new ones added for on_flop and on_breed etc.
21:16 MTDiscord <wwar> I tryed adding on_die
21:16 TenPlus1 I add some commented examples in mobs as examples :)
21:17 MTDiscord <wwar> I will try again after exams
21:17 TenPlus1 good luck with those :D
21:17 MTDiscord <wwar> Also did u check how i made them drop loot?
21:17 MTDiscord <wwar> Thanks :D
21:17 TenPlus1 yeah, they drop more items at random frequency
21:18 MTDiscord <wwar> It isnt very good, but better than dropping one stack only
21:18 TenPlus1 drop rate and items will need to be redone anyhow
21:19 smugler5[m] joined #minetest-hub
21:19 TenPlus1 remember that min=0 for drops signifies that a player must kill the mob to get those, cant die of anything else
21:19 MTDiscord <wwar> You mean on all mobs_redo or the ones i made?
21:19 TenPlus1 mobs redo, the api is the main thing, the mobs were an addition for testing and a simple world use case
21:20 MTDiscord <wwar> Cant die, you mean they wont drop?
21:20 TenPlus1 e.g. dungeon master, if player kills them then they have a chance of dropping diamond blocks, if it dies any other way then that chance is nil
21:20 MTDiscord <wwar> Oh
21:20 TenPlus1 so you cant make farms and expect it to drop high value items :D
21:21 MTDiscord <wwar> I thought min=0 makes it sometimes drops sometimes doesnt
21:21 MTDiscord <wwar> Like the chance i mean
21:21 TenPlus1 was a special value, same with cows, will always drop meat, but player has to kill them to get a chance of dropping leather
21:21 MTDiscord <wwar> Didnt figure the difference between the chance and min=0..
21:22 TenPlus1 it's documented in api.txt line 166
21:22 MTDiscord <wwar> Lemme check
21:22 MTDiscord <wwar> Did u memorize the lines??
21:23 TenPlus1 hah no, got it up beside me
21:23 TenPlus1 still gotta reference my own documentation at times :D lol
21:23 MTDiscord <wwar> Lol
21:23 TenPlus1 that's why I like commenting code and spacing things out (which some ppl hate)
21:23 MTDiscord <wwar> That helps people to edit
21:24 MTDiscord <wwar> If it isnt commented others wont understand what happening
21:24 olliy joined #minetest-hub
21:24 TenPlus1 I think it's the spacing ppl dont agree with :D
21:24 TenPlus1 hi olliy
21:24 TenPlus1 e.g. https://notabug.org/TenPlus1/stamina/src/master/init.lua#L102
21:25 TenPlus1 it may take up some extra lines, but man is it a lot easier to find bugs and edit :D
21:25 olliy hello TenPlus1
21:25 TenPlus1 how's things olliy ?
21:25 MTDiscord <wwar> Yeah thats true
21:26 MTDiscord <wwar> If you orginaze ur work it will be alot easier
21:26 olliy doing okay, and you?
21:26 TenPlus1 kewl, quiet evening here dude :) in fact, off to bed shortly, work tomorrow :((((
21:26 TenPlus1 buuu
21:26 MTDiscord <wwar> The time u may spend to find them will take longer than commenting :p
21:28 TenPlus1 and on that note I'm off to bed :) take care folks, have fun o/
21:28 olliy gn
21:29 MTDiscord <wwar> o//
22:31 aerozoic joined #minetest-hub
23:05 MinetestBot joined #minetest-hub

| Channels | #minetest-hub index | Today | | Google Search | Plaintext