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

[Feature Suggestion] Add a way to use experience/hunger/health/items as fuel #10

Open
elhertz opened this issue Jul 20, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@elhertz
Copy link

elhertz commented Jul 20, 2022

It'd be nice to have a way to make my players use some kind of fuel. Also add an alert when you are running low on the specific kind of fuel.

@SFort SFort added the enhancement New feature or request label Jul 20, 2022
@SFort
Copy link
Owner

SFort commented Jul 20, 2022

experiance is a setting but it's currently global, atm you can't script it. you have to use config/SurvivalFlight/general.conf

@elhertz
Copy link
Author

elhertz commented Jul 21, 2022

experiance is a setting but it's currently global, atm you can't script it. you have to use config/SurvivalFlight/general.conf

It would be nice to add a way to consume the item's durability as a fuel. Is it possible?

@SFort
Copy link
Owner

SFort commented Jul 22, 2022

adding any of these to general.conf, yes that is very easy.

adding a fuel requiremnt inside the actuall script is also feasable
but it would result in logical issues that in order to fix,
i'd either need to figure out how to trace the bool logic of a java Predicate
or would require fscript to be able to track the reason of a result.

i don't know if the first one is even possible.
the second is a pain to code and i'm not doing it anytime soon

@elhertz
Copy link
Author

elhertz commented Jul 22, 2022

You can just do whatever is easier for you. You can also not do it at all and I would totally respect that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants