History of
lua
/
util.lua
@master
git clone https://git.dumitru.net/nush/
-
Switch to a list of default loot weights plus per-level overrides
Ralph Versteegen
9 years ago
-
Implement simple "chase" AI that moves towards player.
Ralph Versteegen
9 years ago
-
added HJKLYUBN for rapid movement in examine mode
Vlad Dumitru
9 years ago
-
Replace *:toString() with __tostring metamethod, and simplify all Log:write() calls by making use of this
Ralph Versteegen
9 years ago
-
Allow exiting skillPointsScreen with any other key
Ralph Versteegen
9 years ago
-
Add Util.tableEqual(), .tableSize(), .stringSplit(), .stringLastMatch(), and .fileExists() from a local function
Ralph Versteegen
9 years ago
-
Add Util.makeStrict() which disallows accessing non-existent fields of a table (for enums)
Ralph Versteegen
9 years ago
-
Add Actor.inventorySlots: a list of all valid slots, and Util.tableFind()
Ralph Versteegen
9 years ago
-
Add / or HJKLYUBN to move in a straight line
Ralph Versteegen
9 years ago
-
Add Util.dirToInt, .intToDir, .clockwise(), .anticlockwise()
Ralph Versteegen
9 years ago
-
A few misc fixes
Ralph Versteegen
9 years ago
-
refactored locked doors
Vlad Dumitru
9 years ago
-
Add a help file, viewable with '?', and a test screen for various display stuff, F3
Ralph Versteegen
9 years ago
-
started work on a BSP-based map generator
Vlad Dumitru
9 years ago
-
UI:directionFromKey() and :promptDirection now return 3 values instead of a table; also add UI:xyFromDirection()
Ralph Versteegen
9 years ago
-
Move dumpGlobals to Util
Ralph Versteegen
9 years ago
-
Fix item def inheritance
Ralph Versteegen
9 years ago
-
fixed inheritance (I hope)
Vlad Dumitru
9 years ago
-
(Does not run) Start on itemdefs.lua.
Ralph Versteegen
9 years ago
-
Replace Game.log with Log. Allows writing to log in module-level code
Ralph Versteegen
9 years ago
-
Add new Util module, w/ Util.seqRemove() to remove an item from a sequence
Ralph Versteegen
9 years ago