Minimal Start

by nakran

Empties all inventory slots when starting a new world. In multiplayer worlds it also removes them when joining for the first time

3 years ago
0.13 - 0.18
8

b Crash by starting a new game

4 years ago

Hi
There is a crash :
Error while running event MinimalStart::on_player_created (ID 24)
real number expected got nil.
stack traceback:
MinimalStart/control.lua:5: in function <MinimalStart/control.lua:1>
stack traceback:
[C]: in function 'get_inventory'
MinimalStart/control.lua:5: in function <MinimalStart/control.lua:1>

The reason is your defines: You should replace "player" with "character" in the name
Other problem : Your last version is not downloadable, due to your json file. The version value should just be 0.17 and you need to add a key "dependencies".
Cheers

4 years ago

Hi there Hermios, sorry for the late reply and thanks for the report!
I knew about the API change so I uploaded the 1.0.5 replacing the "player" with "character"

About the version I was expecting that marking it as 17.35 would be sufficient but it seems that it is not.
I'm uploading a new one with the correct version

Sorry for the inconvenience!

4 years ago

No problem, I fixed it locally. Thanks for the answer :)

New response