Commit graph

12 commits

Author SHA1 Message Date
Ranieri Althoff
fbe81aced9
Move Position methods to Lua (#4334)
* Move Position functions to Lua

* Cleanup unused Position functions

* Remove unused and confusing methods

* Add addition and subtraction

* Add __concat to Position metatable
2023-05-02 17:47:46 +02:00
Marco Oliveira
9473cc1628
Fix issue with position calculation in move function (#4323)
Co-authored-by: Taoprox <84152770+projectMWX@users.noreply.github.com>
2023-03-17 17:59:22 -03:00
Ramon Bernardo
4e1d996aac
Fix indentation and spacing on data folder (#4024) 2022-03-22 23:03:36 +00:00
Evil Puncker
3ce8892d31
Fixed summoning creature crash in debug mode (#3019) 2020-05-04 19:04:39 -04:00
Marcin
c614a3c61b
core: Notify monsters that summon appears (#2841) 2020-04-30 21:00:44 -04:00
Daniel Chabrowski
1697826d74 cleanup: fix formatting, double assignment, missing result.free (#2607) 2019-06-09 12:57:16 -04:00
Stefan A. Brannfjell
66e8f4eb89
Added isInRange function to Position metatable. (#2420)
* Added isInRange function to Position metatable.

* Update position.lua
2018-01-07 23:36:32 +01:00
Riverlance
416cfb7d27 Add Tile:isWalkable() (#2120)
* Add Position:isWalkable()
* Added position.lua changes
* Update position.lua
* Update position.lua
* Tile.isWalkable(self, check) has been improved
* Fixed spaces of Tile.isWalkable(self, check)
* Update tile.lua
* Use a callback instead of preset conditions
2017-12-17 21:25:46 +01:00
WibbenZ
a2ae9b0db3 Remove trailing spaces 2015-05-31 23:38:35 +02:00
dalkon
95b9cfbbae Closes #710 2015-04-03 23:35:31 +02:00
Mark Samman
4da1360db9 Update Lua scripts 2015-03-28 19:08:44 +01:00
Mark Samman
b7df8848df Create lib dir in data and move core + compat from global.lua 2015-03-15 10:57:51 +01:00