water mobs #2403

Merged
cora merged 8 commits from water_mobs into master 2022-07-10 00:22:18 +02:00
Contributor

This abstracts the variable height spawning to mcl_mobs and adds salmon, cod and dolphin from mcl5 (although some of their api stuff can't be used ofc).

I want to add spawning in groups still which doesn't appear to work quite right yet.

This abstracts the variable height spawning to mcl_mobs and adds salmon, cod and dolphin from mcl5 (although some of their api stuff can't be used ofc). I want to add spawning in groups still which doesn't appear to work quite right yet.
cora force-pushed water_mobs from f0a460fe6e to 5a90ae38b7 2022-07-08 12:47:25 +02:00 Compare
cora changed title from WIP: water mobs to water mobs 2022-07-08 12:47:39 +02:00
Author
Contributor

Fixed group spawning.

Fixed group spawning.
AFCMS added the
mobs
label 2022-07-08 14:54:51 +02:00
Member

Tested, group_spawning looks great! Found a few schools of fish, and a pod of dolphins.


Textures:

Hrm, the dolphin texture needs changing as it's just a color swap, & like 2 pixel deletion from the eyes; of the MC version.
Salmon & cod textures seem sufficiently original though.

Extra note:

The picking up of fish; feels a bit rough to me.

Fine to merge, but I think we should look into moving it to 'mcl_buckets' later. As the "on_rightclick" call seems to conflict with water_placement making it hard to pickup the fish.

Tested, group_spawning looks great! Found a few schools of fish, and a pod of dolphins. --- **Textures:** Hrm, the dolphin texture needs changing as it's just a color swap, & like 2 pixel deletion from the eyes; of the MC version. Salmon & cod textures seem sufficiently original though. **Extra note:** The picking up of fish; feels a bit rough to me. Fine to merge, but I think we should look into moving it to 'mcl_buckets' later. As the "on_rightclick" call seems to conflict with water_placement making it hard to pickup the fish.
Author
Contributor

Yeah I noticed that too - p much just took the mcl5 code for that.

But yeah textures need to be fixed before merge.

Yeah I noticed that too - p much just took the mcl5 code for that. But yeah textures need to be fixed before merge.
cora changed title from water mobs to WIP: water mobs 2022-07-08 17:57:08 +02:00
Ghost requested changes 2022-07-09 00:55:00 +02:00
@ -0,0 +23,4 @@
return rad * 180.0 / math.pi
end
local S = minetest.get_translator("extra_mobs")
First-time contributor

is this supposed to be extra_mobs for any reason, or do the translations need to be updated and this changed to mobs_mc?

is this supposed to be extra_mobs for any reason, or do the translations need to be updated and this changed to mobs_mc?
Author
Contributor

fair point hehe

fair point hehe
Ghost marked this conversation as resolved
@ -0,0 +91,4 @@
end,
}
mcl_mobs:register_mob("mobs_mc:dolphin", dolphin)
First-time contributor

is this supposed to be extra_mobs for any reason, or do the translations need to be updated and this changed to mobs_mc?

is this supposed to be extra_mobs for any reason, or do the translations need to be updated and this changed to mobs_mc?
Ghost marked this conversation as resolved
@ -0,0 +3,4 @@
--made for MC like Survival game
--License for code WTFPL and otherwise stated in readmes
local S = minetest.get_translator("extra_mobs")
First-time contributor

is this supposed to be extra_mobs for any reason, or do the translations need to be updated and this changed to mobs_mc?

is this supposed to be extra_mobs for any reason, or do the translations need to be updated and this changed to mobs_mc?
Ghost marked this conversation as resolved
cora force-pushed water_mobs from e9a78e30ba to e9b72083b3 2022-07-09 02:31:02 +02:00 Compare
Ghost approved these changes 2022-07-09 04:30:26 +02:00
Author
Contributor

The bucket api does not appear to support entities; just nodes so i suppose it's best to go with the on_rightclick - and i mean i guess it's ok if catching fish with a bucket isn't exactly easy hehe.

The bucket api does not appear to support entities; just nodes so i suppose it's best to go with the on_rightclick - and i mean i guess it's ok if catching fish with a bucket isn't exactly easy hehe.
cora changed title from WIP: water mobs to water mobs 2022-07-09 12:42:18 +02:00
Contributor

The bucket api does not appear to support entities; just nodes

Does this mean we can't release the caught fish (for acquariums)? I haven't tested this yet.

> The bucket api does not appear to support entities; just nodes Does this mean we can't release the caught fish (for acquariums)? I haven't tested this yet.
Author
Contributor

You can release them it just doesn't use the bucket api

You can release them it just doesn't use the bucket api
MysticTempest approved these changes 2022-07-09 17:26:44 +02:00
Member

The bucket api does not appear to support entities; just nodes so i suppose it's best to go with the on_rightclick - and i mean i guess it's ok if catching fish with a bucket isn't exactly easy hehe.

Ah okay; well thanks for checking. Looks good overall, and nice new texture!

> The bucket api does not appear to support entities; just nodes so i suppose it's best to go with the on_rightclick - and i mean i guess it's ok if catching fish with a bucket isn't exactly easy hehe. Ah okay; well thanks for checking. Looks good overall, and nice new texture!
Member

@cora Update the translation template for mobs_mc.

@cora Update the translation template for mobs_mc.
cora added 1 commit 2022-07-09 22:18:13 +02:00
Author
Contributor

Well that i am making a toki pona translation now is your fault and your fault alone :P

Well that i am making a toki pona translation now is your fault and your fault alone :P
cora merged commit ec6d5628e2 into master 2022-07-10 00:22:18 +02:00
cora deleted branch water_mobs 2022-07-10 00:22:22 +02:00
Member

Well that i am making a toki pona translation now is your fault and your fault alone :P

I've never heard of that one before. Interesting.

> Well that i am making a toki pona translation now is your fault and your fault alone :P I've never heard of that one before. Interesting.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#2403
No description provided.