GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sofar/luscious: modifies your base landscape and modifies various nodes like dirt and leaves so that they become colored

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
textures
textures
 
 
.luacheckrc
.luacheckrc
 
 
depends.txt
depends.txt
 
 
description.txt
description.txt
 
 
init.lua
init.lua
 
 
mod.conf
mod.conf
 
 
readme.md
readme.md
 
 

Repository files navigation

luscious

Makes your map luscious.

This mod heavily modifies your base landscape and modifies various nodes like dirt and leaves so that they become colored using node coloring.

The color selection of each node is decided based on the biome data, using heat and humidity. These are mapped on a 16x16 palette where the heat is mapped along the x axis from 0-15 and the humidity along the y axis with the same range. This gives us a total of 256 possible colorizations of each node.

Manual placing of the nodes, and sapling placement is also modified to make trees growing or manual placing of nodes also result in colorized nodes in the landscape.

features

  • Player placed blocks are properly colored.
  • Saplings that grow into trees color correctly.
  • separate palette to color leaves and grass.
  • should not break with texture packs, but you'll lose texture pack specific leaf and grass textures.
  • grass spread places the correct color.
  • jungle dirt is replaced by dirt with grass.
  • jungle grass is also colored.
  • dirt with dry grass is replaced by dirt with grass.
  • dirt with snow is replaced by dirt with grass.
  • dry grass is replaced with grass.

bugs

  • leaf decay is broken due to p2 usage
  • snowy pine trees are no longer generated, only regular pines

palette

The large palette image is generated with:

  convert textures/luscious_grass_palette.png -filter point \
   -resize 256x256 textures/luscious_grass_palette_large.png

Installation

Create a new world, enable this mod. Do not use this mod in an existing world, ever.

How does this work?

The biome data is available in a special thread when mapgen emerges new map blocks. This mod captures the biome heat and humidity values right as mapgen creates them and stores them permanently for later use. This is why you need to have a luscious folder in the world folder. In this folder, we store the heat & humidity param2 values for each node that needs coloring in an X-Z map (Y is discarded as biome data does not use Y and is not 3d noise, it's only 2D).

Once the biome data is known, we can retrieve it to set the correct p2 values when a player places any of the nodes that need coloring, or when a tree grows. This is also why the biome data needs to be stored on disk - otherwise it would be lost. The storage of the biome data is reasonably small - it is stored compressed and uses about 600 bytes or so per x, z chunk, which is small compared to the actual map.sqlite size. The data increases the size of your world by about 12% or so.

About

modifies your base landscape and modifies various nodes like dirt and leaves so that they become colored

Resources

Readme
Activity

Stars

7 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.