Commit graph

190 commits

Author SHA1 Message Date
cora
96d697c5cd Split off pathfinding, use metatables 2022-11-27 14:53:16 +01:00
cora
e82c318f0c Split off breeding 2022-11-27 14:53:16 +01:00
cora
70834d0f5d make register functions use the . notation 2022-11-27 14:53:16 +01:00
cora
a28f667b20 Villagers only summon golems when monsters are near 2022-11-17 02:26:51 +01:00
ancientmarinerdev
1a670bc41b Allow villagers to resettle and not run back to job and and old bed 2022-11-17 02:26:51 +01:00
cora
f66a241188 turn villagers to z villagers not normal zs 2022-11-15 22:20:04 +00:00
cora
80fb648447 Turn villagers to zombies half the time when killed by zombies 2022-11-15 22:20:04 +00:00
ancientmarinerdev
59808c5190 Fix race condition where many villagers are fighting for same job 2022-11-12 02:35:00 +01:00
ancientmarinerdev
3000a378f3 Villagers can claim any bed. Player can steal villager bed. Villager won't take player bed 2022-11-12 02:35:00 +01:00
ancientmarinerdev
814ad39c09 Villagers can now claim any type of bed. 2022-11-12 02:35:00 +01:00
anarquimico
ff3438f729 Add villager mason profession 2022-11-05 03:20:58 +01:00
cora
2c4a768685 Transform villager with on_lightning_strike 2022-11-05 01:16:27 +01:00
cora
32e4a122a1 Comment out stray debug lines 2022-11-05 01:14:54 +01:00
ancientmarinerdev
ad137304bc Fix bug where if it finds wrong door and can't plot route it hogs the pathing 2022-11-03 21:34:14 +00:00
ancientmarinerdev
ac45dec544 Villager should find the closest bed to claim 2022-11-03 21:34:14 +00:00
ancientmarinerdev
5866983bf5 Villager will try to take the job block closest to them 2022-11-03 21:34:14 +00:00
ancientmarinerdev
2f4622909e Right click shouldn't stop work and allow a reset of trades 2022-11-02 22:09:35 +01:00
ancientmarinerdev
5ff4ce7116 Less verbose logging 2022-11-02 22:09:35 +01:00
ancientmarinerdev
7f33287e18 Reset trade counter when unlocking trades 2022-11-02 22:09:35 +01:00
ancientmarinerdev
a01c3d1342 Pumkin price unreasonable and fix logging. 2022-11-02 22:09:35 +01:00
ancientmarinerdev
cabe299456 Villager fixes 2022-11-02 22:09:35 +01:00
ancientmarinerdev
bf491c35a1 Fix bug 2022-11-02 22:09:35 +01:00
ancientmarinerdev
04cac7156e Villagers gather at lunch time, reset trade when they get to work. 2022-11-02 22:09:35 +01:00
ancientmarinerdev
f8ee473383 Fix villager work times 2022-10-26 00:17:29 +01:00
ancientmarinerdev
eebea4a7a9 Clean up and add pathfinding constant 2022-10-26 00:11:55 +01:00
ancientmarinerdev
37e4dd5556 Villagers will now path through doors. Villagers don't stand around whne not working. 2022-10-26 00:11:55 +01:00
ancientmarinerdev
b9d58c2f79 Cows and villagers can go into attack state and become non-functional 2022-10-23 22:16:35 +01:00
ancientmarinerdev
ccf7b54481 Fix work times 2022-10-23 01:17:51 +01:00
ancientmarinerdev
e1b685429d Texture now changes when villager loses job. 2022-10-23 01:12:19 +01:00
ancientmarinerdev
a8b336381d Villagers - On die, clear job and bed. Get same job if already traded. Thunderstorms go to bed 2022-10-22 01:28:45 +01:00
ancientmarinerdev
d148e6d4ba Villagers - Work, sleep and wander. Check and claim beds etc. 2022-10-19 01:10:16 +01:00
cora
bb640b4f1c make villager item pickup use new api feature 2022-10-17 13:57:42 -06:00
epCode
22e6731261 various mob improvments 2022-10-15 11:25:26 -07:00
Herbert West
25d6375f66 Fixed issue #2769: Cartographer villager offering to trade one glass pane for an emerald 2022-10-12 23:46:34 -04:00
epCode
c72b1fb9db revert to Mr. Rar's models for fertile mobs. 2022-10-07 02:45:01 +00:00
epCode
1a6698abda Add api and following mobs as starers: cow, chicken, creeper, pig, sheep, skellys. spider, villager, villager_zombie, wolf 2022-10-07 02:45:01 +00:00
talamh
fb5fd6b2e9 Fix villager badges messing up non-64px textures 2022-10-06 00:20:20 +02:00
PrairieWind
d8e2255d76 Added egg textures to register_egg function/api 2022-10-03 11:52:22 -06:00
talamh
147b81bb4f Remove all spawn icons and replace with 2 greyscale images 2022-10-02 16:50:43 +01:00
Johannes Fritz
19c0851003 Add big head support to all babies 2022-09-29 12:03:50 -05:00
cora
93cccaa264 Allow spawning on water 2022-08-30 22:58:55 +02:00
cora
b067111e71 Add golem summoning for villagers 2022-08-30 22:01:18 +02:00
cora
3620db7c14 Add objectref to villager sound_play for pos sound 2022-08-13 00:47:46 +02:00
cora
54337e9854 never show nitwit trading formspec 2022-07-19 11:46:28 +02:00
cora
08a1ecd879 Don't take extra bread when feeding 2022-07-08 23:57:02 +02:00
cora
bcb76f7bd2 correctly lock job when traded 2022-07-08 23:57:02 +02:00
cora
8fe40fcd26 remove old debug line 2022-07-08 23:57:02 +02:00
cora
98c48dab8c abolish child labor 2022-07-08 23:57:02 +02:00
PrairieAstronomer
465d91036f Added Campfire to Fisherman Villager Trades 2022-07-08 02:37:20 +02:00
cora
31289f5686 villagers that haven't traded loose job on js gone 2022-07-05 23:47:30 +02:00