there's a minecraft mod called litematica that allows you to export things you've built in the game to share with others.
i've been working on a project that allows you to import these litematica schematics into vintage story. it's still at a very early stage, but i've got the basic concept working 
Litematica - Minecraft Mod
A client-side schematic mod with extra features for creative mode workModrinth
Lynnesbian
in reply to Lynnesbian • • •Sensitive content
Lynnesbian
in reply to Lynnesbian • • •Sensitive content
Lynnesbian
in reply to Lynnesbian • • •Sensitive content
i had the most irritating bug.
when i imported minecraft builds with ladders in them, the ladders would all be backwards (facing the wrong wall). whenever i fixed it, it would cause builds with stairs in them to import the stairs backwards. fixing backwards stairs would re-break ladders.
so the problem is: minecraft and vintage story disagree on what an "east-facing ladder" means, but they do agree on what "east-facing stairs" are. so i have to explicitly flip ladders around in the code.
there's nothing wrong with either game's interpretation of "x-facing ladder", but it's annoying that they disagree.
Lynnesbian
in reply to Lynnesbian • • •Sensitive content
in vintage story, torches are blocks* that can be floor- or wall-mounted. they last for 48 hours. they store how many hours they have left, and also the last time the game checked how long they've got remaining. the time remaining is stored in fractions of a day, which i'm sure my french followers are happy to hear.
unfortunately, if you create a build with torches in it, export it, fast forward time more than 48 hours, then import that build, the torches will instantly be extinguished.
meanwhile, in minecraft, torch blocks* last forever.
i don't know if this will work, but i'm gonna try exporting minecraft torches as having 999 billion hours remaining.
*almost everything in both games is "a block", regardless of whether or not it's block shaped
time of day in decimal units
Contributors to Wikimedia projects (Wikimedia Foundation, Inc.)Lynnesbian
in reply to Lynnesbian • • •Sensitive content
Lynnesbian
in reply to Lynnesbian • • •Sensitive content
i haven't played minecraft in a really long time, so i'm learning all sorts of new things.
you can put cobblestone in a furnace to get stone. everyone knows this. i got into the habit of calling stone "cooked stone" because of this.
it turns out you can now put stone in a furnace to make smooth stone. they have added cooked cooked stone.
deep fried stone? baked stone? sous vided stone?
Smooth Stone β Minecraft Wiki
Minecraft WikiLynnesbian
in reply to Lynnesbian • • •Sensitive content
ladies, gentlemen, and those who know better... i present: the vintage story schematic converter webapp! π
vintage-schematics-ebbbbb.gitlβ¦
i've never used webassembly before, so excuse the jank. and also excuse the design.
you can also download a desktop app for linux and windows: vintage-schematics-ebbbbb.gitlβ¦
vintage-schematics webapp
vintage-schematics-ebbbbb.gitlab.ioLynnesbian
in reply to Lynnesbian • • •Sensitive content
i've made a huge amount of progress on this project.
here's what an imported huge mushroom looked like two weeks ago, compared to what an imported village looks like now.
Huge Mushroom β Minecraft Wiki
Minecraft WikiLynnesbian
in reply to Lynnesbian • • •Sensitive content
i just added support for a new format π
you can now import schematics in the vanilla MC structure file format. this means you can import the individual procedurally generated chunks that make up structures like villages and woodland mansions.
funnily enough, i wasn't even meaning to add this. i noticed litematica can export to a format called "vanilla", and i assumed they meant some sort of built-in schematic format (like how VS has
/we export blah.jsonbuilt in to the game). i implemented the format (in under 40 minutes π) without even knowing what it was.Structure file β Minecraft Wiki
Minecraft WikiLynnesbian
in reply to Lynnesbian • • •Sensitive content
in case anyone had any doubt that i know nothing about modern web development:
i found that the webapp was loading the entire webassembly bundle twice. because i included it in two "entry points", the bundler was generating two copies of it.
the wasm bundle is 1.4MB.
i fixed it (which took me nearly an hour), and also replaced the
regexcrate withregex-lite. now it only loads the bundle once, and it's only 430KB!Lynnesbian
in reply to Lynnesbian • • •Sensitive content
i've added schematic file support! π
i don't know how many people will want to import files using this ancient format, but why not
figuring out the pre-"flattening" data format has been a type 3 fun challenge
Schematic file format β Minecraft Wiki
Minecraft Wiki