38 Commits

Author SHA1 Message Date
Mikko Tuumanen
537a198ef4 Dealing cards on selected table color
Turn "Deal to table" button to drop down menu of colors if
table has multiple colors.
2023-10-29 00:07:29 +03:00
Mikko Tuumanen
5295e23e74 Colored cardtable works 2023-10-28 21:22:08 +03:00
Mikko Tuumanen
7929e019d9 Start to add colored table pieces 2023-10-27 23:26:01 +03:00
Mikko Tuumanen
3946a82f73 Typo fix 2023-10-14 23:02:05 +03:00
Mikko Tuumanen
1cf388ac31 Add setting to enable debug messages. 2023-02-11 12:43:59 +02:00
Mikko Tuumanen
33de5c3153 Add button to deal card from stockpile to table 2022-01-06 14:39:19 +02:00
Mikko Tuumanen
d56b580880 Add button to sort cards in a chestpile. 2020-06-23 16:44:55 +03:00
Mikko Tuumanen
ee6760d273 Add button to deal cards from stockpile that is on a cardtable.
Cards are dealt on the current table on every cardtable block
that have exactly one adjacent cardtable block.
2020-06-20 17:54:06 +03:00
Mikko Tuumanen
152cf01257 Add buttons to play one or add cards from craft or main list to cardtable. 2020-06-20 16:27:14 +03:00
Mikko Tuumanen
8fa5ea3ae8 Add code comments, remove some useless lines 2020-06-20 15:31:27 +03:00
Mikko Tuumanen
f86e07ff33 Add buttons for taking all cards from cardtable to craft or main list of a player 2020-06-15 22:57:55 +03:00
Mikko Tuumanen
708c4a390d Add new node: cardtable, craftable from 2x2 any wood.
Cardtable TODOs:

- Easy way to add card from player and pile inventories to
a free place on a table without explicitly choosing the place on the table.

- Formspec to cardtable for various functions affecting all cards
on the table. For example: Take visible cards, take all cards.
2020-06-14 21:06:49 +03:00
Mikko Tuumanen
2d42f06d86 Make cards more readable in inventory 2020-06-14 19:21:30 +03:00
Mikko Tuumanen
c9f237f838 Add defragmenting card piles to make dropping cards on a pile
to work in all situations.
2020-06-10 20:43:17 +03:00
Mikko Tuumanen
72cbb4e96c Add button to place all players's cards to pile. 2020-06-10 17:28:45 +03:00
Mikko Tuumanen
3311fe4015 Remove useless lines 2020-06-09 23:59:40 +03:00
Mikko Tuumanen
ad9dbdcba6 Fix converting piles, add shuffle to stockpile 2020-06-09 23:40:38 +03:00
Mikko Tuumanen
68196657ee Add shuffling deck and converting chest pile to stockpile. 2020-06-09 22:50:53 +03:00
Mikko Tuumanen
42c4a4bb2c Change stockpile form size 2020-06-09 19:43:22 +03:00
Mikko Tuumanen
b0e53c6342 More coordinates and coloring. 2020-06-09 19:09:59 +03:00
Mikko Tuumanen
1118ae2f19 Set some coordinates 2020-06-09 17:58:06 +03:00
Mikko Tuumanen
4a6db5b3e2 Create card textures with colorize and combine. 2020-06-06 23:30:32 +03:00
Mikko Tuumanen
b4b889cf63 Resize player inventory, part1 2020-06-03 22:01:25 +03:00
Mikko Tuumanen
df3ff16d10 Fix digging and placing piles 2020-06-02 21:48:30 +03:00
Mikko Tuumanen
d07b53cdfc Allow crafting card deck from 2 pieces of paper 2020-06-02 21:26:03 +03:00
Mikko Tuumanen
4ced74b2b6 Fix digging pile, fix craft predict, start to add crafting deck of cards from paper 2020-06-02 21:02:48 +03:00
Mikko Tuumanen
7b09df22ec Fix texture file names again 2020-06-02 16:41:29 +03:00
Mikko Tuumanen
42e6b754cf fix darkening chestpile 2020-06-02 15:44:06 +03:00
Mikko Tuumanen
32592e3f55 Fix texture names, add darkening empty piles 2020-06-01 23:22:41 +03:00
Mikko Tuumanen
400ebd4a1d Fix digging empty card pile 2020-06-01 21:56:10 +03:00
Mikko Tuumanen
e5ea5ac736 Create 52 cards. 2020-06-01 21:47:46 +03:00
Mikko Tuumanen
b02e5ebcf3 A card can be crafted into a stockpile or chestpile 2020-05-17 14:59:16 +03:00
Mikko Tuumanen
2ec6037b6e Avoid dropping air to card pile, start to add crafting card to card
pile.
2020-05-15 20:55:49 +03:00
Mikko Tuumanen
0d68aeccd0 Add draw all button to piles. 2020-05-15 20:40:11 +03:00
Mikko Tuumanen
e9b4d253b6 Add picking up a deck. 2020-05-15 20:26:42 +03:00
Mikko Tuumanen
21f1fb3789 Add formspec to cards for turning them into pile of cards. 2020-05-09 23:33:51 +03:00
Mikko Tuumanen
f95a77182b Add digging a pile. 2020-05-09 21:41:18 +03:00
Mikko Tuumanen
2f2870a11b Something works. 2020-05-03 00:30:37 +03:00