Skip to content

Conversation

@Themostrandom
Copy link
Contributor

@Themostrandom Themostrandom commented Aug 20, 2024

screenshot

Correction of that :
    realisticcactus/init.lua:7:66: line contains trailing whitespace
    realisticcactus/init.lua:11:45: line contains trailing whitespace
@LoneWolfHT
Copy link
Member

LoneWolfHT commented Sep 8, 2024

This uses ABMs, which should be an absolute last measure.
It also uses get_objects_inside_radius(), but only operates on players.

This would be much better as a globalstep, looping through minetest.get_connected_players() and checking their position.

I personally prefer making the cactus do node damage like fire, and reducing its collisionbox and/or selectionbox (I forget which one has to be changed) by 0.1 or so, which IIRC makes it damage you if you touch it, the last time I did a mod like that was 0.4.x though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants