-
Notifications
You must be signed in to change notification settings - Fork 141
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
Added firemaking plugin for Kotlin #349
base: kotlin-experiments
Are you sure you want to change the base?
Added firemaking plugin for Kotlin #349
Conversation
} | ||
|
||
fun walkCoords(direction: Direction): Position { | ||
if (direction == Direction.NORTH) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
position.step(1, direction))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is much simpler, thank you!
No, that's nothing to be sorry about. It's great :-). Will get around to reviewing shortly. |
927c273
to
15ba396
Compare
This has been rebased and setup for the new build system for kotlin plugins. |
Fix wrong class path
} | ||
|
||
|
||
on { ItemOnItemMessage::class } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Major- didn't you write something in Ruby to handle these ItemOnItem pairs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it because it wasn't very good, maybe we could look into something for kotlin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the ItemOnItemMessage not the correct way to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is correct, we're just discussing how we can make it a bit nicer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, ok
Blocked on item dropping |
After Firemaking is merged we're going to freeze |
@tlf30 I'm working on the ground item code now. |
@ryleykimmel your ground item code is awesome! Once it is merged in I update this. |
5211b9b
to
97896a3
Compare
Hello.
I have ported the firemaking plugin as discussed in #303. This has several fixes in it and I did test it.
The only things I am not sure on are the random equations for a successful chance of lighting the fire and how long the fire should burn.
EDIT: Also, this does not support lighting logs already on the ground because I have no way to test easily until dropping items is implemented. Also does not enforce not lighting fires in banks as I am not sure how to implement that.
Can someone please review.
PS: Yes, I know I have a lot of pull requests open right now. Sorry.
Thank you,
Trevor