minetest-mods / technic

Technic mod for Minetest
Other
145 stars 155 forks source link

nuclear_reactor: add error messages on start failure #574

Closed cedrichaase closed 3 years ago

cedrichaase commented 3 years ago

I built a nuclear reactor a few days ago - when trying to start it, I just simply got the (pretty much useless) message "Error" printed to the console.

I had to read the source to find out that I actually need to insert 6 pieces of uranium fuel into the reactor (as opposed to just one).

I was hoping to save anyone who wants to build nuclear reactors in the future the trouble of jumping through the same hoops, so here are some slightly more useful error messages.

SmallJoker commented 3 years ago

:+1: Looks good. Will merge it in a few days unless there are objections.