History of
lua
/
actor.lua
@master
git clone https://git.dumitru.net/nush/
-
missed hits are now logged
Vlad Dumitru
9 years ago
-
UI takes into account stackable object count.
Vlad Dumitru
9 years ago
-
Add Item:destroy() and fix picking up/dropping items/using up ammo, where Game.itemList was not updated
Ralph Versteegen
9 years ago
-
weapons now consume ammo; dropping items is now broken
Vlad Dumitru
9 years ago
-
added stackable items
Vlad Dumitru
9 years ago
-
melee attacks now check for weapon accuracy
Vlad Dumitru
9 years ago
-
weapons have different accuracy ratios
Vlad Dumitru
9 years ago
-
a few changes to make the game work with lua 5.1
Vlad Dumitru
9 years ago
-
Add a few weapon definitions; attacks now use the equipped weapon; display weapon in status line.
Ralph Versteegen
9 years ago
-
Add Actor.equipment, :unequip(), :equip(). UI:itemMenu() shows equip and unequip options as appropriate.
Ralph Versteegen
9 years ago
-
Rename Actor.inventorySlots to Actor.InventorySlots, as it's an enum
Ralph Versteegen
9 years ago
-
added actordefs.lua
Vlad Dumitru
9 years ago
-
enemies now leave corpses behind
Vlad Dumitru
9 years ago
-
quitting the game is now submitted to scores.txt
Vlad Dumitru
9 years ago
-
actors now have hitpoints
Vlad Dumitru
9 years ago
-
Add UI:itemMenu(), from which you can now drop items, plus UI:inventoryScreen() improvements
Ralph Versteegen
9 years ago
-
Add Actor.inventorySlots: a list of all valid slots, and Util.tableFind()
Ralph Versteegen
9 years ago
-
Locations of items on the map are now remembered
Ralph Versteegen
9 years ago
-
Standing on an opaque tile no long blocks entire FoV; also simplified code
Ralph Versteegen
9 years ago
-
List items on a tile when you step on it
Ralph Versteegen
9 years ago
-
Add Global.defaultColor. Decided not to change it from 'white' to 'normal' for now
Ralph Versteegen
9 years ago
-
Add / or HJKLYUBN to move in a straight line
Ralph Versteegen
9 years ago
-
Move Game:itemsAtTile() to Map, and reorder functions in map.lua to put useful functions together
Ralph Versteegen
9 years ago
-
A few misc fixes
Ralph Versteegen
9 years ago
-
( and ) keys no longer crash on moving to nonexistent level; also swapped them
Ralph Versteegen
9 years ago
-
refactored locked doors
Vlad Dumitru
9 years ago
-
shooting locked doors has a chance of breaking the lock
Vlad Dumitru
9 years ago
-
added locked doors; only red keycard-locked doors at the moment
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
-
added messages to debug keys
Vlad Dumitru
9 years ago