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

Integrate tooltips, with information for citizen needs #26

wants to merge 4 commits into
base: master


Copy link

commented Aug 5, 2019


Integrates Terasology/WorldlyTooltip to add tooltips for all blocks. For all citizen characters, this tooltip includes information about current needs, which looks like below:


To test, activate this commit and look at any citizen character; the tooltip should look similar to above.


This comment has been minimized.

Copy link

commented Aug 11, 2019

Hey @AndyTechGuy can you give this another look? I just tried to test it but each time I hover over a Gooey I get the following NPE:

10:02:49.143 [main] INFO - Buffer before: 12127, Placed: 1000, Removed: 1000, Buffer after: 11127
10:02:49.554 [main] ERROR o.t.e.event.internal.EventSystemImpl - Failed to invoke event
java.lang.NullPointerException: null
	at org.terasology.input.InputSystem.getInputsForBindButton(
	at org.terasology.dialogs.DialogSystem.createTalkText(
	at org.terasology.dialogs.DialogSystem.updateTalkNotification(
	at org.terasology.dialogs.DialogSystem.onTarget(
	at org.terasology.dialogs.DialogSystemMethodAccess.invoke(Unknown Source)
	at org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(
	at org.terasology.entitySystem.event.internal.EventSystemImpl.sendStandardEvent(
	at org.terasology.entitySystem.event.internal.EventSystemImpl.send(
	at org.terasology.entitySystem.entity.internal.BaseEntityRef.send(
	at org.terasology.input.cameraTarget.PlayerTargetSystem.update(
	at org.terasology.engine.modes.StateIngame.update(
	at org.terasology.engine.TerasologyEngine.tick(
	at org.terasology.engine.TerasologyEngine.mainLoop(
	at org.terasology.engine.Terasology.main(
10:02:50.153 [main] INFO - Buffer before: 11127, Placed: 1000, Removed: 1000, Buffer after: 10127

That may be from unrelated work, unsure. I get the tooltip enabled for other stuff fine.


This comment has been minimized.

Copy link
Collaborator Author

commented Aug 13, 2019

That NPE isn't from this PR, I checked it out and it also occurs in the master branch. Seems to be something with the Dialog module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.