From the Depths Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Links
Official Website
Steam Forums
Steam Store Page
Facebook Page
Reddit
Twitter Page
YouTube Channel
Discord
Useful pages
Components
Weapon Design
Guides
Items And Skills
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
From the Depths Wiki
474
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Links
Official Website
Steam Forums
Steam Store Page
Facebook Page
Reddit
Twitter Page
YouTube Channel
Discord
Useful pages
Components
Weapon Design
Guides
Items And Skills
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
LUA Box
(section)
Back to page
Edit
VisualEditor
View history
Talk (1)
Edit Page
LUA Box
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Glossary of Technical Terms === ==== Values: ==== ===== Variable ===== * Something that can be changed, or can be thought of as somewhere were one can store values ===== Integer ===== * A value that is any whole number, from negative infinity to positive infinity. ===== String ===== * A value that is a string of text ===== Float ===== * A value that is a [https://en.wikipedia.org/wiki/Floating-point_arithmetic floating point number], or a decimal. ===== Bool ===== * Short for Boolean. Simply stores a value as true or false. ===== Array ===== * Stores similar values as a list. ==== Logical Operators and Loops: ==== ===== For loop ===== * A form of loop that allows one to easily iterate through the contents of a array or or do things a certain amount of times. ===== While loop ===== * A form of loop that repeats a set of statements while a certain condition is met ===== Logical Operator ===== * In Lua, logical operators are not limited to boolean values, instead, they consider anything that is either false or nil as false, and anything else as true ===== Not ===== * A logical operator that takes in a singular value, and if it is equivalent to false, it will return true, and if it is equivalent to true, it will return false. '''<u>-WARNING. BECAUSE LUA LOGICAL OPERATORS ACCEPT NON-BOOLEAN VALUES, THEY (OTHER THAN NOT) BEHAVE SLIGHTLY DIFFERENTLY TO OTHER PROGRAMMING LANGUAGES, SO BE SURE TO READ WHAT'S AHEAD-</u>''' ===== Or ===== * A logical operator that takes in two values, and returns its '''<u>''first input''</u>''' when said input is equivalent to true, and its '''<u>''second input''</u>''' otherwise. ===== And ===== * A logical operator that takes in two values, and returns its '''''<u>first input</u>''''' if said input is equivalent to false, and its '''<u>''second input''</u>''' otherwise.
Summary:
Please note that all contributions to the From the Depths Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab