Lua Hacker Demo
A downloadable game
CONTROLS
Press [1-4] to put held item in slot
Will swap if holding + slot contains an item
E: Pickup item | Puts nearby item into hand.
- Will swap if already holding an item.
F: Focus computer | Interacts with nearby computer
- Will focus terminals, allowing you to see screens
- Will also allow input events (key_up/key_down)
Q: Drop item | Drops item at your feet.
R: Use machine | Will send a "use" event to computers
- Useful for doors
- Can be pressed to "use" held items on computers.
G: Hack nearby machine | Will open the code editor
- Allows you to write code for machines.
- See 'Writing Scripts'
Esc: Pause/Exit UI | Used to leave the terminals right now and unpause.
INFO
There is currently no major documentation.
Most features are used in existing scripts/computers.
It is possible to hang the game very easily.
Inside of loops that might go on forever, use:
os.pullEvent([filter:String, Optional])
- Waits for event `filter` if supplied, otherwise returns varargs:
eventName, arg1, arg2, ... = os.pullEvent(filter)
-sleep(time: float)
- Will wait for `time` seconds and return back to the coroutine.
Updated | 6 days ago |
Published | 28 days ago |
Status | Prototype |
Author | CloudNinja |
Tags | fantasy-console, lua, Prototype |
Download
Click download now to get access to the following files:
Development log
- local function init()28 days ago
Leave a comment
Log in with itch.io to leave a comment.