Commit Graph

266 Commits

Author SHA1 Message Date
Wuzzy
d23c3d0ce2 Chess: Fix check detection not working 2023-07-12 08:29:26 +02:00
Wuzzy
4b7da45045 Chess: Let player select pawn promotion 2023-07-12 01:27:55 +02:00
Wuzzy
077b7d66b8 Chess: Fix AI moving king into attacked squares 2023-07-11 17:59:06 +02:00
Wuzzy
d834d41c41 Chess: Add support for more game results 2023-07-11 17:30:52 +02:00
Wuzzy
44f75850dc Chess: Fix game-breaking inventory handling bugs 2023-07-11 15:39:41 +02:00
Wuzzy
5f9601300c Chess: Return empty table if no possible moves 2023-07-11 13:47:25 +02:00
Wuzzy
528eafb669 Chess: Remove comments about incorrect Chess rules 2023-07-11 13:40:50 +02:00
Wuzzy
4ced765ee6 Chess: Fix Black allowed to move first 2023-07-11 12:03:21 +02:00
Wuzzy
ed3bd0e71c Chess: Prevent castling over attacked squares 2023-07-11 11:53:32 +02:00
Wuzzy
578dea473a More readable Chess notation 2023-07-11 11:08:43 +02:00
Wuzzy
1919a2e7f8 Chess: Refactor eaten and moves lists 2023-07-11 10:50:06 +02:00
Wuzzy
1ed59efc4d Enable Chess games for dev purposes 2023-07-11 09:21:58 +02:00
Wuzzy
694255cff8 Update Chess formspec in multiplayer 2023-07-11 09:21:39 +02:00
Wuzzy
47be3f6e20 Chess: Implement 'en passant' captures 2023-07-11 09:16:13 +02:00
Wuzzy
707bf1fd26 Chess: Set name of AI player immediately 2023-07-11 07:22:56 +02:00
Wuzzy
a5866b2e42 Chess: Show arrow to current player 2023-07-11 07:01:58 +02:00
Wuzzy
84cbf5bf7b Chess: Fix eaten_img not resetting on new game 2023-07-11 00:10:07 +02:00
Wuzzy
0b8a98ae93 Chess: Switch to algebraic notation (partial) 2023-07-10 23:09:16 +02:00
Wuzzy
762d4e7449 Rope: Replace on_punch with after_dig_node 2023-07-10 20:34:50 +02:00
Wuzzy
0f31e75cdd Add placement prediction for rope 2023-07-10 20:27:03 +02:00
Wuzzy
5c1165ea54 Rope no longer extends infinitely in Creative Mode 2023-07-10 20:24:51 +02:00
Wuzzy
6f47d7fc8d Add support for tt mod 2023-07-10 19:52:38 +02:00
Wuzzy
5164d153c1 Disable Chess games again 2023-07-10 18:37:23 +02:00
Wuzzy
8a80b7cb98 Merge pull request 'Hacky patch to make chess mostly work' (#8) from appgurueu/xdecor-libre:master into master
Reviewed-on: https://codeberg.org/Wuzzy/xdecor-libre/pulls/8
2023-07-10 16:36:08 +00:00
Niklp09
02a5ec8bb0 add UI craft type for xdecor:honey 2023-07-07 22:05:25 +02:00
Wuzzy
78c441528a Add dirt for rusty iron bar recipe 2023-07-06 00:54:30 +02:00
Wuzzy
99fcea1af9 Remove flora group from ivy
flora is used for the flower spread ABM
2023-07-03 16:38:16 +02:00
Wuzzy
adc630b730 Updated packed_ice groups to be like MTG 2023-07-03 16:32:50 +02:00
Wuzzy
9ba677caab Refactor mailbox code a little 2023-07-03 16:18:52 +02:00
Wuzzy
919fc6c5ab Add listring to mailbox giving 2023-07-03 16:15:07 +02:00
Wuzzy
30f1e71a90 Make mailbox donor box line up with inventory size 2023-07-03 16:06:24 +02:00
Wuzzy
c010f33465 Fix double lantern sound if placing 2023-07-03 16:00:49 +02:00
Niklp09
c07e1c2b15 fix node name 2023-07-03 15:02:06 +02:00
Wuzzy
6f7f3a4ba8 Fix hive formspec trigger not shooting if needed 2023-07-02 01:53:45 +02:00
Lars Mueller
5a749a3bc4 Hacky patch to make chess mostly work 2023-07-02 01:36:38 +02:00
Wuzzy
43f2834b47 Fix 2 broken fuel recipes 2023-07-02 01:27:42 +02:00
Wuzzy
c0d9d66825 Make cauldron infotexts more helpful 2023-07-01 19:14:48 +02:00
Wuzzy
219c6481bd Cauldrons now only accept fire as heat source 2023-07-01 18:42:04 +02:00
Wuzzy
52cb5b5afc Add cauldron with cold soup 2023-07-01 18:28:20 +02:00
Wuzzy
ec1e86e1ed Cobwebs are no longer liquids 2023-07-01 17:53:37 +02:00
Wuzzy
96f08824d4 Also clear chessboard inventories 2023-07-01 16:29:39 +02:00
Wuzzy
1be4aa3c69 Disable playable Chess games 2023-07-01 16:23:50 +02:00
Wuzzy
4fa3e5e6dc Improve side texture of rusty bar 2023-07-01 10:30:45 +02:00
Wuzzy
e37a327252 Add on_blast handlers 2023-07-01 09:35:43 +02:00
Wuzzy
ed78696a54 Fix missing inner/outer stair translation 2023-06-30 20:54:54 +02:00
Wuzzy
d76b478b9f Fix cut woodframe glass if workbench is off 2023-06-30 20:40:17 +02:00
Wuzzy
30c2e72849 Merge branch 'fuel' into bugfix_mania 2023-06-30 20:00:14 +02:00
Wuzzy
aba1624182 Merge branch 'better_glass_stair_textures' into bugfix_mania 2023-06-30 20:00:09 +02:00
Wuzzy
6675b19a0f Change some confusing/inconvenient recipes 2023-06-30 19:57:41 +02:00
Wuzzy
381e21b53d Rename some nodes to more logical names 2023-06-30 19:37:26 +02:00
Wuzzy
5599842005 Add wood frame side texture 2023-06-30 19:14:20 +02:00
Wuzzy
1d1dd915b7 Add fuel recipes 2023-06-30 19:00:59 +02:00
Wuzzy
376cdb015b Categorize doors as nodes in Creative 2023-06-30 18:55:44 +02:00
Wuzzy
b92a7e16b4 Fix typo: Baricade → Barricade 2023-06-30 18:49:28 +02:00
Wuzzy
43e028a425 Improve textures of cut [obsidian] glass 2023-06-30 18:37:21 +02:00
Wuzzy
5ae4204772 Improve cut woodframed glass textures 2023-06-30 18:10:12 +02:00
Wuzzy
4082115ae3 Make honey and cushion block visible in Creative 2023-06-30 15:25:18 +02:00
Wuzzy
7cfac351a6 Add missing rope sounds 2023-06-30 15:21:06 +02:00
Wuzzy
911cbafd46 Cleanup rope behavior in Creative Mode 2023-06-30 15:14:20 +02:00
Wuzzy
21d10bc945 Report protection violation w/ rope 2023-06-30 15:04:05 +02:00
Wuzzy
93e5c3c19d Fix rope, painting, lantern incompat w/ itemframe 2023-06-30 15:02:58 +02:00
Wuzzy
b490e31075 Add itemframe offset 2023-06-30 14:50:46 +02:00
Wuzzy
fa7d042169 Make itemframe entity non-pointable 2023-06-30 14:25:07 +02:00
Wuzzy
bfc0637c82 Add proper short_description to enchanted tools 2023-06-30 14:17:51 +02:00
Wuzzy
b4b04c4330 Use minetest.is_creative_enabled 2023-06-30 14:07:23 +02:00
Wuzzy
aa1bf87abe Don't play painting place sound if place failed 2023-06-30 14:05:31 +02:00
Wuzzy
27e623d5cf Show short item desc in itemframe, not itemstring 2023-06-30 14:05:14 +02:00
Wuzzy
e419652846 Fix missing cauldron infotext + soup sound 2023-06-30 13:42:48 +02:00
Wuzzy
c165353480 Restart boiling sound on rejoining 2023-06-30 13:33:11 +02:00
Wuzzy
05544ae293 Fix boiling cauldrons not reliably cooling down 2023-06-30 13:24:58 +02:00
Wuzzy
506629127f Add river water support for cauldrons 2023-06-30 13:16:57 +02:00
Wuzzy
089695aa9f Don't pollute curtain itemmeta for better stacking 2023-06-30 11:24:26 +02:00
Wuzzy
75594bc06f Fix awkward lantern rotation, better attach rules
Lanterns now only attach to the top or ceiling but no longer the sides
2023-06-30 11:09:03 +02:00
Wuzzy
c6309e254e Fix mossy permafrost stair buggy texture 2023-06-30 10:27:57 +02:00
Wuzzy
f32beb38e6 Play 'place' sound when placing painting 2023-06-30 10:16:19 +02:00
Wuzzy
b03158bde6 Fix enchanting buttons overlapping with background 2023-06-30 09:36:51 +02:00
Wuzzy
8be37eed34 Set pointable=false for book entity 2023-06-30 09:14:47 +02:00
Wuzzy
19b6483eaf Rename "Empty Shelf" to "Plain Shelf" 2023-06-30 09:00:40 +02:00
Wuzzy
ec3369763f Use multiplication sign in mailbox donor list 2023-06-30 08:47:41 +02:00
Wuzzy
a364b74045 Make cut nodes translatable ... somewhat 2023-06-30 08:35:39 +02:00
Wuzzy
22df1519a0 Define sounds for nodes that lacked sound defs 2023-06-30 01:42:50 +02:00
Wuzzy
bfc07a425f Add more beehive status messages 2023-06-30 00:45:36 +02:00
Wuzzy
443f748df8 Fix prison door recipe collide with steel bar door 2023-06-29 23:55:34 +02:00
Wuzzy
3a378d7baf Make radio and speaker translatable 2023-06-29 23:48:30 +02:00
Wuzzy
499ebd86e5 Change packed ice recipe to end Ethereal collision 2023-06-29 23:43:42 +02:00
Jean-Patrick Guerrero
8b614b3513 Do not set server-side setting from mod 2022-09-20 23:45:00 +02:00
fluxionary
4305841cf2
Fix duplicated book entities on the enchanting table (#155)
Because of a race condition, the check for whether to regenerate a book entity can happen while the entity is unloaded, resulting in multiple entities per enchanting server.
2022-07-27 20:51:21 +02:00
SmallJoker
3b5b3f0c11 Fix texture alpha deprecation warnings 2022-02-26 12:03:20 +01:00
nixnoxus
a4c18c984b
Add missing cauldron descriptions and translations (#151) 2021-12-21 19:46:23 +01:00
Jordan Irwin
0dbf92e789
Add xdecor:is_repairable method for mods (#147)
to check whether items are repairable with the workbench
2021-07-13 20:49:59 +02:00
Jordan Irwin
3103d426d2
Add method to register items as repairable (#145) 2021-07-07 18:28:25 +02:00
hlqkj
8acc028481 Removed deprecated settings API 2021-03-03 00:23:49 +01:00
Jean-Patrick Guerrero
ad32890bb2 Fix selection box 2021-03-01 00:04:12 +01:00
Jean-Patrick Guerrero
98816ffce1 Add more nodes 2021-02-28 22:16:32 +01:00
Jean-Patrick Guerrero
b3fc6daf71 Basic maintainance + fix bugs 2021-02-28 21:02:06 +01:00
rusty-snake
259420dcf5
enchanting.lua: Allow to pay with industrial mese (#132) 2020-09-17 19:27:45 +02:00
Louis Royer
64dcec0c74
Add translation support, requires 5.0.0+ (#131)
Add translation for all parts of the mod
Add french translation

Requires Minetest 5.0.0 or newer.
2020-09-09 17:05:44 +02:00
Louis Royer
e26e4fde05 Update cobweb craft to use farming:string (#130)
Add `farming` to depends, since it was missing
2020-09-05 18:57:53 +02:00
Elias Fleckenstein
841a033983
Add nil check in doors_toggle (#126)
Add nil check to prevent errors xdecor caused in combination with pkarcs_doors.
2020-08-26 10:13:25 +02:00
adrido
5b0b4f3b56
Fix "xpanes_space.png" texture not found (#125) 2020-07-26 11:25:56 +02:00
Damian Hofmann
16adad0cd7 Chess: Fix queen-side castling
When castling queen side, the king moves two squares to the left,
not three as this implementation used previously.

This resolves issue #120.
2020-06-24 18:31:30 +02:00
Damian Hofmann
d868488633 Chess: Fix short-castling for black
In the code for black short-castling, the presence of rook_black_2 was checked on the wrong field (1 instead of 8), which prevents black from short-castling. (This was probably overlooked when copying the logic from the long-castling check directly above.)
2020-06-24 18:31:30 +02:00
Niwla23
b8aaf37fc2 Display itemstring in itemframes (#116)
Itemframe patch
2019-10-12 13:23:04 +02:00
Panquesito7
4ebdf89fcb Replace "getpos" with "get_pos" 2019-08-25 14:57:15 +02:00
flux
1e177c009e remove protection checks and logging 2019-08-20 00:14:10 +02:00
flux
a15ce62b20 remove unnecessary privilege checks 2019-08-20 00:14:10 +02:00
flux
15b0e749fd fix workbench inv movement bug; add protection checking 2019-08-20 00:14:10 +02:00
Jean-Patrick Guerrero
61d9da63fa Global code style cleaning 2019-07-23 14:03:20 +02:00
y
f0860cb598 Stairs fix 2019-07-23 12:10:21 +02:00
James Stevenson
2e61cc4578 Use stairs mod inner/outer nodes. 2019-07-16 11:47:16 +02:00
CloudyProton
238d0030f4 Request: Change painting recipe to use dye group
Request: Change painting craft recipe to use dye group instead of specifically blue dye.
2019-07-16 11:46:44 +02:00
y
52db2cc97a allow farming bowl to be used on the cauldron to get soup 2019-07-16 11:46:18 +02:00
y
bedcc4d4e4 prevent crash after king is taken 2019-07-16 11:45:49 +02:00
Vanessa Dannenberg
f78fce959c Alias empty shelf if moreblocks is enabled (#108) 2019-07-10 20:27:30 +02:00
benrob0329
8020eb1863 Add mesecons support to doors (#106)
(if available)
2019-06-09 20:50:10 +02:00
Jean-Patrick Guerrero
ee7a28176b Merge branch 'chess_ai' 2019-03-10 23:52:05 +01:00
Jean-Patrick Guerrero
63794662ee Add a singleplayer mode to the chess 2019-03-10 23:50:16 +01:00
SmallJoker
5dfbf7c6e7 Final door toggle crash fix 2018-09-18 01:41:39 +02:00
Hector Kio
79f97a1569 Add listring to move honey to inventory
Allows using shift+click to transfer honey to player inventory.
2018-09-17 02:30:47 +02:00
Jean-Patrick Guerrero
b5bbb1be2e Implement a chess AI 2018-09-05 16:52:03 +02:00
Jean-Patrick Guerrero
3c1423a462 Chess cleanup 2018-08-25 14:36:23 +02:00
Jean-Patrick Guerrero
ed931905be Fix checkmate logic 2018-08-25 12:55:03 +02:00
Jean-Patrick Guerrero
70277d4216 Chess cleanup 2018-08-25 11:40:30 +02:00
Jean-Patrick Guerrero
5e4704ad2a Chess: Add checkmate system 2018-08-24 22:08:19 +02:00
Jean-Patrick Guerrero
9df5d94fcb New chessboard interface 2018-08-15 14:20:08 +02:00
Jat15
4d921123ed Fix echnating for sword and delete data for armor 2018-07-23 15:51:11 +02:00
SmallJoker
e36839e178 Fix passing invalid player object (#94) 2018-07-23 15:50:39 +02:00
JP Guerrero
9b5bdc1b1a Workbench: Fix special case of unknown items output (#90) 2018-04-17 13:17:56 +02:00
JP Guerrero
a8000f99fd Fix missing comma 2018-03-24 10:27:13 +01:00
tenplus1
8cd1f62211 add food_ group to honey
added {food_honey=1, food_sugar=1} groups to honey.
2018-03-22 12:11:31 +01:00
tenplus1
0afb011a4a add food_ group to bowl
added {food_bowl=1} group to bowl so it asheres to ruben's food crafting standards.
2018-03-22 12:11:31 +01:00
JP Guerrero
271cf6b437 Use hardware coloring on curtains 2018-03-08 23:50:36 +01:00
JP Guerrero
f851aadae3 Tweaks to enchantment table + particles 2018-03-08 23:22:55 +01:00
JP Guerrero
6c7a75ede3 Fix a few issues with itemframe #85 2018-03-08 21:32:50 +01:00
JP Guerrero
3c46a5ddb7 White pawn fix 2018-03-08 21:21:20 +01:00
JP Guerrero
a45c1c915a Fix style issues with previous commit 2018-03-08 21:12:21 +01:00
Jat15
271d5b1147 Add settings and compatibility with moreblocks and stairs
If workbench disabling.
And setting for disabling:
- Chess
- Cooking
- Enchanting
- Hive
- Itemframe
- Mailbox
- Mechanisms
- Rope
- Workbench
By default all active.
2018-03-08 20:51:46 +01:00
Auke Kok
6b71509f98 Fix #86 - crash in workbench: attempt to concatenate a nil value
Caused by a keystroke used in the formspec - this causes all
these fields not to be set, and the subsequent crash.
2017-11-09 21:50:29 -08:00
JPG
885d6398fd Remove remaining 3d_armor's support code 2017-10-09 21:52:20 +02:00
JPG
ef03216808 Make packed ice slippery 2017-10-09 21:50:57 +02:00
JPG
85b023cfe7 Drop support for 3d_armor's enchanted stuff 2017-10-09 21:40:33 +02:00
tjnenrtn
aedf203440 Verify mailbox ownership when player takes inventory items 2017-04-08 23:47:59 -04:00
DS-Minetest
85a6334607 add more listrings 2017-03-04 16:59:33 +01:00
Auke Kok
7675d495c4 Only Pickaxe is repairable.
Luacheck points out that:

```
Checking src/workbench.lua                        1 warning
    src/workbench.lua:74:2: loop is executed at most once
```

And this is correct, only the pickaxe is actually currently
repairable.

Returned the code to the previous (working) fashion.
2017-02-07 20:07:51 -08:00
JPG
16ea4a7385 Style cleaning 2017-01-28 16:24:35 +01:00
kilbith
4e9af95454 Make shelves visually consistent with MTG's shelves 2017-01-28 15:24:26 +01:00
JPG
6573113607 Polish previous fix 2017-01-25 00:45:23 +01:00
JPG
243ee5348a Fix #74 2017-01-24 17:36:30 +01:00
JPG
a168d16d18 Minor cleanup 2017-01-24 04:10:30 +01:00
JPG
627b80b470 Cooking: Regain health/satiation the right way 2017-01-20 01:59:54 +01:00