52 Commits

Author SHA1 Message Date
Mikko Tuumanen
819f24a622 Fix a crash when placing a pile with dirt in it 2023-11-04 22:29:31 +02:00
Mikko Tuumanen
6e6d44c3a2 Fix a crash when there is dirt in a pile and the pile is digged 2023-11-04 22:26:50 +02:00
Mikko Tuumanen
ccf360da35 Adding from player inventory to colored table
When adding card from player to table, add on a pointed color
2023-11-04 21:34:14 +02:00
Mikko Tuumanen
162d70389d Form button size fixes 2023-11-04 21:13:16 +02:00
Mikko Tuumanen
afcfc423e9 Fix dealing from stockpile to single color table
Was broken by adding drop down color menu for multi colored tables
2023-11-04 20:53:23 +02:00
Mikko Tuumanen
cbc1b9470a Stockpile improvements
Fix darkening stockpile when last card is dealt to table from table color
drop down menu.

Adding card from player inventory to stockpile: One slot of player craft
list is shown on stockpile invnetory view. Above it there is a button for
placing card from craft list to top of the stockpile.
2023-11-04 20:38:05 +02:00
Mikko Tuumanen
ec8a764ea2 Dealing on specific color seems to work 2023-10-29 19:37:11 +02:00
Mikko Tuumanen
f761343c19 Add gray table texture 2023-10-29 00:09:44 +03:00
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
d62e625208 Add pngs to git 2020-06-23 17:19:22 +03: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
1876062f54 Add some textures 2020-06-09 23:57:54 +03:00
Mikko Tuumanen
4a02451b2f add deck_white.xcf 2020-06-09 23:55:24 +03:00
Mikko Tuumanen
d3a569e453 Add gitignore
Add xcf2png
2020-06-09 23:52:48 +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
9fef5a0918 Smaller club 2020-06-09 19:37:16 +03:00
Mikko Tuumanen
ecd8f7c746 Add textures 2020-06-09 19:13:39 +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