map events or whatever
This commit is contained in:
parent
b0e718f879
commit
856b518593
28 changed files with 185 additions and 29 deletions
|
@ -137,6 +137,8 @@ function st_moving() {
|
|||
if hitting.contents[i].alignment != alignment ^^ !data.str.val {
|
||||
c_moveunit(id, c_gettile(pos.x, pos.y));
|
||||
c_generatecombatstack([id, hitting.contents[i]]);
|
||||
waiting = true;
|
||||
c_deselectunit(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -147,7 +149,7 @@ function st_moving() {
|
|||
c_moveunit(id, c_gettile(returnpos.x, returnpos.y));
|
||||
c_deselectunit(id);
|
||||
}
|
||||
if dir == DIR.NONE && select && stop && ARTICULATOR.hoveredunit == id{
|
||||
if dir == DIR.NONE && select && stop {
|
||||
c_moveunit(id, c_gettile(x, y, true));
|
||||
waiting = true;
|
||||
c_deselectunit(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue