Giter Club home page Giter Club logo

pontoons's Introduction

Pontoons

This mod adds some simple building blocks that can be placed on top of liquid, making it easier to construct things on a body of water without needing to first build a piling from the ground underneath.

Wood pontoons are for building on the surface of water and steel pontoons can be placed on either water or lava.

There is also an option to add this property to wood and tree blocks to allow them to be used this way directly.

pontoons's People

Contributors

facedeer avatar louisroyer avatar minertestdude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pontoons's Issues

Improve code

Change:

local S = minetest.get_translator("pontoons")
with
local S = minetest.get_translator(minetest.get_current_modname())

And add "usagehelp", change:

description = S("Wood Pontoon"),_doc_items_longdesc = S("A hollow wooden block designed to be built on the surface of liquids."),

with

description = S("Wood Pontoon"),_doc_items_longdesc = S("A hollow wooden block designed to be built on the surface of liquids."),_doc_items_usagehelp = S("Usage Help."),

Buoyancy

I've tried the falling_extras mod and it could contain valuable code for forcing pontoons to float to the surface on placement.

I managed to create negative gravity with the mod simply by modifying this line as Wuzzy suggested was possible.

Here's how it behaved when gravity was negated. That's half the feature, right? It needs to watch for air and stop at the surface though.

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.