OGC:Angel Subtype
3e Angel Subtype Creatures
3.5e Angel Subtype Creatures
5e Angel Subtype Creatures
d20M Angel Subtype Creatures
gollark: Well, if you want to know just for serializing things, you can just `pcall` textutils.serialise.
gollark: Changes I made:- check reactor methods in the loop- make the only thing in the `if` statement be setting `txt`, so that it runs the rest of the code for *both*- pass `print` multiple parameters, since it can use that happily- inline calls to stuff- `term` calls directly instead of `shell.run "clear"`, which is mildly more efficient- indentation
gollark: Here is the fixed version.
gollark: ```lualocal r = peripheral.wrap("back")while true do term.clear() term.setCursorPos(1, 1) local txt if r.getActive() then txt = "Aktiv" else txt = "Inaktiv" end print("Der Reaktor ist", txt) print(r.getEnergyStored(), "RF gespeichert") sleep(1)end```
gollark: Also, please use local variables and do indentation.
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.