Repository navigation
Releases
Releases · AlmostGalactic/FruktSharedLibrary
0.4.2
- Fixed: with no other mods installed, a mod's own terminal categories broke the game as soon as a map loaded (no terminal, empty toolbar, "NA" labels). The game checks every item's category while the map loads, before the library had added the new tabs. They now go in just before that check.
0.4.1
Inventory.AddCopyadds a copy of one of the game's own items (like the Human Spawner, called "Human" in the terminal) under a new name. It works just like the original, and the mod can tell when the player is holding it.
0.4.0
Everything from 0.3.1 to 0.3.9 in one update.
New:
Bullets.Launchflies the game's own bullets (9mm, 7.62 or a 12-gauge pellet), so a mod gun wounds people exactly like the game's guns do: through the body, out the other side, with blood and the same impact sound.Bullets.FireandPierceare still there for instant single wounds.Effects: explosions, muzzle flashes, fire, smoke, sparks and debris made of cubes, withExplosion,MuzzleFlash,Burst,Smoke,FlameandFlash. Cubes are made a few at a time ahead of need, so a big explosion doesn't stall the game.Tissue.Regrowgrows destroyed and damaged flesh back on a creature or a limb, out from what's left, over a few seconds. Limbs that came off stay off.Tissue.Dissolveeats flesh away, all of it or only some organs, such as the bones. Given a point, such as where something went in, it starts there and spreads out with an uneven edge.Inventory.AddCategoryadds your own tab to the terminal, after the game's own. File tools, guns and props under it by name;WithCategorymoves any mod item, props included, into another category. Mods that add the same category share it.- The terminal makes room for as many tabs as there are: tabs that don't fit in one column go into more columns, and the panel widens to fit them. A category can hold more than the game's 24 items, and long names shrink to fit the header. A tab without its own icon shows its first item's, scaled to fill the tab.
Damage.Apply(collider, wounds)makes several wounds on a part in one go, which is much cheaper than one call for each. Wound radii are capped at 16 voxels (Damage.MaxRadiusVoxels), since bigger ones could take a tenth of a second each.
Fixed:
Textures.Solidfills its texture one pixel at a time. Filling it from an array went through a copy in the interop that could crash the game a while later.- The game could crash when a body healed by
Tissue.Regrowwas deleted, if it had been shot. WorldLabelscould stop working with anInvalidCastExceptionafter a label was shown for a while.Effects.Explosionsmoke was nearly black and far too big up close.
0.3.9
- A category tab that shows its first item's icon scales the picture to fill the tab and centres it, like the game's own tab icons. Before, item pictures were drawn small, with the empty space around them.
0.3.8
Inventory.AddCategoryadds your own tab to the terminal, with an icon, after the game's own. File tools, guns and props under it by name;WithCategorymoves any mod item, props included, into another category. Mods that add the same category share it.- The terminal makes room for as many tabs as there are. Tabs that don't fit in one column go into more columns, and the panel widens to fit them. A category's name shrinks to fit the header.
- A category can hold more than 24 items. The game's grid stopped at 24; now it scrolls through all of them.
0.3.7
Tissue.Dissolve(limb, from, ...)eats a limb away starting at a point, such as where something went in, and spreads out from there with an uneven edge.
0.3.6
- Fixed: the game could crash when a body healed by
Tissue.Regrowwas deleted, if it had been shot. The game keeps a list of the holes in each limb and never expects them to fill, so regrown voxels are now taken off that list. Changes to a limb are also spaced a few frames apart, and the game gets lasting memory for them. Tissue.Dissolveeats flesh away from the outside in, all of it or only some organs, such as the bones.
0.3.5
Tissue.Regrowgrows destroyed and damaged flesh back on a creature or a limb, out from what's left, over a few seconds. Limbs that came off stay off.
0.3.4
Damage.Apply(collider, wounds)makes several wounds on a part in one go, which is much cheaper than one call for each.Damagecuts wound radii down to 16 voxels (Damage.MaxRadiusVoxels). A sphere that size already reaches across a whole limb, and bigger ones could take a tenth of a second each.
0.3.3
Effectsruns much faster. Its cubes are made a few at a time ahead of need instead of all at once when something explodes, lights are reused and only a few shine at once, andExplosionuses fewer, bigger cubes.