STRWarrior
165f68b8d9
Removed #include "../Root.h" since it isn't needed.
2013-11-10 21:59:38 +01:00
madmaxoft
dadae874f2
Small code-style fixes.
2013-11-10 21:55:32 +01:00
STRWarrior
2ccf9b2b32
Renamed variables in cWolf.
2013-11-10 21:24:36 +01:00
STRWarrior
e62858ec3d
Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.
...
You are able to dye the collar.
2013-11-10 20:12:30 +01:00
STRWarrior
4f11cd2f8a
The owner object isn't stored anymore. Instead we use the name of the player.
...
This means only players can now have a wolf, but it fixes the bug where when you log out the wolf isn't your wolf anymore.
2013-11-10 18:03:19 +01:00
STRWarrior
0980567912
Using cMonster::Tick instead of super::cMonster::Tick
2013-11-10 15:51:32 +01:00
STRWarrior
38f6fff3fb
Wolves can now be owned by an entity.
...
They only sit when right clicked by their owner.
They beg if the closest player has meat or bones in his hand.
They follow their owner.
They teleport to their owner if they are more then 30 blocks away.
They don't attack players if they are not angry anymore.
They don't move if they are sitting.
2013-11-10 15:16:43 +01:00
madmaxoft
34928378b8
Fixed loading allowed mobs in world.
2013-10-20 10:23:30 +02:00
Tiger Wang
5db6213f34
Initial Metadata Commit [SEE DESC]
...
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and
Horses have metadata
+ Base code on taming wolves, shearing sheep, and taming horses
+ Sheep and horses have different colours when spawned
2013-10-08 19:20:49 +01:00
madmaxoft@gmail.com
aebe130299
Reduced most mobs' constructors to oneliners by passing parameters to superclasses
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22 09:39:13 +00:00
luksor111@gmail.com
994b02f5af
Added sounds to levers and mobs
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 18:05:34 +00:00
madmaxoft@gmail.com
033af999ba
Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:21:20 +00:00
madmaxoft@gmail.com
16f44ab7de
Source files cleanup: Mobs-related files in a separate subfolder, renamed.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 20:53:08 +00:00