History of
lua
/
actor.lua
@master
git clone https://git.dumitru.net/nush/
-
Enemies can now open doors
Vlad Dumitru
9 years ago
-
Added 'stealth' skill
Vlad Dumitru
9 years ago
-
Fixed typo in actor.lua
Vlad Dumitru
9 years ago
-
Implement simple "chase" AI that moves towards player.
Ralph Versteegen
9 years ago
-
Compute sightMap at the start of an Actor's turn; add Actor.sightMapStale to track whether this is needed
Ralph Versteegen
9 years ago
-
Implement Dijkstra maps in C
Ralph Versteegen
9 years ago
-
started work on an examination screen
Vlad Dumitru
9 years ago
-
Start player with equipped gun and ammo; don't drop equip on death
Ralph Versteegen
9 years ago
-
Closing doors and shooting yourself were broken; slight code cleanup in UI:playerScreen()
Ralph Versteegen
9 years ago
-
List ammo type and amount you have in itemMenu, and show ammo on status bar (added Actor:ammoAmount())
Ralph Versteegen
9 years ago
-
When firing you were prompted for direction if out of ammo; add Actor:canFireWeapon()
Ralph Versteegen
9 years ago
-
Replace *:toString() with __tostring metamethod, and simplify all Log:write() calls by making use of this
Ralph Versteegen
9 years ago
-
Fix Actor:playerFires() returning false instead of 0
Ralph Versteegen
9 years ago
-
fixed Actor:pickDoor() not returning action points
Vlad Dumitru
9 years ago
-
implemented picking up multiple items
Vlad Dumitru
9 years ago
-
actions now consume different amounts of action points
Vlad Dumitru
9 years ago
-
started work on the action point system
Vlad Dumitru
9 years ago
-
added the option of picking locked doors
Vlad Dumitru
9 years ago
-
separated experience points in total and spendable; total experience points now act as player score
Vlad Dumitru
9 years ago
-
Actor:doAttack(): Combat messages for NPCs hitting player, NPCs hitting each other, unseen foes.
Ralph Versteegen
9 years ago
-
added skill point assignment dialog
Vlad Dumitru
9 years ago
-
implemented player information screen
Vlad Dumitru
9 years ago
-
implemented experience points
Vlad Dumitru
9 years ago
-
Add Actor.owner/:setOwner(). Actor:destroy() removes itself from its owner; fix another bug with ammo not destroyed correctly
Ralph Versteegen
9 years ago
-
weapons have different attack verbs
Vlad Dumitru
9 years ago
-
Add Util.tableEqual(), .tableSize(), .stringSplit(), .stringLastMatch(), and .fileExists() from a local function
Ralph Versteegen
9 years ago
-
shooting your own foot now consumes ammo
Vlad Dumitru
9 years ago
-
added highscore screen
Vlad Dumitru
9 years ago
-
picking up stackable items now tells the player both the quantity picked up and the inventory quantity
Vlad Dumitru
9 years ago
-
fixed an issue in which, on death, enemies would drop corpses twice
Vlad Dumitru
9 years ago