mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
feat: animals use the actions they have art for in any room
A land animal underwater is shown the land actions (sit, sleep, hop, dance, play) and an ocean animal on land the ocean ones; animals of land and ocean both get a "Swim moves" / "Land moves" button above the actions window to swap sets. gui.ActionManager joins swf-src. The other set's dance and play go by names of their own (:danceLand:, :danceSwim:, :playLand:, :playSwim:), and AvatarWorldView plays each action from the set the animal has art for.
This commit is contained in:
1 parent
cf729d52dc
commit
b813d89cfa
4 files changed
+649
-3
No files matched your search
@@ -536,7 +536,7 @@ package avatar
|
||||
}
|
||||
else
|
||||
{
|
||||
_loc5_ = _actionMgr.matchActionString(_loc3_);
|
||||
_loc5_ = _actionMgr.matchActionString(_loc3_,true);
|
||||
if(_loc5_)
|
||||
{
|
||||
sendAvatarAction(_loc5_);
|
||||
|
||||
Reference in new issue
Block a user