I'm using entity.getenergy() in my mod, but since 0.5, that key no longer exists,
is there a new key, that one doesnt work or it has been removed??
entity.getenergy() no longer works
Re: entity.getenergy() no longer works
seems to work for me.
Code: Select all
game.player.print(game.player.character.getselected().getenergy())
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Re: entity.getenergy() no longer works
It also works for me, but I just noticed that it doesnt seem to work for me on assembling machinesrk84 wrote:seems to work for me.Code: Select all
game.player.print(game.player.character.getselected().getenergy())