Commit graph

12512 commits

Author SHA1 Message Date
PrairieAstronomer
fec5650711 Removed dependancies 2022-05-14 16:01:14 -06:00
PrairieAstronomer
5abfa555eb Added new workstations to villager jobsite definitions 2022-05-14 15:52:37 -06:00
PrairieAstronomer
dead4069b0 Removed incorrect groups 2022-05-14 15:48:33 -06:00
PrairieAstronomer
4bc67a174b Loom 2022-05-14 15:34:08 -06:00
PrairieAstronomer
c71b036e6a Cartography Table 2022-05-14 15:24:44 -06:00
PrairieAstronomer
046698c64f Fletching Table 2022-05-14 15:14:50 -06:00
Nils Dagsson Moskopp
25b7b30945
Allow encoding grayscale images as BW8 2022-05-14 22:41:52 +02:00
Nils Dagsson Moskopp
9af0719df8
Allow encoding RGB images as B8G8R8 2022-05-14 21:56:42 +02:00
Nils Dagsson Moskopp
1b48c3f539
Use raw packets in RLE compression in tga_encoder 2022-05-14 21:52:08 +02:00
Nils Dagsson Moskopp
13552f16f2
Reduce TGA filesize by 25% by using 16-bit colors 2022-05-14 21:52:07 +02:00
Nils Dagsson Moskopp
4f6ea5d035
Add credits to README 2022-05-14 21:52:07 +02:00
Nils Dagsson Moskopp
c00b0d50c6
Add usage examples 2022-05-14 21:52:00 +02:00
Nils Dagsson Moskopp
adb8e45d67
Fix TGA file writing on Windows
Before this patch, the tga_encoder mod would write corrupted TGA files
on Windows: Bytes that looked like newlines were replaced by a carriage
return and a newline.
2022-05-14 20:21:59 +02:00
Nils Dagsson Moskopp
3f60b5baa6
Speed up TGA encoding by creating fewer strings 2022-05-14 20:21:58 +02:00
Nils Dagsson Moskopp
52e5c955f0
Use RLE compression in tga_encoder 2022-05-14 20:21:58 +02:00
Elias Fleckenstein
b88579b52e
Add updated tga_encoder 2022-05-14 20:21:58 +02:00
Elias Fleckenstein
eaa4dc99d7
Initial import 2022-05-14 20:21:52 +02:00
cora
e80eebd989 Merge pull request 'Update villager trades' (#2202) from villagers_update_2 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2202
2022-05-13 22:35:27 +00:00
cora
31b8ea26a2 add jobsites to professions table 2022-05-14 00:32:15 +02:00
cora
fd6f2be485 update cleric trades 2022-05-14 00:32:15 +02:00
cora
07e0a90051 update tool smith trades 2022-05-14 00:32:15 +02:00
cora
f073d4d420 update weapon smith trades 2022-05-14 00:32:15 +02:00
cora
89aaf6b709 update butcher trades 2022-05-14 00:32:15 +02:00
cora
f09b578034 update leatherworker trades 2022-05-14 00:32:15 +02:00
cora
0ce1a92282 update armorer trades 2022-05-14 00:32:15 +02:00
cora
135ee97b21 update cartographer trades 2022-05-14 00:32:15 +02:00
cora
51cf92a909 update librarian trades 2022-05-14 00:32:15 +02:00
cora
2d47ad3e5f update fletcher trades 2022-05-14 00:32:15 +02:00
cora
c28d700caf update fisherman trades 2022-05-14 00:32:15 +02:00
cora
ba861d7b74 update farmer trades 2022-05-14 00:32:15 +02:00
cora
9b8b7ce6b4 refactor go home logic 2022-05-14 00:32:15 +02:00
cora
046b3a4ce2 Merge pull request 'enable simple mcl_mobs/mobs redo villager breeding' (#2204) from villager_breeding into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2204
2022-05-13 22:31:15 +00:00
cora
354d17a14c enable simple villager breeding 2022-05-14 00:30:44 +02:00
cora
11265b60de Merge pull request 'Enable placing carpets on llamas and add textures for it' (#2201) from rudzik-llama-carpets into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2201
2022-05-13 22:07:34 +00:00
rudzik8
7f3ba7d4a2 Enable placing carpets on llamas and add textures for it 2022-05-13 22:00:09 +00:00
cora
88e87bccff Merge pull request 'playerplus: fix deprecated add_player_velocity calls' (#2200) from fix-deprecated-add-vel into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2200
2022-05-13 21:51:46 +00:00
cora
a1209b14a1 playerplus: fix deprc. add_player_velocity calls 2022-05-12 23:30:39 +00:00
cora
729159f631 Merge pull request 'Refactor compass code.' (#2197) from get-compass-image-fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2197
Reviewed-by: cora <cora@noreply.git.minetest.land>
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
2022-05-12 21:37:16 +00:00
kabou
baf8e0b79c Update item entity for lodestone compass.
* Added another special case to the item entity registration for
  lodestone compasses, without this a dropped lodestone compass would
  turn into a regular compass on being dropped.
* Update the compass and lodestone compass frame number to be the
  stereotype frame.
2022-05-12 21:08:52 +02:00
chmodsayshello
00dba67cd8 remove lodestone compass from creative inventory 2022-05-12 19:06:13 +02:00
kabou
872b708465 Remove unused variable.
* Removed unused variable `stack_max`.
2022-05-11 21:45:15 +02:00
kabou
74e70b674e Fix return value of get_compass_image().
* `get_compass_image()` did not actually return the image number.
2022-05-11 21:43:52 +02:00
kabou
14c882f982 Fix lodestone compass meta handling.
* The nature of a compass was being determined by looking at its meta.
  This caused lodestone compasses with unset meta to turn into regular
  compasses.  Fixed by using string matching on the itemname.
* Changed lodestone rightclick handler to explicitly set the correct
  name and frame of the compass used on it instead of waiting for
  globalstep to do this.
2022-05-11 21:31:50 +02:00
kabou
8ae605165b Fix lodestone compass stack_max.
* Lodestone compasses are stackable.
* Remove hardcoded `stack_max` setting, use default.
2022-05-11 17:53:41 +02:00
kabou
aca4aca79b Add German translation.
* Add "de" (German) translation by chmodsayshello.
2022-05-11 17:43:57 +02:00
kabou
bacc7613b5 Fix crash in mt 5.4 with vector ops.
* `vector.from_string()` is not available in mt pre-5.5.  Replace with
  `minetest.string_to_pos()`.
2022-05-11 17:41:10 +02:00
kabou
8a4b8707fa Add new compass API.
* Add API.md
* Update mcl_itemframes to use the new API.
* Revert old exported function back to original API.
2022-05-10 23:38:28 +02:00
kabou
a8c231da34 Refactor compass code.
* Split up `get_compass_image()` into smaller functions.  This allows
  for better code sharing between old and new API and globalstep fn.
* Add `get_compass_itemname()` function.  It will be the new API of
  choice, `get_compass_image() will be deprecated soon.
* Remove function declaration out of globalstep function.
* Various other performance improvements.
* Add local aliases for global functions
* Lodestone compasses can only stack 1 item.
* Document functions and variables.
* Fix lodetone compass inaccurately reusing compass descriptions.
* Add usage descriptions to node definitions
* Refactor craftitem registration code.
* Update translation templates.
2022-05-10 22:43:03 +02:00
cora
4d342b8365 Merge pull request 'Village(r)s update' (#2189) from villager_spawning into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2189
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-05-09 22:01:25 +00:00
cora
12a943e222 Make villagers homeless when bed is gone on return 2022-05-09 10:29:58 +00:00