User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
i added actually putting picked up items in your inventory but got sick and never posted it

i'm back at work now and have implemented dropping items from your inventory! which i think finishes up all the inventory management stuff

edit: accidentally broke my threading again. previous is here:
mastodon.gamedev.place/@eniko/115485522826016015

5
2
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
making more complex recipes that require a certain quantity of source or target items to craft, so i made it so the hint text tells you if you could craft an item but have insufficient materials

part of that whole "the game shows you how to play it so you don't gotta consult a wiki all the time" dealio

4
1
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
Thinking maybe the quantities should always be visible in the hint so you know how much it'll use up 🤔
3
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
added the crude carpentry table, block game's first proper crafting station, which will pave the way to many pieces of furniture and building blocks

i also added a sub-text line to the hint window and it now shows how many items will be crafted as well as how many items are required/will be consumed

9
3
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
added flint knife and cordage, which you get from using a knife on flamereeds

this means all the components for the crude carpentry table (rough wood, sticks, cordage) are in place and i can start working on that next

3
3
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
nothing to really show today. i replaced a bunch of spaghetti code for left click behaviors like breaking and placing blocks with modular behavior instances, which is needed for more complex interactions with the carpentry table

which doesn't screenshot particularly well

4
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
ok i've finally reworked all my block code so that i can have more complex blocks with data stored outside the standard block array, and i've fixed all the bugs that caused

so now i can finally get started on what i was actually supposed to be doing which is adding block entities so i can make the carpentry table usable

1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
added block entities and an item input component which can filter items. then i added a new click behavior that adds items into an item input, so now i can put rough wood, sticks, and cordage into the carpentry table

no screenshot because it doesn't visually show the inputs yet, that's a tomorrow task. you'll be able to see the wood, sticks, and cordage lying on the table after you add them by left clicking

2
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
it's basically like a crafting station menu in minecraft. you're still filling slots with items, but it's more organic/diegetic because it's not a menu, it all happens in the world
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
polished up the hint text for crafting stations to tell you what inputs they accept

doing these hint texts is a pain but i believe in the game teaching people how to play it instead of a wiki

3
1
1
0
User avatar
Nina Kalinina @nina_kali_nina@tech.lgbt
7mo
@eniko I like the hints but my mind is blank when I try to parse "The table accepts rough wood. Input rough wood". 🤔

I think my confusion stems from the cognitive dissonance between the verbs and the image of the table. What does "accept" mean? That makes me think of a machine, but what I see is a table. I can
put things on it IRL, and frankly speaking, can do that with things that do not belong there, but I feel like "input" and "accepting" require either intelligence or the table being some sort of machinery.

Which is fascinating to think about! A table that can talk to you! Accept things from you, reject things from you... A table that can get upset or be happy about things you do with it. A table you can look after, like an IRL carpentry table - don't neglect it, don't let the nails in it go rusty and the surface to go moldy (been there once, I'm sorry, my first IRL crafting table, I'm so sorry)
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
@nina_kali_nina unfortunately it's hard to create generic language that will hold up to a wide variety of different crafting stations and localization

so sometimes things are gonna sound a little clunky
3
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
7mo
@nina_kali_nina like i could use "use" instead of "accepts" and "add" instead of "input", but what does it mean for a carpentry table to "use" wood? and "add" feels clunky too
4
0
0
0
User avatar
sijmen @sijmen@shrimp.vijf.life
7mo
@eniko @nina_kali_nina I've given this some thought (got me mildly nerdsniped there), and I while I think "Accepts" is good enough and is easy to get used to, "Takes" works a little better: "Takes Rough Wood, Sticks, ..."
0
0
2
0