Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cactus modification #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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