Giter Club home page Giter Club logo

terasology / fluid Goto Github PK

View Code? Open in Web Editor NEW
2.0 20.0 9.0 170 KB

Fluids, as opposed to liquids, relate mainly to the storage and manipulation of substances that "flow" (which can even be gas) - at least in our definition of game terms where liquids would be more for natural water, lava, and similar larger scale systems. In other words this is not meant as a water simulation type module.

Java 100.00%
voxel game gamedev terasology java game-development terasology-module

fluid's People

Contributors

4denthusiast avatar cervator avatar darkweird avatar flo avatar jdrueckert avatar josharias avatar keturn avatar ktksan avatar marcinsc avatar mjuvekar7 avatar msteiger avatar pollend avatar skaldarnar avatar xrtariq2594 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fluid's Issues

Better support for filling a bucket already partially full and/or emptying one

May belong more in JS or TTA, although it would be nice to have such utility here.

Can "top off" a portable herbalism station in TTA now and end up with a partially filled bucket. But then can't fill said bucket from a water source :-)

Probably that should be doable if you have a partially filled bucket or there should be an easy way to dump the contents of a bucket. Maybe we can standardize a click system for that. Left click dumps, right click fills? Or right click on anything other than a water source dumps/fills the target if appropriate?

The portable herbalism station has a slot in it for water while the sifting table can be filled by right clicking it while holding a full bucket.

Again pinging @Josharias and @xrtariq2594

Standardize fluid counts somehow

On testing #8 I noticed WoodAndStone uses liters in its WoodenBucket.prefab) while JoshariasSurvival uses milliliters (wow that word looks awful written out in full)

This results in Fluid listing wildly different amounts in the tooltip showing how much liquid is in a bucket. WaS gets "10000" (as it sets a bucket's capacity for 10 liters) while JS gets "1000000" (with a bucket set to 1 liter, but as 1000ml). Actual items work as expected (portable herbalism station in WaS or sifting table in JS)

We should pick one or the other, or even both but set more explicitly somehow. It may also be worth merging bucket implementations and making them hold the same amount of water. Can we put a generic/abstract bucket in Fluid then have WaS and JS delta prefab in their specific extras, like how to craft one? Or put a template in Fluid and have them extend it?

It may also be worth some thought how to display number separators (a , or . for each 000 segment) as that differs internationally. We could simply avoid it entirely until internationalization is ready (just list "10000") for modules and prefabs, at which point we could probably code in the right separator in the language definition and use it intelligently via translation.

Pinging @xrtariq2594 and @Josharias

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.